[global]
server string = basic file share server
workgroup = WORKGROUP
security = user
map to guest = Bad User
name resolve order = bcast host
vfs objects order = catia fruit streams_xattr

[public]
path = /share/public
force user = smbuser
force group = smbgroup
create mask = 0664
force create mode = 0664
directory mask = 0775
force directory mode = 0775
public = yes
writable = yes

[protected]
path = /share/protected
force user = smbuser
force group = smbgroup
create mask = 0664
force create mode = 0664
directory mask = 0775
force directory mode = 0775
public = yes
writable = no