Issue 1969 - indexing objectclass leads to unpredictable results
Summary: indexing objectclass leads to unpredictable results
Status: VERIFIED FIXED
Alias: None
Product: OpenLDAP
Classification: Unclassified
Component: slapd (show other issues)
Version: unspecified
Hardware: All All
: --- normal
Target Milestone: ---
Assignee: OpenLDAP project
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-07-18 17:20 UTC by Andrew Findlay
Modified: 2014-08-01 21:06 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Andrew Findlay 2002-07-18 17:20:36 UTC
Full_Name: Andrew Findlay
Version: 2.1.3
OS: FreeBSD 4.6-RELEASE-p1
URL: http://www.skills-1st.co.uk/pub/misc/openldap-index-log-20020718-1
Submission from: (NULL) (217.206.98.194)


Indexing objectclass seems to be leading to odd results on more complex
searches.
The form of search I am using is:

"(&(|(objectClass=person)(objectClass=organizationalRole))(uid=u000007))"

Without the objectclass index it behaves as expected (in this case, returning
one entry).

With 'index objectclass eq' in slapd.conf I am getting the entry returned
twice.
This is after reloading the database from scratch. On a previous test I got no
results at all.

I tried to reproduce the problem with a 'cn' index but that behaved normally.

I have put the log from two test searches on the web at
http://www.skills-1st.co.uk/pub/misc/openldap-index-log-20020718-1

The database is unchanged between the two, but the server was restarted with
indexing turned off for the second test. No other attributes are indexed.

Berkeley DB db4-4.0.14 is in use, running on FreeBSD 4.6-RELEASE-p1

Comment 1 Howard Chu 2002-07-31 14:48:25 UTC
changed notes
changed state Open to Test
moved from Incoming to Software Bugs
Comment 2 Howard Chu 2002-08-05 18:15:31 UTC
changed notes
changed state Test to Release
Comment 3 Kurt Zeilenga 2002-08-22 12:46:26 UTC
changed notes
changed state Release to Closed
Comment 4 OpenLDAP project 2014-08-01 21:06:24 UTC
fixed in HEAD
fixed in re21