Guest User

Untitled

a guest
Jan 30th, 2013
285
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #======================= Global Settings =====================================
  2. [global]
  3. workgroup = DOMAIN
  4. server string = Файловый Сервер
  5. security = ADS
  6. hosts allow = 192.168. 10.10.100. 10.10.101. 127.
  7. load printers = no
  8. netbios name = dataserv
  9. log file = /var/log/samba/log.%m
  10. max log size = 500
  11. password server = *
  12. realm = DOMAIN.LOCAL
  13. dns proxy = no
  14. #template homedir = /hdd0/HomeFolders/%U
  15. defer sharing violations = false
  16. template shell = /bin/bash
  17. ## Отключение отображения принтеры и факсы
  18. disable spoolss = yes
  19. winbind uid = 10000-250000
  20. winbind gid = 10000-250000
  21. winbind use default domain = yes
  22. winbind enum users = yes
  23. winbind enum groups = yes
  24.  
  25. #============================ Share Definitions ==============================
  26.  
  27. #[homes]
  28. #comment = Личная папка %U
  29. #browseable = no
  30. #writable = yes
  31.  
  32. [HomeFolders]
  33. comment = Private Folders %D
  34. path = /hdd0/HomeFolders
  35. admin users = DOMAIN\cancer, DOMAIN\administrator
  36. vfs objects = acl_xattr recycle full_audit
  37. read only = no
  38. browsable = yes
  39. acl map full control = false
  40. inherit acls = yes
  41. map acl inherit = yes
  42. map read only = Permissions
  43. map archive = no
  44. map hidden = no
  45. map system = no
  46. nt acl support = yes
  47. acl group control = true
  48. dos filemode = yes
  49. enable privileges = yes
  50. store dos attributes = yes
  51. veto files = /*.avi/*.wav/*.wma/*.wmv/*.mp*/
  52. recycle:repository = /hdd0/trash/%S
  53. recycle:keeptree = yes
  54. recycle:touch = yes
  55. recycle:touch_mtime = yes
  56. recycle:version = yes
  57. recycle:maxsize = 0
  58. recycle:exclude = *.TMP *.tmp *.mp3 *.MP3 *.wma *.WMA *.wmv *.WMV *.avi *.AVI *.mpg *.MPG *.mpeg *.MPEG *.m3u *.M3U
  59. recycle:directory_mode = 0770
  60. recycle:versions = yes
  61. recycle:minsize = 1
  62. full_audit:prefix = share=%S; id=%U; ip=%I -->
  63. full_audit:success = unlink rmdir mkdir write rename write aio_write pwrite
  64. full_audit:failure = unlink rmdir mkdir write rename write aio_write pwrite
  65. full_audit:priority = INFO
  66.  
  67. [K]
  68. comment = Общий диск
  69. path = /hdd0/K
  70. admin users = DOMAIN\cancer, DOMAIN\administrator
  71. vfs objects = acl_xattr recycle full_audit
  72. read only = no
  73. browsable = yes
  74. acl map full control = false
  75. inherit acls = yes
  76. map acl inherit = yes
  77. map read only = Permissions
  78. map archive = no
  79. map hidden = no
  80. map system = no
  81. nt acl support = yes
  82. acl group control = true
  83. dos filemode = yes
  84. enable privileges = yes
  85. store dos attributes = yes
  86. recycle:repository = /hdd0/trash/%S
  87. recycle:keeptree = yes
  88. recycle:touch = yes
  89. recycle:touch_mtime = yes
  90. recycle:version = yes
  91. recycle:maxsize = 0
  92. recycle:exclude = *.TMP *.tmp *.mp3 *.MP3 *.wma *.WMA *.wmv *.WMV *.avi *.AVI *.mpg *.MPG *.mpeg *.MPEG *.m3u *.M3U
  93. recycle:directory_mode = 0770
  94. recycle:versions = yes
  95. recycle:minsize = 1
  96. full_audit:prefix = share=%S; id=%U; ip=%I -->
  97. full_audit:success = unlink rmdir mkdir write rename write aio_write pwrite
  98. full_audit:failure = unlink rmdir mkdir write rename write aio_write pwrite
  99. full_audit:priority = INFO
  100. root preexec = /bin/sh -c '/usr/SCRIPTS/create_user_data_subdir.sh %U'
  101.  
  102. [X]
  103. comment = Общий диск
  104. path = /hdd0/X
  105. admin users = DOMAIN\cancer, DOMAIN\administrator
  106. vfs objects = acl_xattr full_audit
  107. read only = no
  108. browsable = yes
  109. acl map full control = false
  110. inherit acls = yes
  111. map acl inherit = yes
  112. map read only = Permissions
  113. map archive = no
  114. map hidden = no
  115. map system = no
  116. nt acl support = yes
  117. acl group control = true
  118. dos filemode = yes
  119. enable privileges = yes
  120. store dos attributes = yes
  121. full_audit:prefix = share=%S; id=%U; ip=%I -->
  122. full_audit:success = unlink rmdir mkdir write rename write aio_write pwrite
  123. full_audit:failure = unlink rmdir mkdir write rename write aio_write pwrite
  124. full_audit:priority = INFO
  125. root preexec = /bin/sh -c '/usr/SCRIPTS/create_user_data_subdir.sh %U'
  126.  
  127. [Корзина]
  128. comment = Корзина
  129. path = /hdd0/trash
  130. read list = "@DOMAIN\Администраторы домена"
  131. write list = "@DOMAIN\Администраторы домена"
  132. admin users = "@DOMAIN\Администраторы домена"
  133. browseable = no
RAW Paste Data