[Date Prev][Date Next] [Chronological] [Thread] [Top]

Group Management



Hello

How to make an user member of different groups ?
I have some groups and used the attribute member to put users in
different groups but did not work.

The user1  should be in the groupB (default Group) and also in the
GroupA. should not ?

However when logged in the "id" shows only the default group (GroupB)


The groups:
--------------------
cn=groupA,ou=Group,c=mycompany,c=US  (gid 501)
cn=groupB,ou=Group,c=mycompany,c=US  (gid 502)


The Entry for the GroupA
------------------------
gidNumber 501
userPassword xxxxxxx
description Admin Group
objectClass posixGroup
objectClass top
member uid=user1,ou=Group,c=mycompany,c=US
member uid=user2,ou=Group,c=mycompany,c=US
cn groupA



The Entry for the GroupB
------------------------
gidNumber 502
userPassword xxxxxxx
description Admin Group
objectClass posixGroup
objectClass top
cn groupB



The entry for the user1
----------------------
userPassword xxxxxxx
loginShell /bin/bash
gidNumber 502
uidNumber 125
shadowMax 99999
objectClass account
objectClass posixAccount
objectClass top
objectClass shadowAccount
uid user1
shadowLastChange 11843
cn user1
homeDirectory /home/user1
shadowWarning 7

What's Wrong ?
Any Help please !

Regards

Claudemir F. Martins

__________________________________________________________________