Skip to content

Instantly share code, notes, and snippets.

@anddam
Created February 19, 2017 20:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anddam/510deb5674d9005df35aaef3a47a48a8 to your computer and use it in GitHub Desktop.
Save anddam/510deb5674d9005df35aaef3a47a48a8 to your computer and use it in GitHub Desktop.
[global]
workgroup = WORKGROUP
dns proxy = no
log file = /var/log/samba/log.%m
max log size = 1000
syslog = 0
panic action = /usr/share/samba/panic-action %d
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
[backup]
comment = Local network backup area
path = /srv/backup
browseable = yes
read only= no
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment