[Date Prev][Date Next]
Re: Slapindex not working?
On Thu, 2005-01-20 at 15:08 +1100, Dave Horsfall wrote:
> [ Yes, I read the archives! ]
> OpenLDAP 2.2.17, compiled from FreeBSD 4.10-STABLE ports.
> Using Ryan Matteson's cool "ldap-stats.pl" script, I discovered I had an
> unindexed attribute "uid". So, I update slapd.conf and run slapindex, yet
> I'm still seeing these in the log:
> Jan 20 14:38:34 guido slapd: <= bdb_substring_candidates: (uid)
> index_param failed (18)
> Yes, I shut down SLAPD :-)
> index employeeNumber,uid,sn,cn,ciApp,ciHost eq,pres,sub
> (was just "eq,pres")
> ldapsearch -C -v -LLL -H "$LDAPURI" "(&(objectClass=ciEmployee)(uid=dave*))" \
> dn uid cn sn telephoneNumber
> The odd thing was, it improved wall-clock time by an order of magnitude,
> so it did *something*.
is it possible that the resulting uid.bdb isn't owned by ldap?