[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Extra character when using search filter but won't appear in the search result

> Yes, indeed this is our case. I had to manually slapindex, then only we
> got
> the correct result (even though we have specified the attribute to index
> automatically in slapd.conf).

How do you specify automatic attribute indexing in slapd.conf?  I didn't
know about that.

> However, do we have to slapindex nightly since this is a case, or is this
> a
> bug (we're using openldap 2.4.19)?

Apparently, you ran slapindex without even reading the man page.  It
*must* be run when you change indexes in slapd.conf, and only in that
case.  And slapd *must not* be running when you run slapindex (it
complains and refuses to start, otherwise, as far as I know).

Or, if you modify indexes using ldapmodify in cn=config, re-indexing will
be automatical, no need to run slapindex.  Is this what you meant?