Here is what I did
I'm no guru with Samba but here is what I did. I added three groups to /etc/groups called 'admin', 'users', and 'visitor'. Then I assigned each Samba user to one of these groups and no other. Then in the smb.conf I added access by group. Here is a sample:
[dropbox]
path = /dropbox
browseable = yes
valid users = @admin @users @visitor
write list = @admin @users
admin users = @admin
guest ok = no
The '@' represents a group instead of an individual account. Then you should set permissions and ownership of the directory to reflect your access scheme.
This works fine for me on the Linux box shares. What I have not figured out how to do is to extend this to Win2K/WinXP systems (and their shares) which authenticate to the Samba domain.
I hope this helps.
Last edited by Garak; 06-16-2003 at 01:33 AM.
|