Advertisement
Guest User

smb.conf

a guest
Mar 15th, 2012
34
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.05 KB | None | 0 0
  1. [global]
  2. server string = %h server (Samba, Ubuntu)
  3. security = SHARE
  4. map to guest = Bad User
  5. obey pam restrictions = Yes
  6. pam password change = Yes
  7. passwd program = /usr/bin/passwd %u
  8. passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
  9. unix password sync = Yes
  10. syslog = 0
  11. log file = /var/log/samba/log.%m
  12. max log size = 1000
  13. name resolve order = wins lmhosts host bcast
  14. dns proxy = No
  15. wins support = Yes
  16. usershare allow guests = Yes
  17. panic action = /usr/share/samba/panic-action %d
  18.  
  19. [printers]
  20. comment = All Printers
  21. path = /var/spool/samba
  22. create mask = 0700
  23. printable = Yes
  24. browseable = No
  25. browsable = No
  26.  
  27. [print$]
  28. comment = Printer Drivers
  29. path = /var/lib/samba/printers
  30.  
  31. [dbiserver]
  32. path = /dbiserver/dbiserver
  33. read only = No
  34. guest ok = Yes
  35.  
  36. [archive1]
  37. path = /archive1
  38. read only = No
  39. guest ok = Yes
  40. delete readonly = Yes
  41.  
  42. [archive]
  43. path = /archive1
  44. read only = No
  45. guest ok = Yes
  46.  
  47. [archive2]
  48. path = /archive2
  49. read only = No
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement