Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #======================= Global Settings =======================
- [global]
- workgroup = WORKGROUP
- server string = %h server (Samba, Ubuntu)
- dns proxy = no
- #### Debugging/Accounting ####
- log file = /var/log/samba/log.%m
- max log size = 1000
- syslog = 0
- panic action = /usr/share/samba/panic-action %d
- ####### Authentication #######
- security = user
- encrypt passwords = true
- 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
- ############ Misc ############
- usershare allow guests = no
- ########### Shares ###########
- [Shared]
- comment = shared
- path = /home/storage02/shared
- browseable = yes
- guest ok = no
- read only = no
- valid users = storage02
- create mask = 755
- directory mask = 755
Advertisement
Add Comment
Please, Sign In to add comment