The question is: why in case b) LDAP reads all records. Shouldn't it scan (as it was in the case (a)) only 3 entries. Is this a bug or misunderstanding how indexes are working in OpenLDAP?
Below is the extract from slapd.conf file:
index objectClass eq index cn,sn,uid pres,eq,sub
--Quanah
-- Quanah Gibson-Mount Principal Software Developer ITSS/Shared Services Stanford University GnuPG Public Key: http://www.stanford.edu/~quanah/pgp.html