Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [global]
- workgroup = WORKGROUP
- log file = /var/log/samba/log.%m
- max log size = 1000
- logging = file
- 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
- map to guest = bad user
- usershare allow guests = yes
- [homes]
- comment = Home Directories
- browseable = no
- read only = yes
- create mask = 0700
- directory mask = 0700
- valid users = %S
- [sambashare]
- comment = Directorio compartido
- browseable = yes
- writable = yes
- path = /var/samba
- # create mask = 0700
- # directory mask = 0700
- valid users = sergio
- [printers]
- comment = All Printers
- browseable = no
- path = /var/tmp
- printable = yes
- guest ok = no
- read only = yes
- create mask = 0700
- [print$]
- comment = Printer Drivers
- path = /var/lib/samba/printers
- browseable = yes
- read only = yes
- guest ok = no
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement