summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2003-09-19 01:54:57 +0000
committerTim Potter <tpot@samba.org>2003-09-19 01:54:57 +0000
commit804fca6e4966eea946776ea3ad46eb6eab41385f (patch)
treec122d2a615ad1187742c4de339713a9e3ad59b9e /examples
parent3a48e4b2875a6cb1c143377d7f6fb0be50ea80d2 (diff)
downloadsamba-804fca6e4966eea946776ea3ad46eb6eab41385f.tar.gz
The -P option to smbclient no longer works - update all smbprint scripts to
remove it. Closes bug #473. (This used to be commit a9f22ed9d715e4acf529ff873b0d99d4b29c5f1b)
Diffstat (limited to 'examples')
-rwxr-xr-xexamples/printing/smbprint1
-rw-r--r--examples/printing/smbprint-new.sh1
-rw-r--r--examples/printing/smbprint.sysv2
3 files changed, 1 insertions, 3 deletions
diff --git a/examples/printing/smbprint b/examples/printing/smbprint
index 68bd66a13fe..61ee41f4440 100755
--- a/examples/printing/smbprint
+++ b/examples/printing/smbprint
@@ -140,6 +140,5 @@ $smbclient \
$IP \
$debugargs \
-U $username \
- -P \
-c "$command"
#
diff --git a/examples/printing/smbprint-new.sh b/examples/printing/smbprint-new.sh
index 68bd66a13fe..61ee41f4440 100644
--- a/examples/printing/smbprint-new.sh
+++ b/examples/printing/smbprint-new.sh
@@ -140,6 +140,5 @@ $smbclient \
$IP \
$debugargs \
-U $username \
- -P \
-c "$command"
#
diff --git a/examples/printing/smbprint.sysv b/examples/printing/smbprint.sysv
index 3e1cec47f50..11fea21441b 100644
--- a/examples/printing/smbprint.sysv
+++ b/examples/printing/smbprint.sysv
@@ -47,6 +47,6 @@ password=""
echo translate
echo "print -"
cat $*
-) | /opt/samba/smbclient "\\\\$server\\$service" $password -N -P > /dev/null
+) | /opt/samba/smbclient "\\\\$server\\$service" $password -N > /dev/null
exit $?