[Pkg-openldap-devel] Bug#303826: slapd 2.2.23 - database corruption

Russ Allbery rra at debian.org
Sat Jun 2 03:42:15 UTC 2007


tags 303826 moreinfo
thanks

Hello,

About two years ago, you reported the following bug against the Debian
slapd package:

> If I start slapd then using depotname=* I got 9 entries. Using some
> program that access entries causes that using depotname=* filter returns
> only 7 entries. Why?  slapcat produces still the same output as at the
> beginnig when 9 entries was listed.
> 
> $ ldapsearch -x -h localhost:389 -b 'o=lbone' -LLL "depotname=*"  | grep
> depotname: 
> depotname: Didas-Plzen
> depotname: Didas-Cuni
> depotname: Didas-Vslib
> depotname: Didas-Undomiel2
> depotname: Didas-Jcu
> depotname: Didas-Vsb
> depotname: Didas-Undomiel1
> 
> $ ldapsearch -x -h localhost:389 -b 'o=lbone' -LLL "*"  | grep
> depotname: 
> depotname: Didas-Plzen
> depotname: Didas-Cesnet
> depotname: Didas-Cuni
> depotname: Didas-Vslib
> depotname: Didas-Undomiel3
> depotname: Didas-Undomiel2
> depotname: Didas-Jcu
> depotname: Didas-Vsb
> depotname: Didas-Undomiel1
> 
> $ slapcat | grep depotname
> dn: depotname=Didas-Plzen,ou=depots,o=lbone
> depotname: Didas-Plzen
> dn: depotname=Didas-Cesnet,ou=depots,o=lbone
> depotname: Didas-Cesnet
> dn: depotname=Didas-Cuni,ou=depots,o=lbone
> depotname: Didas-Cuni
> dn: depotname=Didas-Vslib,ou=depots,o=lbone
> depotname: Didas-Vslib
> dn: depotname=Didas-Undomiel3,ou=depots,o=lbone
> depotname: Didas-Undomiel3
> dn: depotname=Didas-Undomiel2,ou=depots,o=lbone
> depotname: Didas-Undomiel2
> dn: depotname=Didas-Jcu,ou=depots,o=lbone
> depotname: Didas-Jcu
> dn: depotname=Didas-Vsb,ou=depots,o=lbone
> depotname: Didas-Vsb
> dn: depotname=Didas-Undomiel1,ou=depots,o=lbone
> depotname: Didas-Undomiel1

This looks like an indexing problem, quite possibly related to the LDBM
backend (which was known to have a ton of problems with that version of
OpenLDAP).  My guess is that this problem is now fixed in the current
Debian packages (including the ones in etch).  Could you check whether
your problem is resolved with the current packages?

Thanks!

-- 
Russ Allbery (rra at debian.org)               <http://www.eyrie.org/~eagle/>




More information about the Pkg-openldap-devel mailing list