root@fileserver ~# testparm Load smb config files from /etc/samba/smb.conf Processing section "[homes]" Processing section "[cdrom]" Processing section "[storage]" Loaded services file OK. Server role: ROLE_DOMAIN_MEMBER Press enter to see a dump of your service definitions # Global parameters [global] workgroup = LINUXAD realm = LINUXAD.ORG server string = TurnKey FileServer security = ADS obey pam restrictions = Yes pam password change = Yes passwd program = /usr/bin/passwd %u passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* . username map = /etc/samba/user.map unix password sync = Yes restrict anonymous = 2 syslog = 0 log file = /var/log/samba/samba.log max log size = 1000 add user script = /usr/sbin/useradd -m '%u' -g users -G users delete user script = /usr/sbin/userdel -r '%u' add group script = /usr/sbin/groupadd '%g' delete group script = /usr/sbin/groupdel '%g' add user to group script = /usr/sbin/usermod -G '%g' '%u' dns proxy = No wins support = Yes panic action = /usr/share/samba/panic-action %d winbind use default domain = Yes winbind trusted domains only = Yes recycle:versions = yes recycle:touch = yes recycle:exclude_dir = tmp quarantine recycle:keeptree = yes idmap config * : backend = tdb admin users = root vfs objects = recycle [homes] comment = Home Directory valid users = %S read only = No browseable = No [cdrom] comment = CD-ROM path = /media/cdrom guest ok = Yes locking = No preexec = /bin/mount /media/cdrom postexec = /bin/umount /media/cdrom [storage] comment = Public Share path = /srv/storage read only = No create mask = 0644