Files
config/smb.conf
2025-10-16 10:35:01 +01:00

67 lines
1.3 KiB
Plaintext

# See smb.conf.example for a more detailed config file or
# read the smb.conf manpage.
# Run 'testparm' to verify the config is correct after
# you modified it.
#
# Note:
# SMB1 is disabled by default. This means clients without support for SMB2 or
# SMB3 are no longer able to connect to smbd (by default).
[global]
workgroup = SAMBA
security = user
passdb backend = tdbsam
printing = cups
printcap name = cups
load printers = yes
cups options = raw
vfs objects = acl_xattr
map acl inherit = yes
store dos attributes = yes
# Install samba-usershares package for support
include = /etc/samba/usershares.conf
[data]
path = /mnt/data
read only = no
browsable = yes
guest ok = no
writable = yes
valid users = dave,jana
[dave]
path = /home/dave
read only = no
browsable = yes
guest ok = no
writable = yes
valid users = dave,jana
[localbin]
path = /usr/local/bin
read only = no
browsable = yes
guest ok = no
writable = yes
valid users = dave
[homework]
path = /mnt/data/docker/volumes/captain--sync-data/_data/Homework
read only = no
browsable = yes
guest ok = no
writable = yes
valid users = dave
[torrent]
path = /mnt/data/docker/volumes/captain--torrent-downloads/_data
read only = no
browsable = yes
guest ok = no
writable = yes
valid users = dave