[global] workgroup = xxxxxxxx server string = %h server (Samba, Ubuntu) dns proxy = no log file = /var/log/samba/log.%m max log size = 1000 syslog = 0 server role = standalone server passdb backend = tdbsam obey pam restrictions = yes unix password sync = yes passwd program = /usr/bin/passwd %u passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* . pam password change = yes map to guest = bad user usershare allow guests = yes hosts allow = 192.168.xxx.0/255.255.255.0 [homes] comment = Home Directories path = /home/public/ browseable = yes read only = yes create mask = 0700 directory mask = 0700 writable = yes