Advertisement
soder

Untitled

Jun 22nd, 2014
192
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.82 KB | None | 0 0
  1. ################################################################################
  2. # This file is part of OpenELEC - http://www.openelec.tv
  3. # Copyright (C) 2009-2014 Stephan Raue (stephan@openelec.tv)
  4. #
  5. # OpenELEC is free software: you can redistribute it and/or modify
  6. # it under the terms of the GNU General Public License as published by
  7. # the Free Software Foundation, either version 2 of the License, or
  8. # (at your option) any later version.
  9. #
  10. # OpenELEC is distributed in the hope that it will be useful,
  11. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  13. # GNU General Public License for more details.
  14. #
  15. # You should have received a copy of the GNU General Public License
  16. # along with OpenELEC. If not, see <http://www.gnu.org/licenses/>.
  17. ################################################################################
  18. # samba.conf
  19.  
  20. # This configuration file allows you to customize the samba shares
  21. # available from your machine
  22.  
  23. [global]
  24. server string = OpenELEC
  25. workgroup = GHETTOT
  26. netbios name = %h
  27. security = share
  28. guest account = root
  29. socket options = TCP_NODELAY IPTOS_LOWDELAY SO_RCVBUF=65536 SO_SNDBUF=65536
  30. smb ports = 445
  31. max protocol = SMB2
  32. min receivefile size = 16384
  33. deadtime = 30
  34. os level = 20
  35. mangled names = no
  36. syslog only = yes
  37. syslog = 2
  38. name resolve order = lmhosts wins bcast host
  39. preferred master = yes
  40. domain master = yes
  41. local master = yes
  42. printcap name = /dev/null
  43. load printers = no
  44. browseable = yes
  45. writeable = yes
  46. printable = no
  47. encrypt passwords = true
  48. enable core files = no
  49. passdb backend = smbpasswd
  50. smb encrypt = disabled
  51. use sendfile = yes
  52.  
  53.  
  54. # Using the following configurations as a template allows you to add
  55. # writable shares of disks and paths under /storage
  56.  
  57. [Update]
  58. path = /storage/.update
  59. available = yes
  60. browsable = yes
  61. public = yes
  62. writable = yes
  63. root preexec = mkdir -p /storage/.update
  64.  
  65. #[Videos]
  66. # path = /storage/videos
  67. # available = yes
  68. # browsable = yes
  69. # public = yes
  70. # writable = yes
  71. # root preexec = mkdir -p /storage/videos
  72.  
  73. #[Music]
  74. # path = /storage/music
  75. # available = yes
  76. # browsable = yes
  77. # public = yes
  78. # writable = yes
  79. # root preexec = mkdir -p /storage/music
  80.  
  81. #[TV Shows]
  82. # path = /storage/tvshows
  83. # available = yes
  84. # browsable = yes
  85. # public = yes
  86. # writable = yes
  87. # root preexec = mkdir -p /storage/tvshows
  88.  
  89. #[Recordings]
  90. # path = /storage/recordings
  91. # available = yes
  92. # browsable = yes
  93. # public = yes
  94. # writable = yes
  95. # root preexec = mkdir -p /storage/recordings
  96.  
  97. [Downloads]
  98. path = /storage/downloads
  99. available = yes
  100. browsable = yes
  101. public = yes
  102. writable = yes
  103. root preexec = mkdir -p /storage/downloads
  104.  
  105. #[Pictures]
  106. # path = /storage/pictures
  107. # available = yes
  108. # browsable = yes
  109. # public = yes
  110. # writable = yes
  111. # root preexec = mkdir -p /storage/pictures
  112.  
  113. #[Emulators]
  114. # path = /storage/emulators/mame/roms
  115. # available = yes
  116. # browsable = yes
  117. # public = yes
  118. # writable = yes
  119. # root preexec = mkdir -p /storage/emulators/mame/roms
  120.  
  121. [Configfiles]
  122. path = /storage/.config
  123. available = yes
  124. browsable = yes
  125. public = yes
  126. writable = yes
  127. root preexec = mkdir -p /storage/.config
  128.  
  129. [Userdata]
  130. path = /storage/.xbmc/userdata
  131. available = yes
  132. browsable = yes
  133. public = yes
  134. writable = yes
  135. root preexec = mkdir -p /storage/.xbmc/userdata
  136.  
  137. [Screenshots]
  138. path = /storage/screenshots
  139. available = yes
  140. browsable = yes
  141. public = yes
  142. writable = yes
  143. root preexec = mkdir -p /storage/screenshots
  144.  
  145. [ftp]
  146. path = /storage/ftp
  147. available = yes
  148. browsable = yes
  149. public = yes
  150. writable = yes
  151. # root preexec = mkdir -p /media
  152.  
  153. [Media]
  154. path = /media
  155. available = yes
  156. browsable = yes
  157. public = yes
  158. writable = yes
  159. root preexec = mkdir -p /media
  160.  
  161. [Logfiles]
  162. path = /storage/logfiles
  163. available = yes
  164. browsable = yes
  165. public = yes
  166. writable = yes
  167. root preexec = mkdir -p /storage/logfiles
  168. root preexec = createlog
  169.  
  170. [Backup]
  171. path = /storage/backup
  172. available = yes
  173. browsable = yes
  174. public = yes
  175. writable = yes
  176. root preexec = mkdir -p /storage/backup
  177.  
  178. [hdd1]
  179. path = /storage/hdd1
  180. available = yes
  181. browsable = yes
  182. public = yes
  183. writable = yes
  184. # root preexec = mkdir -p /media
  185.  
  186. [hdd2]
  187. path = /media/hdd2
  188. available = yes
  189. browsable = yes
  190. public = yes
  191. writable = yes
  192. # root preexec = mkdir -p /media
  193.  
  194. [hdd3]
  195. path = /media/hdd3
  196. available = yes
  197. browsable = yes
  198. public = yes
  199. writable = yes
  200. # root preexec = mkdir -p /media
  201.  
  202. [hdd4]
  203. path = /media/hdd4
  204. available = yes
  205. browsable = yes
  206. public = yes
  207. writable = yes
  208. # root preexec = mkdir -p /media
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement