Advertisement
digrouz

/etc/samba/smb.conf

Apr 17th, 2012
983
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.30 KB | None | 0 0
  1. [global]
  2. workgroup = HOME
  3. server string = NASSamba Server %v
  4. printcap name = /dev/null
  5. load printers = no
  6. printable = no
  7. printing = bsd
  8. interfaces = lo eth0 eth1
  9. bind interfaces only = yes
  10. hosts allow = 127.0.0.1 192.168.0.0/24
  11. hosts deny = 0.0.0.0/0
  12. netbios name = NAS
  13. security= share
  14. guest ok = yes
  15. log file = /var/log/samba/log.%m
  16. log level= 1
  17. max log size = 50
  18. local master = no
  19. #dos charset = 1255
  20. dos charset = CP850
  21. unix charset = UTF-8
  22. display charset = UTF-8
  23. aio read size    = 65536
  24. aio write size   = 65536
  25. aio write behind = true
  26. socket options = SO_KEEPALIVE TCP_NODELAY IPTOS_LOWDELAY SO_RCVBUF=65536 SO_SNDBUF=65536
  27. min receivefile size = 131072
  28. max protocol = smb2
  29. use sendfile = yes
  30. preferred master = yes
  31. strict sync = no
  32. sync always = no
  33. lanman auth = yes
  34. client ntlmv2 auth = yes
  35. client lanman auth = yes
  36. client plaintext auth = yes
  37. client use spnego principal = no
  38. send spnego principal = no
  39. use spnego = false
  40.  
  41. [Music]
  42.         comment = Music folder
  43.         path = /mnt/data/Music
  44.         valid users = digrouz
  45.         guest ok = no
  46.         browseable = yes
  47.         writable = yes
  48.  
  49. [Dumps]
  50.         comment = Backup folder
  51.         path = /mnt/data/Dumps
  52.         valid users = digrouz
  53.         guest ok = no
  54.         browseable = yes
  55.         writable = yes
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement