Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Aug 2004 14:50:36 +0200
From:      Oliver Eikemeier <eikemeier@fillmore-labs.com>
To:        Kirk Strauser <kirk@strauser.com>
Cc:        freebsd-current@freebsd.org
Subject:   Re: Upgrading to net/openldap22-sasl-server giving fits
Message-ID:  <8C9CBFBF-E482-11D8-9C56-00039312D914@fillmore-labs.com>
In-Reply-To: <200407291450.49400.kirk@strauser.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Kirk Strauser wrote:

> On Thursday 29 July 2004 13:21, Doug White wrote:
>
>> It would not suprise me if you need to dump + reload your database to
>> update to a new bdb schema in openldap2.2.
>
> <whine>But I don't WANT to reload my database!</whine>

Sorry, internal structures have changed. You *have to* use 
slapcat/slapadd. That is why OpenLDAP 2.1 is still around, upgrading the 
client part is pretty painless...

> Is there a generalized way to upgrade Berkeley databases?  I tried to
> RTFDocs, but they seem to be aimed at BDB programmers ("Simply call the
> DB->transmogrify method...") instead of command-line users.

You can update the underlying Berkeley database, but this doesn't mean 
OpenLDAP can still work with it. You can even use slapd-bdb(5) instead 
of slapd-ldbm(5) when you use OpenLDAP 2.2 + BerkelyDB 4.2, but they are 
not binary compatible.

I'll add an entry to ports/UPGRADING, since this seems to be a FAQ.

-Oliver



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8C9CBFBF-E482-11D8-9C56-00039312D914>