John Morrissey wrote:
When you create new indices, you need to run slapindex manually if you want to index existing entries. slapd will index newly-added entries, but will not go back and build indices for existing ones.
For example, you already have entries with uid attrs, so you'll need to run slapindex if you add/modify the indices for uid. On the other hand, if you add an entirely new attribute and create an index for it, you do not need to run slapindex because new entries will be indexed automatically.
john
~c