2022-02-05 14:23:32 +00:00
|
|
|
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
|
|
|
|
# Copyright (C) 2017-present Team LibreELEC (https://libreelec.tv)
|
|
|
|
|
|
|
|
# samba.conf v4 (do not remove)
|
|
|
|
|
|
|
|
# This configuration file allows you to customize the samba shares
|
|
|
|
# available from your machine
|
|
|
|
|
|
|
|
[global]
|
2022-04-14 11:03:39 +00:00
|
|
|
server string = JELOS
|
|
|
|
unix extensions = no
|
2022-02-05 14:23:32 +00:00
|
|
|
browseable = yes
|
|
|
|
writeable = yes
|
|
|
|
printable = no
|
|
|
|
deadtime = 30
|
|
|
|
mangled names = no
|
|
|
|
name resolve order = host bcast
|
|
|
|
printcap name = /dev/null
|
|
|
|
load printers = no
|
|
|
|
enable core files = no
|
|
|
|
passdb backend = smbpasswd
|
2022-04-14 11:03:39 +00:00
|
|
|
smb passwd file = /storage/.cache/samba/smbpasswd
|
2022-02-05 14:23:32 +00:00
|
|
|
smb encrypt = disabled
|
|
|
|
fruit:model = Xserve
|
|
|
|
|
|
|
|
# samba share options
|
|
|
|
map to guest = Bad User
|
2022-09-16 21:13:51 +00:00
|
|
|
guest account = root
|
2022-02-05 14:23:32 +00:00
|
|
|
security = user
|
|
|
|
|
|
|
|
# samba tuning options
|
|
|
|
socket options = TCP_NODELAY IPTOS_LOWDELAY
|
|
|
|
min receivefile size = 16384
|
|
|
|
aio read size = 16384
|
|
|
|
aio write size = 16384
|
|
|
|
use sendfile = yes
|
|
|
|
|
|
|
|
# The following are default values for the master selection process
|
|
|
|
# local master = yes
|
|
|
|
# preferred master = auto
|
|
|
|
# domain master = auto
|
|
|
|
# os level = 20
|
|
|
|
|
|
|
|
# "strict allocate = yes" breaks large network transfers to external hdd
|
|
|
|
# Force this to "no" in case "yes" becomes the default in future
|
|
|
|
strict allocate = no
|
|
|
|
|
|
|
|
# Using the following configurations as a template allows you to add
|
|
|
|
# writeable shares of disks and paths under /storage
|
|
|
|
|
2022-04-14 11:03:39 +00:00
|
|
|
[update]
|
2022-09-17 10:44:32 +00:00
|
|
|
path = /storage/.update
|
2022-02-05 14:23:32 +00:00
|
|
|
available = yes
|
|
|
|
browseable = yes
|
|
|
|
writeable = yes
|
|
|
|
|
2022-04-14 11:03:39 +00:00
|
|
|
[roms]
|
|
|
|
path = /storage/roms
|
2022-02-05 14:23:32 +00:00
|
|
|
available = yes
|
|
|
|
browseable = yes
|
|
|
|
writeable = yes
|
|
|
|
|
2022-04-14 11:03:39 +00:00
|
|
|
[logs]
|
|
|
|
path = /var/log
|
2022-02-05 14:23:32 +00:00
|
|
|
available = yes
|
|
|
|
browseable = yes
|
|
|
|
writeable = yes
|
2022-04-14 11:03:39 +00:00
|
|
|
follow symlinks = yes
|
|
|
|
wide links = yes
|
2022-02-05 14:23:32 +00:00
|
|
|
|
2022-04-14 11:03:39 +00:00
|
|
|
[themes]
|
|
|
|
path = /storage/.config/emulationstation/themes
|
2022-02-05 14:23:32 +00:00
|
|
|
available = yes
|
|
|
|
browseable = yes
|
|
|
|
writeable = yes
|
2022-04-14 11:03:39 +00:00
|
|
|
follow symlinks = yes
|
|
|
|
wide links = yes
|
2022-02-05 14:23:32 +00:00
|
|
|
|
2022-04-14 11:03:39 +00:00
|
|
|
[config]
|
2022-02-05 14:23:32 +00:00
|
|
|
path = /storage/.config
|
|
|
|
available = yes
|
|
|
|
browseable = yes
|
|
|
|
writeable = yes
|
2022-04-14 11:03:39 +00:00
|
|
|
follow symlinks = yes
|
|
|
|
wide links = yes
|