Advertisement
Guest User

smb4.conf

a guest
Apr 8th, 2016
460
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.62 KB | None | 0 0
  1. [global]
  2. server min protocol = NT1
  3. server max protocol = NT1
  4. encrypt passwords = yes
  5. dns proxy = no
  6. strict locking = no
  7. oplocks = yes
  8. deadtime = 15
  9. max log size = 51200
  10. max open files = 7548050
  11. load printers = no
  12. printing = bsd
  13. printcap name = /dev/null
  14. disable spoolss = yes
  15. getwd cache = yes
  16. guest account = nobody
  17. map to guest = Bad User
  18. obey pam restrictions = yes
  19. directory name cache size = 0
  20. kernel change notify = no
  21. panic action = /usr/local/libexec/samba/samba-backtrace
  22. nsupdate command = /usr/local/bin/samba-nsupdate -g
  23. server string = FreeNAS Server
  24. ea support = yes
  25. store dos attributes = yes
  26. lm announce = yes
  27. unix extensions = no
  28. acl allow execute always = false
  29. acl check permissions = true
  30. dos filemode = yes
  31. multicast dns register = yes
  32. domain logons = no
  33. idmap config *: backend = tdb
  34. idmap config *: range = 90000001-100000000
  35. server role = member server
  36. netbios name = JUPITER
  37. workgroup = MYCOMPANY
  38. realm = AD.MYCOMPANY.COM
  39. security = ADS
  40. client use spnego = yes
  41. cache directory = /var/tmp/.cache/.samba
  42. local master = no
  43. domain master = no
  44. preferred master = no
  45. ads dns update = yes
  46. winbind cache time = 7200
  47. winbind offline logon = yes
  48. winbind enum users = yes
  49. winbind enum groups = yes
  50. winbind nested groups = yes
  51. winbind use default domain = no
  52. winbind refresh tickets = yes
  53. idmap config MYCOMPANY: backend = ad
  54. idmap config MYCOMPANY: range = 1000-90000000
  55. idmap config MYCOMPANY: schema mode = rfc2307
  56. allow trusted domains = no
  57. client ldap sasl wrapping = plain
  58. template shell = /bin/sh
  59. template homedir = /home/%D/%U
  60. pid directory = /var/run/samba
  61. create mask = 0664
  62. directory mask = 0775
  63. client ntlmv2 auth = yes
  64. dos charset = CP437
  65. unix charset = UTF-8
  66. log level = 2
  67. idmap config MYCOMPANY: range = 1000-89999999
  68. reset on zero vc = yes
  69. force create mode = 0664
  70. force directory mode = 0775
  71. acl group control = yes
  72. nt acl support = no
  73. aio write size = 16384
  74. aio read size = 16384
  75. aio write behind = true
  76. min receivefile size = 16384
  77. #speedup tuning, remove if any issues
  78. ea support = no
  79. store dos attributes = no
  80. map archive = no
  81. map hidden = no
  82. map readonly = no
  83. map system = no
  84.  
  85.  
  86. [departments]
  87. path = /mnt/vol1/departments/Departments
  88. printable = no
  89. veto files = /.snapshot/.windows/.mac/.zfs/
  90. writeable = yes
  91. browseable = yes
  92. shadow:snapdir = .zfs/snapshot
  93. shadow:sort = desc
  94. shadow:localtime = yes
  95. shadow:format = auto-%Y%m%d.%H%M-1w
  96. shadow:snapdirseverywhere = yes
  97. vfs objects = shadow_copy2 zfs_space zfsacl
  98. hide dot files = yes
  99. guest ok = no
  100. nfs4:mode = special
  101. nfs4:acedup = merge
  102. nfs4:chown = true
  103. zfsacl:acesort = dontcare
  104. veto oplock files = /*.doc/*.docx/*.xls/*.xlsx/*.pptx/*.ppsx/*.ppt/*.pps
  105.  
  106.  
  107. [ftp]
  108. path = /mnt/vol1/ftp/ftp
  109. printable = no
  110. veto files = /.snapshot/.windows/.mac/.zfs/
  111. writeable = yes
  112. browseable = yes
  113. shadow:snapdir = .zfs/snapshot
  114. shadow:sort = desc
  115. shadow:localtime = yes
  116. shadow:format = auto-%Y%m%d.%H%M-1w
  117. shadow:snapdirseverywhere = yes
  118. vfs objects = shadow_copy2 zfs_space zfsacl aio_pthread streams_xattr
  119. hide dot files = yes
  120. guest ok = no
  121. nfs4:mode = special
  122. nfs4:acedup = merge
  123. nfs4:chown = true
  124. zfsacl:acesort = dontcare
  125.  
  126.  
  127. [public]
  128. path = /mnt/vol1/public/Public
  129. printable = no
  130. veto files = /.snapshot/.windows/.mac/.zfs/
  131. writeable = yes
  132. browseable = yes
  133. shadow:snapdir = .zfs/snapshot
  134. shadow:sort = desc
  135. shadow:localtime = yes
  136. shadow:format = auto-%Y%m%d.%H%M-1w
  137. shadow:snapdirseverywhere = yes
  138. vfs objects = shadow_copy2 zfs_space zfsacl
  139. hide dot files = yes
  140. guest ok = no
  141. nfs4:mode = special
  142. nfs4:acedup = merge
  143. nfs4:chown = true
  144. zfsacl:acesort = dontcare
  145.  
  146.  
  147. [series]
  148. path = /mnt/vol1/series/series
  149. printable = no
  150. veto files = /.snapshot/.windows/.mac/.zfs/
  151. writeable = no
  152. browseable = yes
  153. shadow:snapdir = .zfs/snapshot
  154. shadow:sort = desc
  155. shadow:localtime = yes
  156. shadow:format = auto-%Y%m%d.%H%M-1w
  157. shadow:snapdirseverywhere = yes
  158. vfs objects = shadow_copy2 zfs_space zfsacl
  159. hide dot files = yes
  160. guest ok = no
  161. nfs4:mode = special
  162. nfs4:acedup = merge
  163. nfs4:chown = true
  164. zfsacl:acesort = dontcare
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement