[Bug 321787] [NEW] slapindex fails to re-index properly

Andy Rabagliati andyr at wizzy.com
Tue Jan 27 09:01:00 GMT 2009


Public bug reported:

Binary package hint: slapd

Using Intrepid Ubuntu 8.10, slapd 2.4.11-0ubuntu6

Steps to reproduce bug :-

* Take a properly constituted ldap database, with an index on uid - "index uid eq" and containing user "fred"
* stop slapd - "/etc/init.d/slapd stop"
* Remove "index uid eq" from config file
* start slapd
* add a user "test"
* stop slapd
* re-add "index uid eq" to config file
* start slapd
* verify that "ldapsearch -x '(uid=fred)'" works, and "ldapsearch -x '(uid=test)'" does not (not a bug)
* stop slapd
* re-index - "su openldap slapindex"
* start slapd
* "ldapsearch -x '(uid=test)'" still does not work

I expected the last line above to work - slapindex should rebuild all
indexes.

Deleting /var/lib/ldap/uid.bdb - restarting slapd, stopping, re-
indexing, starting again finds the index correct again.

** Affects: openldap (Ubuntu)
     Importance: Undecided
         Status: New

-- 
slapindex fails to re-index properly
https://bugs.launchpad.net/bugs/321787
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to openldap in ubuntu.



More information about the Ubuntu-server-bugs mailing list