[global] server string = %h server (Samba, Ubuntu) log file = /var/log/samba/log.%m max log size = 1000 panic action = /usr/share/samba/panic-action %d server role = standalone server 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 idmap config * : backend = tdb usershare allow guests = yes [ubuntu] comment = Users profiles path = /home/ubuntu guest ok = no create mask = 0600 writeable = yes directory mask = 0700