[Samba] sambaSamAccount and posixAccount cohabitation
roman.zaragoci at connectics.fr
Fri Feb 9 11:23:38 GMT 2007
I'm new on this list and I'm french, so my english could be worst !;)
My question is about sambaSamAccount and posixAccount objectClasses.
I want the user "test" be mapped to user root (uid=0, gid=0) when logged
into pam over ldap mechanism (such as ssh)
And I want the same user "test" be mapped to user test (uid=1003,
gid=513) when logged to Samba server.
The user test looks like :
Is it possible to map this user to root when it's logging to unix and
map this same user to gid=513,uid=1003 when it's logging to samba ?
Without making a second account...
Maybe the solution is on the smb.conf file; maybe I can force this user
to be mapped to gid=513,uid=1003 when it logs to Samba ? or, on the
opposite, maybe I can force user gid=513,uid=1003 to be mapped to root
(gid=0,uid=0) when it logs to unix mechanism ?
I hope i'm on the right list for this question and I hope my english is
sufficient to understand my query,
Thanks in advance :)
More information about the samba