Last active
March 18, 2016 01:40
-
-
Save yyolk/4713449 to your computer and use it in GitHub Desktop.
openelec samba config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
################################################################################ | |
# This file is part of OpenELEC - http://www.openelec.tv | |
# Copyright (C) 2009-2012 Stephan Raue ([email protected]) | |
# | |
# This Program is free software; you can redistribute it and/or modify | |
# it under the terms of the GNU General Public License as published by | |
# the Free Software Foundation; either version 2, or (at your option) | |
# any later version. | |
# | |
# This Program is distributed in the hope that it will be useful, | |
# but WITHOUT ANY WARRANTY; without even the implied warranty of | |
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
# GNU General Public License for more details. | |
# | |
# You should have received a copy of the GNU General Public License | |
# along with OpenELEC.tv; see the file COPYING. If not, write to | |
# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA. | |
# http://www.gnu.org/copyleft/gpl.html | |
################################################################################ | |
# samba.conf | |
# This configuration file allows you to customize the samba shares | |
# available from your machine | |
[global] | |
server string = OpenELEC | |
workgroup = WORKGROUP | |
netbios name = %h | |
security = share | |
guest account = root | |
socket options = TCP_NODELAY IPTOS_LOWDELAY SO_RCVBUF=65536 SO_SNDBUF=65536 | |
smb ports = 445 | |
max protocol = SMB2 | |
min receivefile size = 16384 | |
deadtime = 30 | |
os level = 20 | |
mangled names = no | |
syslog only = yes | |
syslog = 2 | |
name resolve order = lmhosts wins bcast host | |
preferred master = yes | |
domain master = yes | |
local master = yes | |
printcap name = /dev/null | |
load printers = no | |
browseable = yes | |
writeable = yes | |
printable = no | |
encrypt passwords = true | |
enable core files = no | |
passdb backend = smbpasswd | |
smb encrypt = disabled | |
use sendfile = yes | |
# Using the following configurations as a template allows you to add | |
# writable shares of disks and paths under /storage | |
[Update] | |
path = /storage/.update | |
available = yes | |
browsable = yes | |
public = yes | |
writable = yes | |
root preexec = mkdir -p /storage/.update | |
[Videos] | |
path = /storage/videos | |
available = yes | |
browsable = yes | |
public = yes | |
writable = yes | |
root preexec = mkdir -p /storage/videos | |
[Music] | |
path = /storage/music | |
available = yes | |
browsable = yes | |
public = yes | |
writable = yes | |
root preexec = mkdir -p /storage/music | |
[TV Shows] | |
path = /storage/tvshows | |
available = yes | |
browsable = yes | |
public = yes | |
writable = yes | |
root preexec = mkdir -p /storage/tvshows | |
[Recordings] | |
path = /storage/recordings | |
available = yes | |
browsable = yes | |
public = yes | |
writable = yes | |
root preexec = mkdir -p /storage/recordings | |
[Downloads] | |
path = /storage/downloads | |
available = yes | |
browsable = yes | |
public = yes | |
writable = yes | |
root preexec = mkdir -p /storage/downloads | |
[Pictures] | |
path = /storage/pictures | |
available = yes | |
browsable = yes | |
public = yes | |
writable = yes | |
root preexec = mkdir -p /storage/pictures | |
[Emulators] | |
path = /storage/emulators/mame/roms | |
available = yes | |
browsable = yes | |
public = yes | |
writable = yes | |
root preexec = mkdir -p /storage/emulators/mame/roms | |
[Configfiles] | |
path = /storage/.config | |
available = yes | |
browsable = yes | |
public = yes | |
writable = yes | |
root preexec = mkdir -p /storage/.config | |
[Userdata] | |
path = /storage/.xbmc/userdata | |
available = yes | |
browsable = yes | |
public = yes | |
writable = yes | |
root preexec = mkdir -p /storage/.xbmc/userdata | |
[Screenshots] | |
path = /storage/screenshots | |
available = yes | |
browsable = yes | |
public = yes | |
writable = yes | |
root preexec = mkdir -p /storage/screenshots | |
[Media] | |
path = /media | |
available = yes | |
browsable = yes | |
public = yes | |
writable = yes | |
root preexec = mkdir -p /media | |
[Logfiles] | |
path = /storage/logfiles | |
available = yes | |
browsable = yes | |
public = yes | |
writable = yes | |
root preexec = mkdir -p /storage/logfiles | |
root preexec = createlog | |
[dump] | |
path = /storage/dump | |
available = yes | |
browsable = yes | |
public = yes | |
writable = yes | |
root preexec = mkdir -p /storage/dump | |
[orng] | |
path = /var/media/orng | |
available = yes | |
browsable = yes | |
public = yes | |
writable = yes |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment