Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
[global]
netbios name = HOST
encrypt passwords = yes
server string = HOST Samba Folders
workgroup = WORKGROUP
hosts allow = 192.168.1.
load printers = no
log file = /var/log/samba4.log
map to guest = bad user
[Music]
comment = Music Share
path = /mnt/data/user1/Music
read only = yes
guest ok = yes
only guest = yes
[Videos]
comment = Videos Share
path = /mnt/data/user1/Videos
read only = yes
guest ok = yes
only guest = yes
[Origin]
comment = Origin Backup
path = /mnt/data/user4
read only = no
create mask = 0644
directory mask = 0755
valid users = user4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment