#======================= Global Settings ======================= [global] workgroup = workgroup server string = %h server dns proxy = no #### Debugging/Accounting #### log file = /var/log/samba/log.%m max log size = 1000 syslog = 0 panic action = /usr/share/samba/panic-action %d ####### Authentication ####### security = share encrypt passwords = true passdb backend = tdbsam obey pam restrictions = yes invalid users = root passwd program = /usr/bin/passwd %u passwd chat = *Enter\snew\sUNIX\spassword:* %n\n *Retype\snew\sUNIX\spassword:* %n\n *password\supdated\ssuccessfully* . ############ Misc ############ socket options = TCP_NODELAY #======================= Share Definitions ======================= [homes] comment = Home Directories browseable = no writable = no create mask = 0700 directory mask = 0700 valid users = %S [HDD1] guest ok = yes guest only = yes path = /home/koko/HDD1 writable = yes [HDD2] guest ok = yes guest only = yes path = /home/koko/HDD2 writable = yes