Strange problem with LDAP and groups

Fabien Germain fabien.germain at gmail.com
Wed Oct 26 14:16:56 UTC 2005


On 10/26/05, Fabien Germain <fabien.germain at gmail.com> wrote:
> On 10/26/05, Cecilio Marín <cmarin at essiprojects.com> wrote:
> >
> > Wouldn't fourth column must be the number of primary group dim, 1008?
>
> Hmm no, user "lc159" is part of group "lc159" (the main one) and also
> "dim". And if we check at the "dim" group, we can see "lc159" is part
> of it... :-(

Ok, I got it. The problem came from nscd, which does not seem to work
very well with LDAP modifications, I had to invalidate its cache and
it now works :

[root at samba ~]# nscd --invalidate=group
[root at samba ~]#
[root at samba ~]# su - lc159 -c id
uid=1178(lc159) gid=1204(lc159) groups=1008(dim),1204(lc159)

Fabien




More information about the redhat-list mailing list