Advertisement
hellsy

smb,conf

Jan 7th, 2014
134
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.69 KB | None | 0 0
  1. [global]
  2.  
  3. invalid users = root bin daemon adm lp sync shutdown halt news uucp operator portage nobody man sshd \
  4. cron nullmail named dhcp apache postgres mail postmaster memcached ftp nginx svn ntp \
  5. messagebus polkitd squid smmsp
  6.  
  7.  
  8. workgroup = WORKGROUP
  9. server string = Samba Server
  10. netbios name = CRITS
  11. security = user
  12. map to guest = bad user
  13. guest account = guest
  14.  
  15. username map = /etc/samba/smbusers
  16.  
  17. hosts allow = 192.168.2. 127. 169.254.
  18.  
  19. load printers = no
  20. printing = bsd
  21. printcap name = /dev/null
  22.  
  23. max log size = 500
  24. log level = 1 auth:3
  25.  
  26. interfaces = wifi lo
  27. bind interfaces only = yes
  28.  
  29. dns proxy = no
  30. name resolve order = wins lmhosts hosts bcast
  31.  
  32. wins support = yes
  33. wins proxy= no
  34. os level = 255
  35. preferred master = yes
  36. local master = yes
  37. domain master = yes
  38.  
  39. ;------------------------------
  40. read raw = yes
  41. write raw = yes
  42. wide links=yes
  43. getwd cache=yes
  44. stat cache = yes
  45. strict sync = no
  46. use sendfile = yes
  47. large readwrite = yes
  48. oplock contention limit = 5
  49. oplock break wait time = 100
  50. case sensitive = true
  51. strict allocate = yes
  52. max xmit = 131072
  53. dead time = 15
  54. min receivefile size = 43638
  55. aio read size = 643638
  56. aio write size = 643638
  57. aio write behind = false
  58.  
  59. ##Optimize tcp
  60. socket options = TCP_NODELAY SO_RCVBUF=262144 SO_SNDBUF=262144 IPTOS_LOWDELAY SO_KEEPALIVE
  61.  
  62. write cache size = 12826144
  63. strict allocate = yes
  64.  
  65. [share]
  66. comment = Guest share
  67. path = /home/guest/share
  68. writable = yes
  69. printable = no
  70. create mask = 0644
  71. force create mode = 0644
  72. directory mask = 0755
  73. force directory mode = 0755
  74. force group = guest
  75. valid users = guest
  76. guest ok = yes
  77. guest only = yes
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement