Guest User

Untitled

a guest
Mar 23rd, 2014
121
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.27 KB | None | 0 0
  1. # samba.conf
  2.  
  3. # This configuration file allows you to customize the samba shares
  4. # available from your machine
  5.  
  6. [global]
  7. server string = OpenELEC
  8. workgroup = WORKGROUP
  9. netbios name = %h
  10. security = share
  11. guest account = root
  12. socket options = TCP_NODELAY IPTOS_LOWDELAY SO_RCVBUF=65536 SO_SNDBUF=65536
  13. smb ports = 445
  14. max protocol = SMB2
  15. min receivefile size = 16384
  16. deadtime = 30
  17. os level = 20
  18. mangled names = no
  19. syslog only = yes
  20. syslog = 2
  21. name resolve order = lmhosts wins bcast host
  22.  
  23.  
  24.  
  25.  
  26. # Using the following configurations as a template allows you to add
  27. # writable shares of disks and paths under /storage
  28.  
  29. [Update]
  30. path = /storage/.update
  31. available = yes
  32. browsable = yes
  33. public = yes
  34. writable = yes
  35. root preexec = mkdir -p /storage/.update
  36.  
  37. [Videos]
  38. path = /storage/videos
  39. available = yes
  40. browsable = yes
  41. public = yes
  42. writable = yes
  43. root preexec = mkdir -p /storage/videos
  44.  
  45. [Music]
  46. path = /storage/music
  47. available = yes
  48. browsable = yes
  49. public = yes
  50. writable = yes
  51. root preexec = mkdir -p /storage/music
  52.  
  53. [TV Shows]
  54. path = /storage/tvshows
  55. available = yes
  56. browsable = yes
  57. public = yes
  58. writable = yes
  59. root preexec = mkdir -p /storage/tvshows
  60.  
  61. [Recordings]
  62. path = /storage/recordings
  63. available = yes
  64. browsable = yes
  65. public = yes
  66. writable = yes
  67. root preexec = mkdir -p /storage/recordings
  68.  
  69. [Downloads]
  70. path = /storage/downloads
  71. available = yes
  72. browsable = yes
  73. public = yes
  74. writable = yes
  75. root preexec = mkdir -p /storage/downloads
  76.  
  77. [Pictures]
  78. path = /storage/pictures
  79. available = yes
  80. browsable = yes
  81. public = yes
  82. writable = yes
  83. root preexec = mkdir -p /storage/pictures
  84.  
  85. [Emulators]
  86. path = /storage/emulators/mame/roms
  87. available = yes
  88. browsable = yes
  89. public = yes
  90. writable = yes
  91. root preexec = mkdir -p /storage/emulators/mame/roms
  92.  
  93. [Configfiles]
  94. path = /storage/.config
  95. available = yes
  96. browsable = yes
  97. public = yes
  98. writable = yes
  99. root preexec = mkdir -p /storage/.config
  100.  
  101. [Userdata]
  102. path = /storage/.xbmc/userdata
  103. available = yes
  104. browsable = yes
  105. public = yes
  106. writable = yes
  107. root preexec = mkdir -p /storage/.xbmc/userdata
  108.  
  109. [Screenshots]
  110. path = /storage/screenshots
  111. available = yes
  112. browsable = yes
  113. public = yes
  114. writable = yes
  115. root preexec = mkdir -p /storage/screenshots
  116.  
  117. [Media]
  118. path = /media
  119. available = yes
  120. browsable = yes
  121. public = yes
  122. writable = yes
  123. root preexec = mkdir -p /media
  124.  
  125. [Logfiles]
  126. path = /storage/logfiles
  127. available = yes
  128. browsable = yes
  129. public = yes
  130. writable = yes
  131. root preexec = mkdir -p /storage/logfiles
  132. root preexec = createlog
  133.  
  134. [XBMC]
  135. path = /storage/.xbmc
  136. available = yes
  137. browsable = yes
  138. public = yes
  139. writable = yes
  140. # samba.conf
  141.  
  142. # This configuration file allows you to customize the samba shares
  143. # available from your machine
  144.  
  145. [global]
  146. server string = OpenELEC
  147. workgroup = WORKGROUP
  148. netbios name = %h
  149. security = share
  150. guest account = root
  151. socket options = TCP_NODELAY IPTOS_LOWDELAY SO_RCVBUF=65536 SO_SNDBUF=65536
  152. smb ports = 445
  153. max protocol = SMB2
  154. min receivefile size = 16384
  155. deadtime = 30
  156. os level = 20
  157. mangled names = no
  158. syslog only = yes
  159. syslog = 2
  160. name resolve order = lmhosts wins bcast host
  161.  
  162.  
  163.  
  164.  
  165. # Using the following configurations as a template allows you to add
  166. # writable shares of disks and paths under /storage
  167.  
  168. [Update]
  169. path = /storage/.update
  170. available = yes
  171. browsable = yes
  172. public = yes
  173. writable = yes
  174. root preexec = mkdir -p /storage/.update
  175.  
  176. [Videos]
  177. path = /storage/videos
  178. available = yes
  179. browsable = yes
  180. public = yes
  181. writable = yes
  182. root preexec = mkdir -p /storage/videos
  183.  
  184. [Music]
  185. path = /storage/music
  186. available = yes
  187. browsable = yes
  188. public = yes
  189. writable = yes
  190. root preexec = mkdir -p /storage/music
  191.  
  192. [TV Shows]
  193. path = /storage/tvshows
  194. available = yes
  195. browsable = yes
  196. public = yes
  197. writable = yes
  198. root preexec = mkdir -p /storage/tvshows
  199.  
  200. [Recordings]
  201. path = /storage/recordings
  202. available = yes
  203. browsable = yes
  204. public = yes
  205. writable = yes
  206. root preexec = mkdir -p /storage/recordings
  207.  
  208. [Downloads]
  209. path = /storage/downloads
  210. available = yes
  211. browsable = yes
  212. public = yes
  213. writable = yes
  214. root preexec = mkdir -p /storage/downloads
  215.  
  216. [Pictures]
  217. path = /storage/pictures
  218. available = yes
  219. browsable = yes
  220. public = yes
  221. writable = yes
  222. root preexec = mkdir -p /storage/pictures
  223.  
  224. [Emulators]
  225. path = /storage/emulators/mame/roms
  226. available = yes
  227. browsable = yes
  228. public = yes
  229. writable = yes
  230. root preexec = mkdir -p /storage/emulators/mame/roms
  231.  
  232. [Configfiles]
  233. path = /storage/.config
  234. available = yes
  235. browsable = yes
  236. public = yes
  237. writable = yes
  238. root preexec = mkdir -p /storage/.config
  239.  
  240. [Userdata]
  241. path = /storage/.xbmc/userdata
  242. available = yes
  243. browsable = yes
  244. public = yes
  245. writable = yes
  246. root preexec = mkdir -p /storage/.xbmc/userdata
  247.  
  248. [Screenshots]
  249. path = /storage/screenshots
  250. available = yes
  251. browsable = yes
  252. public = yes
  253. writable = yes
  254. root preexec = mkdir -p /storage/screenshots
  255.  
  256. [Media]
  257. path = /media
  258. available = yes
  259. browsable = yes
  260. public = yes
  261. writable = yes
  262. root preexec = mkdir -p /media
  263.  
  264. [Logfiles]
  265. path = /storage/logfiles
  266. available = yes
  267. browsable = yes
  268. public = yes
  269. writable = yes
  270. root preexec = mkdir -p /storage/logfiles
  271. root preexec = createlog
  272.  
  273. [XBMC]
  274. path = /storage/.xbmc
  275. available = yes
  276. browsable = yes
  277. public = yes
  278. writable = yes
  279. root preexec = mkdir -p /storage/.xbmc
Advertisement
Add Comment
Please, Sign In to add comment