Putting back the -p flag in smbclient.
[samba.git] / examples / smb.conf.default
index 9664ac1ab473e498516645f5a4972a1e2d7b0243..fba4ecca0acbf50e5ca08c9b29890fbbb263918a 100644 (file)
 # the smb.conf man page
 ;   hosts allow = 192.168.1. 192.168.2. 127.
 
-# if you want to automatically load your printer list rather
+# If you want to automatically load your printer list rather
 # than setting them up individually then you'll need this
-   printcap name = /etc/printcap
    load printers = yes
 
+# you may wish to override the location of the printcap file
+;   printcap name = /etc/printcap
+
+# on SystemV system setting printcap name to lpstat should allow
+# you to automatically obtain a printer list from the SystemV spool
+# system
+;   printcap name = lpstat
+
+# It should not be necessary to specify the print system type unless
+# it is non-standard. Currently supported print systems include:
+# bsd, sysv, plp, lprng, aix, hpux, qnx
+;   printing = bsd
+
 # Uncomment this if you want a guest account, you must add this to /etc/passwd
 # otherwise the user "nobody" is used
 ;  guest account = pcguest
 # run a specific logon batch file per workstation (machine)
 ;   logon script = %m.bat
 # run a specific logon batch file per username
-;   logon script = %u.bat
+;   logon script = %U.bat
 
 # Where to store roving profiles (only for Win95 and WinNT)
 #        %L substitutes for this servers netbios name, %U is username
 # at least one WINS Server on the network. The default is NO.
 ;   wins proxy = yes
 
+# DNS Proxy - tells Samba whether or not to try to resolve NetBIOS names
+# via DNS nslookups. The built-in default for versions 1.9.17 is yes,
+# this has been changed in version 1.9.18 to no.
+   dns proxy = no 
+
 #============================ Share Definitions ==============================
 [homes]
    comment = Home Directories
 ;   path = /usr/local/samba/lib/netlogon
 ;   guest ok = yes
 ;   writable = no
+;   share modes = no
 
 
 # Un-comment the following to provide a specific roving profile share
 
 # a service which has a different directory for each machine that connects
 # this allows you to tailor configurations to incoming machines. You could
-# also use the %u option to tailor it by user name.
+# also use the %U option to tailor it by user name.
 # The %m gets replaced with the machine name that is connecting.
 ;[pchome]
 ;  comment = PC Directories