diff options
Diffstat (limited to 'packaging/Mandrake/smb.conf')
-rw-r--r-- | packaging/Mandrake/smb.conf | 36 |
1 files changed, 20 insertions, 16 deletions
diff --git a/packaging/Mandrake/smb.conf b/packaging/Mandrake/smb.conf index 6c1c05fa52e..5f712fc1c73 100644 --- a/packaging/Mandrake/smb.conf +++ b/packaging/Mandrake/smb.conf @@ -129,10 +129,10 @@ # and gid's. winbind uid and winbind gid are the only required parameters. # # winbind uid is the range of uid's winbind can use when mapping RIDs to uid's -; winbind uid = 10000-20000 +; idmap uid = 10000-20000 # # winbind gid is the range of uid's winbind can use when mapping RIDs to gid's -; winbind gid = 10000-20000 +; idmap gid = 10000-20000 # # winbind separator is the character a user must use between their domain # name and username, defaults to "\" @@ -263,15 +263,10 @@ # Use the samba2 LDAP schema: ; passdb backend = ldapsam_compat:ldaps://ldap.mydomain.com smbpasswd guest -# Idmap settings: +# Idmap settings (set idmap uid and idmap gid above): # Idmap backend to use: ; idmap backend = ldap:ldap://ldap.mydomain.com -# This is a range of unix user-id's that samba will map non-unix RIDs to, -# such as when using Winbind -; idmap uid = 10000-20000 -; idmap gid = 10000-20000 - # LDAP configuration for Domain Controlling: # The account (dn) that samba uses to access the LDAP server # This account needs to have write access to the LDAP tree @@ -356,12 +351,14 @@ comment = Home Directories browseable = no writable = yes -# You can enable VFS recycle bin on a per share basis: -# Uncomment the next 2 lines (make sure you create a -# .recycle folder in the base of the share and ensure -# all users will have write access to it. See -# examples/VFS/recycle/REAME in samba-doc for details -; vfs object = /usr/lib/samba/vfs/recycle.so +# You can enable VFS recycle bin and on-access virus-scanning on a per +# share basis: +# Uncomment the next 2 lines (make sure you create a .recycle folder in +# the base of the share and ensure all users will have write access to it. +# For virus scanning, install samba-vscan-clamav and ensure the clamd service +# is running +; vfs objects = vscan-clamav recycle +; vscan-clamav: config-file = /etc/samba/vscan-clamav.conf # Un-comment the following and create the netlogon directory for Domain Logons ; [netlogon] @@ -373,7 +370,7 @@ #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 #location (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 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 @@ -382,11 +379,15 @@ ; path = /var/lib/samba/profiles ; browseable = no ; guest ok = yes +; writable = yes # This script can be enabled to create profile directories on the fly # You may want to turn off guest acces if you enable this, as it # hasn't been thoroughly tested. ;root preexec = PROFILE=/var/lib/samba/profiles/%u; if [ ! -e $PROFILE ]; \ ; then mkdir -pm700 $PROFILE; chown %u.%g $PROFILE;fi +# If you want read-only profiles, fake permissions so windows clients think +# they have written to the files +; vfs objects = fake_perms # NOTE: If you have a CUPS print system there is no need to # specifically define each individual printer. @@ -445,8 +446,11 @@ guest ok = No printable = Yes comment = PDF Generator (only valid users) + printing = bsd + printcap name = lpstat #print command = /usr/share/samba/scripts/print-pdf file path win_path recipient IP & - print command = /usr/share/samba/scripts/print-pdf %s ~%u //%L/%u %m %I "%J" & + print command = /usr/share/samba/scripts/print-pdf %s %H //%L/%u %m %I "%J" & + lpq command = /bin/true # This one is useful for people to share files ;[tmp] |