Skip to content

Instantly share code, notes, and snippets.

@ustreamer-01647
Created October 9, 2014 14:44
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 ustreamer-01647/46564d439dc9ab1ebeb0 to your computer and use it in GitHub Desktop.
Save ustreamer-01647/46564d439dc9ab1ebeb0 to your computer and use it in GitHub Desktop.
samba 2:3.6.6-6+deb7u4 testparm
[global]
server string = %h server
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* .
unix password sync = Yes
syslog = 0
log file = /var/log/samba/log.%m
max log size = 1000
load printers = No
dns proxy = No
panic action = /usr/share/samba/panic-action %d
idmap config * : backend = tdb
hosts allow = 127.0.0.0/8, 192.168.1.0/24
hosts deny = all
[homes]
comment = Home Directories
valid users = %S
create mask = 0700
directory mask = 0700
browseable = No
[printers]
comment = All Printers
path = /var/spool/samba
create mask = 0700
printable = Yes
print ok = Yes
browseable = No
[print$]
comment = Printer Drivers
path = /var/lib/samba/printers
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment