Advertisement
Guest User

smb.conf

a guest
Jun 19th, 2014
35
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.12 KB | None | 0 0
  1. [global]
  2.  
  3. ## Browsing/Identification ###
  4.  
  5. workgroup = SINKAMK
  6. server string = %h server (Samba, Ubuntu)
  7.  
  8. wins support = yes
  9. dns proxy = no
  10.  
  11. #### Networking ####
  12.  
  13. #### Debugging/Accounting ####
  14.  
  15. log file = /var/log/samba/log.%m
  16. max log size = 1000
  17. syslog = 0
  18. panic action = /usr/share/samba/panic-action %d
  19.  
  20.  
  21. ####### Authentication #######
  22.  
  23. server role = standalone server
  24. passdb backend = tdbsam
  25. obey pam restrictions = yes
  26.  
  27. unix password sync = yes
  28.  
  29. passwd program = /usr/bin/passwd %u
  30. passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
  31.  
  32. pam password change = yes
  33.  
  34. map to guest = bad user
  35.  
  36. security = user
  37.  
  38. ########## Domains ###########
  39.  
  40. ############ Misc ############
  41.  
  42. usershare allow guests = yes
  43.  
  44. #======================= Share Definitions =======================
  45.  
  46. [homes]
  47. comment = Home Directories
  48. browseable = yes
  49. read only = no
  50. valid users = %S
  51.  
  52. [Public]
  53. comment = Public
  54. path = /files/public
  55. browseable = yes
  56. read only = no
  57. guest ok = yes
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement