From owner-freebsd-questions@FreeBSD.ORG Tue Oct 26 16:00:44 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 6AA8C16A4CF for ; Tue, 26 Oct 2004 16:00:44 +0000 (GMT) Received: from obsecurity.dyndns.org (CPE0050040655c8-CM00111ae02aac.cpe.net.cable.rogers.com [69.194.102.143]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3703143D1F for ; Tue, 26 Oct 2004 16:00:44 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id EA98D51495; Tue, 26 Oct 2004 09:01:37 -0700 (PDT) Date: Tue, 26 Oct 2004 09:01:37 -0700 From: Kris Kennaway To: Gary Kline Message-ID: <20041026160137.GA31869@xor.obsecurity.org> References: <20041026024356.GA96981@thought.org> <20041026035437.GA30968@xor.obsecurity.org> <20041026045647.GA97200@thought.org> <20041026072623.GA64337@xor.obsecurity.org> <20041026073850.GA97684@thought.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="PEIAKu/WMn1b1Hv9" Content-Disposition: inline In-Reply-To: <20041026073850.GA97684@thought.org> User-Agent: Mutt/1.4.2.1i cc: FreeBSD Mailing List cc: Kris Kennaway Subject: Re: lib/pam problems... 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: Tue, 26 Oct 2004 16:00:44 -0000 --PEIAKu/WMn1b1Hv9 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Oct 26, 2004 at 12:38:50AM -0700, Gary Kline wrote: > On Tue, Oct 26, 2004 at 12:26:23AM -0700, Kris Kennaway wrote: >=20 > > > > Is your xdm linked to stale (FreeBSD 4.x) libraries? > > > >=20 > > >=20 > > > no, already checked thatt. xfree86 is gone; only xorg binaries > > > are there. also,i moved away pam.conf; it has the same info as > > > pam.d, but just to see... > >=20 > > Can you humour me and run a ldd on the xdm binary? > >=20 > Hm, ahhh, maybe... (!) sure... =20 >=20 > root@sartre:/etc# ldd `which xdm` > /usr/X11R6/bin/xdm: > libXpm.so.4 =3D> /usr/X11R6/lib/libXpm.so.4 (0x2808c000) > libXmu.so.6 =3D> /usr/X11R6/lib/libXmu.so.6 (0x2809a000) > libXt.so.6 =3D> /usr/X11R6/lib/libXt.so.6 (0x280af000) > libSM.so.6 =3D> /usr/X11R6/lib/libSM.so.6 (0x280f9000) > libICE.so.6 =3D> /usr/X11R6/lib/libICE.so.6 (0x28102000) > libXext.so.6 =3D> /usr/X11R6/lib/libXext.so.6 (0x28119000) > libX11.so.6 =3D> /usr/X11R6/lib/libX11.so.6 (0x28127000) > libXau.so.0 =3D> /usr/X11R6/lib/libXau.so.0 (0x281e5000) > libXdmcp.so.0 =3D> /usr/X11R6/lib/libXdmcp.so.0 (0x281e8000) > libpam.so.1 =3D> /usr/lib/libpam.so.1 (0x281ec000) > libcrypt.so.2 =3D> /lib/libcrypt.so.2 (0x281f6000) > libXinerama.so.1 =3D> /usr/X11R6/lib/libXinerama.so.1 (0x2820e000) > libutil.so.3 =3D> /usr/lib/libutil.so.3 (0x28211000) > libxpg4.so.3 =3D> /usr/lib/libxpg4.so.3 (0x2821a000) > libc.so.4 =3D> /usr/lib/libc.so.4 (0x2821c000) ^^^^^^^^^ Thought so..that's a 4.x binary. You can't mix 4.x binaries and 5.x libraries, which is why you're getting the PAM failure from dlopen(). Rebuild it. Kris --PEIAKu/WMn1b1Hv9 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQFBfnThWry0BWjoQKURAqNnAKCq9lmj6EMsINmI1lpxINS6ym3AuACeMKeL 5txwB2HWtRvjRniaoJFBSzM= =GVaG -----END PGP SIGNATURE----- --PEIAKu/WMn1b1Hv9--