group access for specic folders in samba
Dear All,
I am a newbie to LINUX. i have installed samba and i can access some common folders without any user authenticatio. But i objective is have some folders and that can be accessed by some specific group of users. I have given my smb.conf file. I have given full permission for user and group. In that case, when i tried to see the folder from the windows machines, it says "Access denied", if i give the fill permission for all, then i can see the folder without any user authenticatio. Kindly help me in this.
# path = /tmp
# default = pcguest
only user = no
workgroup = test1
# auto services = storage
valid users = test,sales
security = share
preferred master = no
# guest account=pcguest
[data]
revalidate = yes
guest only = yes
public = yes
path = /home
[private]
revalidate = yes
guest only = no
public = no
path = /tmp
[common]
revalidate = yes
guest only = yes
public = no
path = /common
[sales]
revalidate = yes
guest only = no
public = no
valid users = sales,test
path = /sales
i have created user called test in the group 'sales', and i have included the user test in smbpasswd also. Kindly help me in this issue.
Thanks in advance,
Fidelis
|