just add an entry with
guest ok = yes
[common]
comment = /common
read only = no
locking = no
path = /data/data1/common
guest ok = yes
then restart service
# service smbd restart
to compare, this one's restricted to users with login
[repository]
comment = /repository
read only = no
locking = no
path = /data/data1/repository
guest ok = no
and this one's restricted to users with login belonging to a specific group
[sysad]
comment = /sysad
read only = no
locking = no
path = /data/data1/sysad
guest ok = no
valid users = @sysad
force group = sysad
No comments:
Post a Comment