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

Re: index_param failed on uniqueMember ?



On Sun, Feb 13, 2005 at 04:47:31PM -0800, Eddy Tan wrote:
> > >
> > >
> filter="(&(objectClass=posixGroup)(|(memberUid=ldap4)(uniqueMember=uid=ldap4,ou=staff,dc=ldap,dc=office,dc=onthe,dc=net,dc=au)))"
> > 
> > That's caused by rfc2307bis support in nss_ldap.
> > You could recompile nss_ldap without this support I suppose,
> > then it will only search
> > the memberuid attribute (and not uniqueMember).
> 
> 
> Hi Andreas,
> 
> I´ve tried to re-compile the nss_ldap package with the option
> --disable-rfc2307bis but the problem still occurs. 

Are you sure you rebuild it correctly? And, more importantly, installed it over
the old copy?

According to the code, it should work:
ldap-grp.c:
(...)
#ifndef RFC2307BIS
  stat =
    _nss_ldap_assign_attrvals (ld, e, AT (memberUid), NULL, &gr->gr_mem,
                               &buffer, &buflen, NULL);
  if (stat != NSS_SUCCESS)
    return stat;
#else
  dn_mems = NULL;
  vals = ldap_get_values (ld, e, AT (uniqueMember));
(...)