On Wednesday, 6 June 2007, sudhakar wrote:
If the attribute is indexed
No, if you have told slapd to index the attribute and use this index, but you have not indexed the existing entries, slapd believes what you told it (there is an index, it should not traverse the whole directory), and finds nothing in the index you told it to use. (If it were to subsequently traverse the whole directory, there would be no point in using an index).
You need to populate the index, by running slapdindex (any time you add indexes).
Regards, Buchan