Hello again,

I'll explain what I want exactly, let's say I have some users and some groups in my DS base :
for example:

#user
uid=user1
gid=38401
memberOf= cn=group1
memberOf= cn=group2
memberOf= cn=group3

#groups
cn=group1
gid=38430
uniqueMember= uid=user1
uniqueMember= uid=user2
uniqueMember= uid=user3

cn=group2
gid=38432
uniqueMember= uid=user1
uniqueMember= uid=user2
uniqueMember= uid=user4

what i want is that the gid of user1 will be the same as the gid of the "main" group  that he belongs to, (group1 or group2 in the example), I don't know if the main groups exist in 389 DS like in Active directory,I was looking for a solution but i couldn't find anything.


Thanking you in advance for your help








___________________________________________________________
 Aziza Lichir