summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/autofs/auto.a11
-rw-r--r--examples/printer-accounting/hp5-redir3
-rw-r--r--examples/printer-accounting/lp-acct3
-rwxr-xr-xexamples/printing/smbprint2
-rw-r--r--examples/validchars/validchr.combin9792 -> 8824 bytes
5 files changed, 5 insertions, 14 deletions
diff --git a/examples/autofs/auto.a b/examples/autofs/auto.a
index fc293f5391..0fa8f4efc3 100644
--- a/examples/autofs/auto.a
+++ b/examples/autofs/auto.a
@@ -9,10 +9,7 @@ valepp -fstype=nfs,rsize=8192,wsize=8192 valepp:/
galaun -fstype=nfs,rsize=8192,wsize=8192 galaun:/
# smb-servers
-supra_andreas -fstype=smb,uuname=andreas supra:/aheinrich
-supra_cspiel -fstype=smb,uuname=cspiel supra:/cspiel
-phonon_andreas -fstype=smb,uuname=andreas,fmod=3700 phonon:/andreas
-helium_cspiel -fstype=smb,uuname=cspiel,fmod=3700 helium:/cspiel
-
-#supra_jaz -fstype=smb,user,fmod=644,dmod=755 supra:/f
-
+supra_andreas -fstype=smb,username=andreas,password=foo ://supra/aheinrich
+supra_cspiel -fstype=smb,username=cspiel ://supra/cspiel
+phonon_andreas -fstype=smb,username=andreas ://phonon/andreas
+helium_cspiel -fstype=smb,username=cspiel ://helium/cspiel
diff --git a/examples/printer-accounting/hp5-redir b/examples/printer-accounting/hp5-redir
index 98c2b72edd..ea1299068a 100644
--- a/examples/printer-accounting/hp5-redir
+++ b/examples/printer-accounting/hp5-redir
@@ -1,8 +1,5 @@
#!/usr/bin/perl
#
-# $Source: /data/src/mirror/cvs/samba/examples/printer-accounting/hp5-redir,v $
-# $Id: hp5-redir,v 1.1 1996/07/23 03:30:56 samba-bugs Exp $
-#
# 0 == stdin == docuement
# 1 == stdout == printer
# 2 == stderr == logging
diff --git a/examples/printer-accounting/lp-acct b/examples/printer-accounting/lp-acct
index 3fe45f877f..91a3def08f 100644
--- a/examples/printer-accounting/lp-acct
+++ b/examples/printer-accounting/lp-acct
@@ -1,8 +1,5 @@
#!/usr/bin/perl
#
-# $Source: /data/src/mirror/cvs/samba/examples/printer-accounting/lp-acct,v $
-# $Id: lp-acct,v 1.1 1996/07/23 03:30:56 samba-bugs Exp $
-#
# 0 == stdin == docuement
# 1 == stdout == printer
# 2 == stderr == logging
diff --git a/examples/printing/smbprint b/examples/printing/smbprint
index 9d19c26dec..5a00a2a8aa 100755
--- a/examples/printing/smbprint
+++ b/examples/printing/smbprint
@@ -87,7 +87,7 @@ echo "server $server, service $service" >> $logfile
(
# NOTE You may wish to add the line `echo translate' if you want automatic
# CR/LF translation when printing.
- if [ $TRANS ]; then
+ if [ $TRANS -eq 1 ]; then
echo translate
fi
echo "print -"
diff --git a/examples/validchars/validchr.com b/examples/validchars/validchr.com
index ce15956836..a5dbb39bed 100644
--- a/examples/validchars/validchr.com
+++ b/examples/validchars/validchr.com
Binary files differ