Advertisement
fbcyborg

smb.conf

Jun 11th, 2012
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.95 KB | None | 0 0
  1. [global]
  2. netbios name = GentooLinux
  3. workgroup = Casa
  4. server string = Samba Server
  5. printcap name = cups
  6. printing = cups
  7. cups options = "raw"
  8. use client driver = no
  9. socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
  10. interfaces = 127.0.0.0/8 192.168.1.0/24 192.168.139.0/24
  11. bind interfaces only = yes
  12. hosts allow = 127.0.0.0/8 192.168.1.0/24 192.168.139.0/24
  13. security = user
  14. encrypt passwords = yes
  15. guest ok = yes
  16. null passwords = no
  17. hide unreadable = yes
  18. hide dot files = yes
  19.  
  20. #QUESTO IN REALTÀ NON LO USO
  21. [printers]
  22. comment = All Printers
  23. browseable = no
  24. writable = no
  25. printable = yes
  26. public = yes
  27. guest ok = yes
  28. path = /var/spool/samba
  29.  
  30. #tutte le condivisioni hanno la
  31. #seguente configurazione
  32. [public]
  33. path = /mnt/dati/public
  34. valid users = flavio
  35. admin users = flavio
  36. force user = flavio
  37. force group = users
  38. writeable = Yes
  39. create mask = 0774
  40. directory mask = 0775
  41. inherit permissions = Yes
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement