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

Re: Problem adding a user to multiple groups



On Tue, Jan 13, 2004 at 08:38:14AM -0500, Eric.Sammons@frit.frb.org wrote:
> I have set up ldap authentication in my Linux environment.  All seems to 
> be working as well as expected; however, I am now trying to assign a user 
> to another group.  I see that the attribute gidNumber is not a multi-value 

gidNumber is for the user's primary group, not supplementary groups (which
is what you want, I gather).

> attribute for a given user (uid=user,ou=People,dc=my,dc=domain).  I do see 
> that memberUid is a multi-value attribute for a given group 
> (cn=wheel,ou=Group,dc=my,dc=domain).  Having added a uid to this memberUid 
> attribute it seems to have no impact on the given user?  I am using the 
> actual numeric uid, is this correct? 

No, use the name. If you have uid=Eric,ou=People,dc=my,dc=domain, then add "Eric"
to the memberuid attribute in cn=wheel