Advertisement
TerAnYu

Untitled

Dec 9th, 2015
153
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.04 KB | None | 0 0
  1. [global]
  2. log file = /var/log/samba/log.%m
  3. log level = 3
  4. panic action = /usr/share/samba/panic-action %d
  5.  
  6. smb ports = 139 445
  7. deadtime = 10
  8. max protocol = NT1
  9.  
  10. encrypt passwords = true
  11.  
  12. idmap config NT AUTHORITY : base_rid = 0
  13. idmap config NT AUTHORITY : range = 1200000-1299999
  14. idmap config NT AUTHORITY : backend = rid
  15.  
  16. idmap config BUILTIN : base_rid = 0
  17. idmap config BUILTIN : range = 1000000-1099999
  18. idmap config BUILTIN : backend = rid
  19.  
  20. idmap config MOVAVI : base_rid = 50000
  21. idmap config MOVAVI : range = 50000-599999
  22. idmap config MOVAVI : backend = rid
  23. idmap config MOVAVI : default = yes
  24.  
  25. idmap config * : range = 1300000-1999999
  26. idmap config * : backend = rid
  27.  
  28. # Use settings from AD for login shell and home directory
  29. winbind nss info = rfc2307
  30.  
  31. auth methods = winbind
  32. name resolve order = hosts bcast lmhosts
  33. case sensitive = no
  34. dns proxy = no
  35. server string = "Share Server 12Tb"
  36. netbios name = share
  37. map to guest = bad user
  38. obey pam restrictions = yes
  39. unix password sync = yes
  40. usershare allow guests = yes
  41. pam password change = yes
  42.  
  43. usershare path = /var/lib/samba/usershares
  44. password server = *
  45. realm = MOVAVI.SRV
  46. client use spnego = yes
  47. client signing = yes
  48. client ntlmv2 auth = yes
  49. workgroup = MOVAVI
  50. debug level = 2
  51. # security = ads
  52. security = domain
  53.  
  54. dos charset = 866
  55. unix charset = UTF-8
  56. display charset = UTF-8
  57.  
  58. max log size = 50
  59. wins server = movavi.srv
  60. follow symlinks = yes
  61. winbind enum groups = yes
  62. winbind enum users = yes
  63. winbind use default domain = yes
  64. winbind refresh tickets = yes
  65. domain master = no
  66. local master = no
  67. preferred master = no
  68. os level = 0
  69. domain logons = no
  70. template homedir = /home/%U
  71. template shell = /bin/bash
  72.  
  73. load printers = no
  74. show add printer wizard = no
  75. printcap name = /dev/null
  76. disable spoolss = yes
  77.  
  78. posix locking = no
  79. kernel oplocks = no
  80. oplocks = no
  81. level2 oplocks = no
  82.  
  83. veto files = /.DS_Store/._.DS_Store/._*/._.TemporaryItems/.TemporaryItems/thumbs.db
  84. delete veto files = yes
  85. hide files = /$RECYCLE.BIN/desktop.ini/lost+found/Thumbs.db/
  86.  
  87.  
  88. store dos attributes = yes
  89. acl compatibility = auto
  90. nt acl support = yes
  91. map acl inherit = yes
  92.  
  93. map archive = no
  94. map system = no
  95. map hidden = no
  96. map readonly = no
  97.  
  98. ### Guest no passwd ###
  99. [support_uploads]
  100. comment = files for support
  101. path = /mnt/share/smb/support_uploads
  102. browseable = yes
  103. read only = no
  104. guest ok = yes
  105. create mask = 0666
  106. directory mask = 0777
  107.  
  108. [tmp]
  109. comment = share
  110. path = /mnt/share/smb/share
  111. browseable = yes
  112. read only = no
  113. guest ok = yes
  114. create mask = 0666
  115. directory mask = 0777
  116.  
  117. [arch]
  118. comment = build archive
  119. path = /mnt/share/smb/arch
  120. browseable = yes
  121. read only = no
  122. guest ok = yes
  123. create mask = 0666
  124. directory mask = 0777
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement