From owner-freebsd-current@FreeBSD.ORG Sun Aug 1 23:33:10 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C179016A4CE for ; Sun, 1 Aug 2004 23:33:10 +0000 (GMT) Received: from creme-brulee.marcuscom.com (rrcs-midsouth-24-172-16-118.biz.rr.com [24.172.16.118]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6C07B43D45 for ; Sun, 1 Aug 2004 23:33:10 +0000 (GMT) (envelope-from marcus@marcuscom.com) Received: from [192.168.1.4] (shumai.marcuscom.com [192.168.1.4]) i71NVXWq045454; Sun, 1 Aug 2004 19:31:33 -0400 (EDT) (envelope-from marcus@marcuscom.com) From: Joe Marcus Clarke To: Kirk Strauser In-Reply-To: <200407291450.49400.kirk@strauser.com> References: <200407291101.15091.kirk@strauser.com> <20040729111516.U63843@carver.gumbysoft.com> <200407291450.49400.kirk@strauser.com> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-MbnDO6UCsjFnH19co1GT" Organization: MarcusCom, Inc. Message-Id: <1091403178.84653.3.camel@shumai.marcuscom.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 Date: Sun, 01 Aug 2004 19:32:59 -0400 X-Spam-Status: No, hits=-4.9 required=5.0 tests=BAYES_00 autolearn=ham version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on creme-brulee.marcuscom.com cc: freebsd-current@freebsd.org Subject: Re: Upgrading to net/openldap22-sasl-server giving fits X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Aug 2004 23:33:10 -0000 --=-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 > But I don't WANT to reload my database! 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--