Guest User

Untitled

a guest
Jan 13th, 2014
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.98 KB | None | 0 0
  1. #======================= Global Settings =======================
  2.  
  3. [global]
  4.  
  5. workgroup = WORKGROUP
  6. server string = %h server (Samba, Ubuntu)
  7. dns proxy = no
  8.  
  9. #### Debugging/Accounting ####
  10.  
  11. log file = /var/log/samba/log.%m
  12. max log size = 1000
  13. syslog = 0
  14. panic action = /usr/share/samba/panic-action %d
  15.  
  16. ####### Authentication #######
  17.  
  18. security = user
  19. encrypt passwords = true
  20. passdb backend = tdbsam
  21. obey pam restrictions = yes
  22. unix password sync = yes
  23. passwd program = /usr/bin/passwd %u
  24. passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
  25. pam password change = yes
  26. map to guest = bad user
  27.  
  28. ############ Misc ############
  29.  
  30. usershare allow guests = no
  31.  
  32. ########### Shares ###########
  33.  
  34. [Shared]
  35. comment = shared
  36. path = /home/storage02/shared
  37. browseable = yes
  38. guest ok = no
  39. read only = no
  40. valid users = storage02
  41. create mask = 755
  42. directory mask = 755
Advertisement
Add Comment
Please, Sign In to add comment