sync with SAMBA_2_2
[samba.git] / packaging / Mandrake / smb.conf
index db0528d8aa8fc6139cad6df3c69866dbcc95176a..a14e90ec16b2758da8dc71f23dc74b4b6836f68e 100644 (file)
@@ -79,7 +79,7 @@
 # ENCRYPTION.txt, Win95.txt and WinNT.txt in the Samba documentation.
 # Do not enable this option unless you have read those documents
 ;  encrypt passwords = yes
-;  smb passwd file = /etc/smbpasswd
+;  smb passwd file = /etc/samba/private/smbpasswd
 
 # The following are needed to allow password changing from Windows to
 # update the Linux sytsem password also.
 # Un-comment the following and create the netlogon directory for Domain Logons
 ; [netlogon]
 ;   comment = Network Logon Service
-;   path = /home/samba/netlogon
+;   path = /var/lib/samba/netlogon
 ;   guest ok = yes
 ;   writable = no
 ;   share modes = no
 
+#Uncomment the following 2 lines if you would like your login scripts to
+#be created dynamically by ntlogon (check that you have it in the correct
+#locationn (the default of the ntlogon rpm available in contribs)
+;root preexec = /usr/bin/ntlogon -u %U -g %G -o %a -d /var/lib/samba/netlogon
+;root postexec = rm -f /var/lib/samba/netlogon/%U.bat
 
 # Un-comment the following to provide a specific roving profile share
 # the default is to use the user's home directory
 ;[Profiles]
-;    path = /home/samba/profiles
+;    path = /var/lib/samba/profiles
 ;    browseable = no
 ;    guest ok = yes
 
 [printers]
    comment = All Printers
    path = /var/spool/samba
-   browseable = yes
+   browseable = no
 # to allow user 'guest account' to print.
    guest ok = yes
    writable = no