[Date Prev][Date Next]
- To: <OpenLDAP-software@OpenLDAP.org>
- Subject: Missing/dropped indices?
- From: "Mark Mcdonald" <firstname.lastname@example.org>
- Date: Wed, 10 May 2006 08:48:18 +0800
- Content-class: urn:content-classes:message
- Thread-index: AcZzk3PznAyKHSeHSmmVhjZimYsyqAAAOc4gAA1j7qA=
- Thread-topic: Missing/dropped indices?
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.
> -----Original Message-----
> From: Quanah Gibson-Mount [mailto:email@example.com]
> 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
> >>> 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.