[Samba] userGroupRid and groupmapping (with text correction)

stephane.purnelle at corman.be stephane.purnelle at corman.be
Tue Oct 7 10:35:51 GMT 2003


Hi !

When I create a user with samba-ldap tools, the userRid is calculated if
the -x option is set.
The userGroupRid is calculated too.  But if the groupmapping is enabled,
the
SambaPrimaryGroupSID not correspond with SambaSID of groupmapping.

Example :

Groupe "Domain Users" :

gidNumber 100
displayName    Domain Users
objectClass    sambaGroupMapping
sambaSID  S-1-5-21-xxxxxxxxxx-xxxxxxxxx-xxxxxxxxxx-513
sambaGroupType 2
cn        Users


User Toto :

sambaPrimaryGroupSID     S-1-5-21-xxxxxxxxxx-xxxxxxxxx-xxxxxxxxxx-1201
objectClass              sambaSamAccount
uid                 toto
uidNumber           1092
gidNumber           100
sambaSID            S-1-5-21-xxxxxxxxxx-xxxxxxxxx-xxxxxxxxxx--3184

And in logfile, I can found :
[2003/10/07 10:46:51, 0] rpc_server/srv_util.c:get_domain_user_groups(371)
get_domain_user_groups: primary gid of user [toto] is not a Domain group !
get_domain_user_groups: You should fix it, NT doesn't like that

I think that's a BUG.

can you help me ?
thank you

     Stéphane Purnelle


-----------------------------------
Stéphane PURNELLE                         stephane.purnelle at corman.be
Service Informatique       Corman S.A.           Tel : 00 32 087/342467




More information about the samba mailing list