Skip to content

Instantly share code, notes, and snippets.

@amigus
Created March 17, 2024 15:33
Show Gist options
  • Save amigus/fa65c99255ff85a53c4bac938ec59824 to your computer and use it in GitHub Desktop.
Save amigus/fa65c99255ff85a53c4bac938ec59824 to your computer and use it in GitHub Desktop.
Minimal smb.conf
# A minimal configuration using non-default settings
[global]
log level = auth:6 idmap:6
map to guest = Bad User
restrict anonymous = 1
use sendfile = Yes
[root$]
path = /srv/smb
inherit permissions = Yes
browsable = No
[incoming]
path = /srv/smb/incoming
read only = No
write list = adam
create mask = 0755
[public]
guest ok = Yes
path = /srv/smb/pub
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment