# Samba config file created using SWAT # from 0.0.0.0 (0.0.0.0) # Date: 2005/03/22 11:41:19 # Global parameters [global] workgroup = WAMGRDOM server string = WAM PDC Server client schannel = No obey pam restrictions = Yes pam password change = Yes passwd program = /usr/bin/passwd %u unix password sync = Yes log level = 3 log file = /var/log/samba/log.%m max log size = 50000 name resolve order = wins host bcast lmhosts time server = Yes server signing = auto deadtime = 240 socket options = SO_SNDBUF=131072 SO_RCVBUF=131072 add user script = /usr/sbin/useradd -d /home/%u -g users -G normal -s /bin/bash %u ; /usr/bin/smbpasswd -a %u delete user script = /usr/sbin/userdel %u ; /usr/smbpasswd -x %u add group script = /usr/sbin/groupadd %g delete group script = /usr/sbin/groupdel %g add user to group script = /usr/sbin/smbadduser2group.sh %u %g delete user from group script = /usr/sbin/smbdelusergroup.sh %u %g set primary group script = /usr/sbin/usermod -g %g %u add machine script = /usr/sbin/useradd -d /dev/null -g 100 -c Machine -s /bin/false -M %u ; /usr/bin/passwd -l %u ; /usr/bin/smbpasswd -a -m %u logon script = login.bat logon path = \\WAMGR\profiles\%U logon drive = h: logon home = \\WAMGR\%U domain logons = Yes os level = 65 domain master = Yes dns proxy = No wins support = Yes ldap ssl = no idmap uid = 10000-20000 idmap gid = 10000-20000 winbind use default domain = Yes admin users = @admins, root printer admin = @normal, @admins, root print command = lpr -r -P'%p' %s lpq command = lpq -P'%p' lprm command = lprm -P'%p' %j lppause command = lpc hold '%p' %j lpresume command = lpc release '%p' %j queuepause command = lpc stop '%p' queueresume command = lpc start '%p' [homes] comment = Home Directories valid users = %S read only = No create mask = 0640 directory mask = 0750 veto files = /desktop.ini/ browseable = No [printers] comment = All Printers path = /var/spool/samba printer admin = @normal, root guest ok = Yes printable = Yes browseable = No [data] comment = WAM Data Drive path = /home/data write list = @normal force group = users read only = No create mask = 0774 directory mask = 0775 veto files = /desktop.ini/ [music] comment = Music Files path = /imports/music valid users = @normal, ink read list = @normal, ink write list = @admins, root guest ok = Yes [profiles] comment = Profiles path = /home/samba/profiles force user = %U force group = admins read only = No create mask = 0600 directory mask = 0770 veto files = /desktop.ini/ [print$] comment = Print Drivers path = /home/samba/printers write list = @admins, root guest ok = Yes veto files = /desktop.ini/ [netlogon] comment = netlogon path = /home/samba/netlogon read list = @normal, @finance, @admins write list = @admins veto files = /desktop.ini/ [finance] path = /home/data/qbpro write list = @normal force user = root force group = users read only = No create mask = 0770 directory mask = 0770 csc policy = disable oplocks = No level2 oplocks = No strict locking = No