From owner-freebsd-questions@FreeBSD.ORG Sun May 16 09:49:13 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A7B6016A4CE for ; Sun, 16 May 2004 09:49:13 -0700 (PDT) Received: from smtp.infracaninophile.co.uk (ns0.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id C361843D2F for ; Sun, 16 May 2004 09:49:11 -0700 (PDT) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost.infracaninophile.co.uk [IPv6:::1])i4GGn65M046638 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 16 May 2004 17:49:06 +0100 (BST) (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost)id i4GGn69p046637; Sun, 16 May 2004 17:49:06 +0100 (BST) (envelope-from matthew) Date: Sun, 16 May 2004 17:49:05 +0100 From: Matthew Seaman To: Robert Fitzpatrick Message-ID: <20040516164905.GA46487@happy-idiot-talk.infracaninophile.co.uk> Mail-Followup-To: Matthew Seaman , Robert Fitzpatrick , FreeBSD References: <1084717533.8741.8.camel@columbus> <20040516152440.GA38087@happy-idiot-talk.infracaninophile.co.uk> <1084725303.2740.7.camel@columbus> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="1yeeQ81UyVL57Vl7" Content-Disposition: inline In-Reply-To: <1084725303.2740.7.camel@columbus> User-Agent: Mutt/1.5.6i X-Virus-Scanned: clamd / ClamAV version devel-20040504, clamav-milter version 0.70u X-Virus-Status: Clean X-Spam-Status: No, hits=-4.8 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on happy-idiot-talk.infracaninophile.co.uk cc: FreeBSD Subject: Re: Upgrading OpenLDAP 2.1.30 to 2.2.x X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 May 2004 16:49:13 -0000 --1yeeQ81UyVL57Vl7 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, May 16, 2004 at 12:35:04PM -0400, Robert Fitzpatrick wrote: > On Sun, 2004-05-16 at 11:24, Matthew Seaman wrote: > > That means that all of the applications linked against the LDAP shlibs > > have suddenly stopped working. To fix them, all you need do is > > reinstall -- the situation is analogous to the problem with > > 'libintl.so.N no found' thing that keeps coming up over and over on > > this list. > >=20 >=20 > Thanks for the detailed response. I have decided to upgrade a number of > packages that are related, like Berkeley DB to version 4.2. Also, I have > the openldap-sasl-* packages installed working with SASL 2.1.18 and > Heimdal Kerberos 0.6, but I don't think I need upgrade these two > packages, they seem to be at their latest versions, so I guess from what > you're saying, I just need to reinstall these packages. Also, Postfix > 2.0.16 that has LDAP support and I want to upgrade to 2.1.x. Is there > any recommended order for this scenario, perhaps upgrade Berkeley first, > then openldap-sasl-server-2.1.30 and client, then Postfix and reinstall > all other dependencies? Right -- the sasl versions of the OpenLDAP client+server can be updated exactly as I showed. Just make sure you edit pkgtools.conf's MAKE_ARGS array so that 'WITH_SASL=3Dyes' gets supplied to the openldap22 ports as well as the openldap21 ports. The ordering requirements are basically like I said: openldap client first, then openldap server then everything else that depends on openldap client. If you just let portupgrade sort out the order of all the other dependencies it will (probably) work just fine. Since you can install several different versions of the BDB libraries simultaneously, just install the one you want right at the beginning. Hmmm.. of course, this shouldn't need to be said, but make sure you dump out the contents of your LDAP server in ldif format or otherwise make a backup of it in a format *which doesn't depend on the precise version of the BDB libs you have installed*. I think BDB's on-disk data formats are pretty much compatible across versions, but I'm not entirely certain. Obviously make sure slapd and slurpd aren't running when you start doing any of this. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK --1yeeQ81UyVL57Vl7 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAp5uBiD657aJF7eIRAtq2AJ9akJY5Fj97MOXxPZdjrj+SmXZqmwCgi/H4 431Cwdi26T1bo7k3dCgKsIg= =qYOp -----END PGP SIGNATURE----- --1yeeQ81UyVL57Vl7--