I have two apacheds (M21) servers that replicate to each and I am getting incorrect results on one server for the queries below. Could this be due to a corrupt index? I don't have an index on the employeeNumber attribute but objectclass is indexed.
Server 1: (&(objectclass=customOrgPerson)(employeeNumber=12345)) - doesn't return record, but it should (employeeNumber=12345) - does return, and record has objectclass of customOrgPerson (&(objectclass=customOrgPerson)(employeeNumber=*)) - returns records with an employeeNumber but only with uids starting with letters J through Z, uids starting with A through H don't show up, the user with employeeNumber 12345 is not included in results, uid is h* so it is in group of records not being found Server 2: Same queries return all records Both servers have about 1000 person records and they were recently setup by deleting all data from previous test imports and re-importing an LDIF export from a 389-ds server. Thanks for any pointers as to what might cause this.