stephane.purnelle@corman.be
2003-Oct-07 10:35 UTC
[Samba] userGroupRid and groupmapping (with text correction)
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@corman.be Service Informatique Corman S.A. Tel : 00 32 087/342467