Upgrading to net/openldap22-sasl-server giving fits

Doug White dwhite at gumbysoft.com
Thu Jul 29 11:21:41 PDT 2004


On Thu, 29 Jul 2004, Kirk Strauser wrote:

> My 5.2-CURRENT server is happily chugging away using openldap21-sasl-server
> with the db41 backend, nss_ldap, and pam_ldap for user authentication.
> After reading in /usr/ports/UPDATING that openldap22-(sasl-)?server was
> becoming the default I thought I'd try upgrading to it.
>
> Unfortunately, upgrading to openldap22 with db41 results in:

[...]

It would not suprise me if you need to dump + reload your database to
update to a new bdb schema in openldap2.2.  Did you try backing up the old
db files, slapcatting them somewhere, move out of the way, do the upgrade,
then slapadd the data back into fresh db files?

Actually there's a mention of this in their FAQ-O-Matic:

http://www.openldap.org/faq/data/cache/842.html

Dump + reload on upgrade are well known to postgres folks :)

-- 
Doug White                    |  FreeBSD: The Power to Serve
dwhite at gumbysoft.com          |  www.FreeBSD.org


More information about the freebsd-current mailing list