Advertisement
Guest User

Untitled

a guest
Jun 2nd, 2017
784
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.99 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 = Zotac
  25. workgroup = WORKGROUP
  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 = auto
  40. domain master = auto
  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
  115. # available = yes
  116. # browsable = yes
  117. # public = yes
  118. # writable = yes
  119. # root preexec = mkdir -p /storage/emulators
  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/.kodi/userdata
  131. available = yes
  132. browsable = yes
  133. public = yes
  134. writable = yes
  135. root preexec = mkdir -p /storage/.kodi/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. #[Logfiles]
  146. # path = /storage/logfiles
  147. # available = yes
  148. # browsable = yes
  149. # public = yes
  150. # writable = yes
  151. # root preexec = mkdir -p /storage/logfiles
  152. # root preexec = createlog
  153.  
  154. #[Backup]
  155. # path = /storage/backup
  156. # available = yes
  157. # browsable = yes
  158. # public = yes
  159. # writable = yes
  160. # root preexec = mkdir -p /storage/backup
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement