Guest User

Untitled

a guest
Jun 27th, 2012
32
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.13 KB | None | 0 0
  1. #
  2. workgroup = MARUTO01
  3. server string = ServerCentOS
  4. username map = /etc/samba/smbuser
  5. ; netbios name = MYSERVER
  6.  
  7. ; interfaces = lo eth0 192.168.1.2/24 192.168.2.2/24
  8. ; hosts allow = 127. 192.168.1. 192.168.2.
  9.  
  10. # --------------------------- Logging Options -----------------------------
  11.  
  12.  
  13. # logs split per machine
  14. log file = /var/log/samba/log.%m
  15. # max 50KB per log file, then rotate
  16. max log size = 50
  17.  
  18. # ----------------------- Standalone Server Options ------------------------
  19. tion.
  20.  
  21. security = user
  22. passdb backend = tdbsam
  23.  
  24.  
  25.  
  26.  
  27. # ----------------------- Browser Control Options ----------------------------
  28. ; local master = yes
  29. ; os level = 64
  30. ; preferred master = yes
  31.  
  32. #----------------------------- Name Resolution -------------------------------
  33.  
  34. ; wins support = yes
  35. ; wins server = w.x.y.z
  36. ; wins proxy = yes
  37.  
  38. ; dns proxy = yes
  39.  
  40. # --------------------------- Printing Options -----------------------------
  41.  
  42. load printers = yes
  43. cups options = raw
  44.  
  45. ; printcap name = /etc/printcap
  46. #obtain list of printers automatically on SystemV
  47. ; printcap name = lpstat
  48. ; printing = cups
  49.  
  50. # --------------------------- Filesystem Options ---------------------------
  51.  
  52. ; map archive = yes
  53. ; map hidden = yes
  54. ; map read only = no
  55. ; map system = no
  56. ; store dos attributes = yes
  57.  
  58.  
  59. #============================ Share Definitions ==============================
  60.  
  61. [MARUTO]
  62. path = /home/Maruto
  63. comment = Home Directories
  64. browseable = yes
  65. writable = yes
  66. public = yes
  67. guest ok = yes
  68. guest only = yes
  69. ; valid users = %S
  70. ; valid users = MARUTO\%S
  71. [SERVIS]
  72. path = /home/Maruto/SERVIS
  73. comment = Servis
  74. browseable = yes
  75. writable = yes
  76. public = yes
  77. guest ok = yes
  78. guest only = yes
  79. ; valid users = %S
  80. ; valid users = MARUTO\%S
  81. [Akce]
  82. path = /home/Maruto/DATA/Akce
  83. comment = Akce
  84. browseable = yes
  85. writable = yes
  86. public = yes
  87. create mask = 0770
  88. directory mask = 0770
  89. guest ok = yes
  90. guest only = yes
  91. ; valid users = %S
  92. ; valid users = MARUTO\%S
  93. [SAMSUNG]
  94. path = /home/Maruto/SAMSUNG
  95. comment = Akce
  96. browseable = yes
  97. writable = yes
  98. public = yes
  99. guest ok = yes%S
  100. guest only = yes
  101. ; valid users = %S
  102. ; valid users = MARUTO\%S
  103. [MANAGER]
  104. path = /home/Maruto/DATA/MANAGER
  105. comment = Akce
  106. browseable = yes
  107. writable = yes
  108. public = yes
  109. guest ok = yes
  110. guest only = yes
  111. ; valid users = %S
  112. ; valid users = MARUTO\%S
  113. [ULOZISTE]
  114. path = /home/Maruto/ULOZISTE
  115. comment = Akce
  116. browseable = yes
  117. writable = yes
  118. public = yes
  119. create mask = 0770
  120. directory mask = 0770
  121. guest ok = yes
  122. guest only = yes
  123. ; valid users = root
  124. ; write list = MARUTO\%S
  125. [camera]
  126. path = /home/Maruto/camera
  127. comment = Akce
  128. browseable = yes
  129. writable = yes
  130. public = yes
  131. guest ok = yes
  132. guest only = yes
  133. ; valid users = %S
  134. ; valid users = MARUTO\%S
  135. [ZalohaData]
  136. path = /home/Maruto/DATA/ZalohaData
  137. comment = Akce
  138. browseable = yes
  139. writable = yes
  140. public = yes
  141. guest ok = yes
  142. guest only = yes
  143. ; valid users = %S
  144. ; valid users = MARUTO\%S
  145. [Uctarna]
  146. path = /home/Maruto/DATA/Dokumety/Uctarna
  147. comment = Akce
  148. browseable = yes
  149. writable = yes
  150. public = yes
  151. guest ok = yes
  152. guest only = yes
  153. ; valid users = %S
  154. ; valid users = MARUTO\%S
  155. [printers]
  156. comment = All Printers
  157. path = /var/spool/samba
  158. browseable = yes
  159. guest ok = yes
  160. writable = no
  161. printable = yes
  162.  
  163. ; [netlogon]
  164. ; comment = Network Logon Service
  165. ; path = /var/lib/samba/netlogon
  166. ; guest ok = yes
  167. ; writable = no
  168. ; share modes = no
  169.  
  170.  
  171. ; [Profiles]
  172. ; path = /var/lib/samba/profiles
  173. ; browseable = yes
  174. ; guest ok = yes
  175.  
  176.  
  177. ; [public]
  178. ; comment = Public Stuff
  179. ; path = /home/Maruto
  180. ; admin users = root
  181. ; public = yes
  182. ; writable = yes
  183. ; printable = no
  184. ; write list = +staff
  185. ; creat mask = 0765
Advertisement
Add Comment
Please, Sign In to add comment