Skip to content

Instantly share code, notes, and snippets.

@RLovelett
Last active April 8, 2021 15:26
Show Gist options
  • Save RLovelett/eaf7204e5c70601106bab3699f6432bc to your computer and use it in GitHub Desktop.
Save RLovelett/eaf7204e5c70601106bab3699f6432bc to your computer and use it in GitHub Desktop.
Samba Configuration
# 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.
[global]
workgroup = SAMBA
security = user
passdb backend = tdbsam
load printers = no
# Logging
log level = 1
# macOS
vfs objects = catia fruit streams_xattr
fruit:appl = yes
fruit:resource = xattr
fruit:encoding = native
[homes]
comment = Home Directories
valid users = %S, %D%w%S
browseable = no
read only = no
inherit acls = yes
[Time Machine]
comment = Time Machine Backup (macOS)
fruit:time machine = yes
path = /pond/timemachine/%U
valid users = rlovelett,llovelett
browseable = yes
read only = no
inherit acls = yes
[Software]
comment = Shared installers and such
path = /pond/software
browseable = yes
read only = no
inherit acls = yes
[Media]
comment = Shared media
path = /pond/media
browseable = yes
read only = no
inherit acls = yes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment