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

Missing/dropped indices?



Howdy,

I've come across a similar problem to that below, where indices seem to have gone AWOL.

We have recently deployed some new servers running Debian Sarge (OpenLDAP 2.2.23) while our older systems are running Debian Woody (OpenLDAP 2.1.30).  We have the uid and auth fields indexed (for equality) and are present in all the records I've tested with.

On the new systems, searching on the 'uid' attribute returns immediately with no results, while searching on the 'auth' attribute returns the entire record, including the uid attribute.

There is no trailing whitespace and I am matching the uid field correctly.  We have millions of entries in our directory so I am assuming the immediate response means openldap is looking up the index, not finding the field, and return no result.

Any ideas?

Cheers
Mark


> -----Original Message-----
> From: Quanah Gibson-Mount [mailto:quanah@stanford.edu]
> Sent: Tuesday, May 09, 2006 2:07 PM
> To: OpenLDAP-software@OpenLDAP.org
> Cc: Brian Gaber
> Subject: RE: ldapsearch returns nothing after upgrade from v2.0.27-11 to
> v2.3.20
> 
> >>> Have you updated your ACL's to the 2.3 syntax?
> >>
> >> Here is what I have
> >>
> >> access  to *
> >>   by self write
> >>   by peername=10.19.14.141 write
> 
> >Try "peername.ip" rather than just "peername".
> 
> That fixed the problem.  Thanks very much.