summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
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 68bd66a13f..61ee41f444 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 68bd66a13f..61ee41f444 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 3e1cec47f5..11fea21441 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 $?