In our environment, we would like to map two drives to a
Samba server, each as a different user.
For instance, I'm user "vince", but many of us also
work as user "developer" in a special directory.
Thus we would like to make the following connections:
F: maps to \\sambaServer\\homes user: vince
G: maps to \\sambaServer\\developer user: developer
I can do this if in smb.conf,
security = share
but I don't seem to be able to when,
security = user
Is this true?
(I need "security = user" to get encrypted passwords.)
Thanks!
-vince
On Jul 15, 11:40, Vince Chen wrote:> Subject: security = user question > In our environment, we would like to map two drives to a > Samba server, each as a different user. >...> F: maps to \\sambaServer\\homes user: vince > G: maps to \\sambaServer\\developer user: developer >...> > (I need "security = user" to get encrypted passwords.) > > Thanks! > > -vince >-- End of excerpt from Vince ChenYou can use Unix groups. Here an example: [HomeDir] comment = Home Directory path = %H create mode = 0750 read only = no browseable = yes [install] comment = Installations-Directory path = /home/install writeable = yes create mask = 0770 group = admin valid users = @admin You have to put all your developers in a (second) group (here: admin). That's all. Hope this helps. Andreas