Date: Sun, 01 Aug 2004 19:32:59 -0400 From: Joe Marcus Clarke <marcus@marcuscom.com> To: Kirk Strauser <kirk@strauser.com> Cc: freebsd-current@freebsd.org Subject: Re: Upgrading to net/openldap22-sasl-server giving fits Message-ID: <1091403178.84653.3.camel@shumai.marcuscom.com> In-Reply-To: <200407291450.49400.kirk@strauser.com> References: <200407291101.15091.kirk@strauser.com> <20040729111516.U63843@carver.gumbysoft.com> <200407291450.49400.kirk@strauser.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--=-MbnDO6UCsjFnH19co1GT Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Thu, 2004-07-29 at 15:50, Kirk Strauser wrote: > On Thursday 29 July 2004 13:21, Doug White wrote: >=20 > > It would not suprise me if you need to dump + reload your database to > > update to a new bdb schema in openldap2.2. >=20 > <whine>But I don't WANT to reload my database!</whine> Yeah, I was in the same boat as you. I wanted to do a binary data upgrade. According to the Sleepy Cat documentation, only the log file format changed, so upgrades should have been easy. It wasn't, however. What I ended up doing on advice from eik was to slapcat my databases with openldap21-server installed, then upgrade to 2.2, then slapadd the dumped LDIF back. Since I didn't have a large amount of data, this worked quite well. >=20 > Is there a generalized way to upgrade Berkeley databases? I tried to=20 > RTFDocs, but they seem to be aimed at BDB programmers ("Simply call the=20 > DB->transmogrify method...") instead of command-line users. I tried all of that, but everytime, I ended up with a corrupt database...at least according to slapd. Joe --=20 PGP Key : http://www.marcuscom.com/pgp.asc --=-MbnDO6UCsjFnH19co1GT Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQBBDX2qb2iPiv4Uz4cRAjYwAJ4hSKZoiko/YitUdSBtnAAMzX5CKwCaAtDZ BG04cdo5Q9EfeRZdhiV5jXQ= =wlGP -----END PGP SIGNATURE----- --=-MbnDO6UCsjFnH19co1GT--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1091403178.84653.3.camel>