Advertisement
andrum99

Sample smb.conf

Jan 9th, 2014
314
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.65 KB | None | 0 0
  1. [global]
  2. workgroup = WORKGROUP
  3. server string = %h Samba host
  4. log file = /var/log/samba/log.%m
  5. max log size = 1000
  6. syslog = 0
  7. panic action = /usr/share/samba/panic-action %d
  8. security = user
  9. encrypt passwords = true
  10. passdb backend = tdbsam
  11. unix password sync = no
  12. map to guest = never
  13. socket options = TCP_NODELAY SO_KEEPALIVE SO_RCVBUF=65536 SO_SNDBUF=65536
  14. deadtime = 15
  15.  
  16. # ========================================================================
  17. # PRINTING CONFIGURATION
  18. #
  19. # uncomment to enable print support
  20. # load printers = yes
  21. # printing = cups
  22. # printcap name = cups
  23.  
  24. # these lines are to suppress spurious log entries -
  25. # comment them out if you enable printing
  26. printing = bsd
  27. printcap name = /dev/null
  28.  
  29. #[printers]
  30. # comment = All Printers
  31. # browseable = no
  32. # path = /var/spool/samba
  33. # printable = yes
  34. # guest ok = no
  35. # read only = yes
  36. # create mask = 0700
  37.  
  38. # Windows clients look for this share name as a source of downloadable
  39. # printer drivers
  40. #[print$]
  41. # comment = Printer Drivers
  42. # path = /var/lib/samba/printers
  43. # browseable = yes
  44. # read only = yes
  45. # guest ok = no
  46. # Uncomment to allow remote administration of Windows print drivers.
  47. # You may need to replace 'lpadmin' with the name of the group your
  48. # admin users are members of.
  49. # Please note that you also need to set appropriate Unix permissions
  50. # to the drivers directory for these users to have write rights in it
  51. ; write list = root, @lpadmin
  52. #
  53. # END PRINTING CONFIGURATION
  54. # ========================================================================
  55.  
  56. [pi]
  57. path = /home/pi
  58. read only = no
  59. valid users = pi
  60. nt acl support = no
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement