--On June 12, 2008 10:35:35 AM -0700 joshua@itsecureadmin.com wrote:
Did you add an index on uid after creating the database, and then forget to slapindex it?
No, the index on uid has been in effect since this db was created. I also re-ran slapindex on the database before posting to make sure without any success.
Is it a bug that no results were returned until the uid attribute was explicitly added?
Sounds like a bug to me. Can you reproduce this with OpenLDAP 2.4.10?
I have successfully reproduced this behavior on OpenLDAP 2.4.10 using ldapadd to add the record without the uid attribute.
Please see the following txt document for details on add/query, etc. http://itsecureadmin.com/uid-test.txt
Thanks, -- Josh Miller, RHCE