[Pkg-openldap-devel] How far from OpenLDAP 2.3?

Steve Langasek vorlon at debian.org
Mon Jan 23 22:25:52 UTC 2006


On Mon, Jan 23, 2006 at 10:54:22AM -0800, Quanah Gibson-Mount wrote:
> >>This is certainly the main obstacle to being able to upload libldap2-dev
> >>2.3 to unstable.  Has anybody looked at possible db upgrade issues
> >>between slapd 2.2 and slapd 2.3?

> >Quanah, can you comment on what the upgrade looks like?  (And you probably
> >want to subscribe to pkg-openldap-devel at lists.alioth.debian.org; I'll get
> >you the details.)

> As far as BDB versions go, I recommend continuing to stick with BDB 
> 4.2.52+patches.  The OpenLDAP specific transactions patch is no longer 
> necessary for 2.3 like it was for 2.2.  The main thing is that the database 
> must have the 2.2 version of slapcat run to export the database to an LDIF 
> file, the database files removed (*.bdb, log files, and the BDB 
> environment), and then a 2.3 slapadd -q on the LDIF file must be run to 
> import the data back into the database.  This is because the database 
> storage format has changed between the major releases.

Ok, so this can basically use the same upgrade code as for 2.0->2.1; we just
have to be sure that's enabled.

Why the recommendation for BDB 4.2.52+patches?  For that matter, are the
"patches" ones that are included in Debian today?  I know the Debian libdb
maintainers were skeptical of preferring db4.2 over db4.3, and in any case
there are plenty of reports in the wild of the sarge version of slapd
misbehaving and corrupting its indices; dunno if that's rightly a BDB bug or
a slapd bug.

-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
vorlon at debian.org                                   http://www.debian.org/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-openldap-devel/attachments/20060123/71823ae0/attachment.pgp


More information about the Pkg-openldap-devel mailing list