From owner-freebsd-current@FreeBSD.ORG Thu Jul 29 18:21:41 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 4D86B16A4CE for ; Thu, 29 Jul 2004 18:21:41 +0000 (GMT) Received: from carver.gumbysoft.com (carver.gumbysoft.com [66.220.23.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3F6F743D5F for ; Thu, 29 Jul 2004 18:21:41 +0000 (GMT) (envelope-from dwhite@gumbysoft.com) Received: by carver.gumbysoft.com (Postfix, from userid 1000) id 3408A72DF2; Thu, 29 Jul 2004 11:21:41 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by carver.gumbysoft.com (Postfix) with ESMTP id 2EC7872DB5; Thu, 29 Jul 2004 11:21:41 -0700 (PDT) Date: Thu, 29 Jul 2004 11:21:41 -0700 (PDT) From: Doug White To: Kirk Strauser In-Reply-To: <200407291101.15091.kirk@strauser.com> Message-ID: <20040729111516.U63843@carver.gumbysoft.com> References: <200407291101.15091.kirk@strauser.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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: Thu, 29 Jul 2004 18:21:41 -0000 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@gumbysoft.com | www.FreeBSD.org