smb.conf 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. # PiSiLinux samba configuration
  2. [global]
  3. workgroup = PiSiWorkGroup
  4. server string = %h (workstation)
  5. log file = /var/log/samba/samba.log
  6. max log size = 50
  7. dns proxy = no
  8. # We are using share model security
  9. security = user
  10. map to guest = Bad User
  11. usershare allow guests = Yes
  12. usershare max shares = 40
  13. usershare owner only = False
  14. usershare path = /var/lib/samba/usershares
  15. # Sample sharings are defined here.
  16. # Modify these according to your taste.
  17. # Un-comment the following and create the
  18. # netlogon directory for Domain Logons
  19. ; [netlogon]
  20. ; comment = Network Logon Service
  21. ; path = /usr/local/samba/lib/netlogon
  22. ; guest ok = yes
  23. ; writable = no
  24. ; share modes = no
  25. # All printers are by default shared by Samba.
  26. # Use "browseable = yes" for other clients
  27. # to browse this printer share.
  28. [printers]
  29. comment = All printers
  30. path = /var/spool/samba
  31. browseable = no
  32. guest ok = no
  33. printable = yes
  34. writable = no
  35. create mode = 0700
  36. # A sample share that is enabled by default
  37. [share]
  38. comment = Samba Linux share
  39. path = /home/samba
  40. browseable = yes
  41. guest ok = yes
  42. # A sample sharing that everyone can access to.
  43. # Modify the "path" statement so that it points
  44. # to your directory you want to share.
  45. ;[public]
  46. ; path = /usr/somewhere/else/public
  47. ; public = yes
  48. ; only guest = yes
  49. ; writable = no
  50. ; printable = no