lib/pam problems...

Kris Kennaway kris at obsecurity.org
Tue Oct 26 09:00:44 PDT 2004


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:
> 
> > > > Is your xdm linked to stale (FreeBSD 4.x) libraries?
> > > > 
> > > 
> > > 	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...
> > 
> > Can you humour me and run a ldd on the xdm binary?
> > 
> 	Hm, ahhh, maybe...  (!)  sure...  
> 
> root at sartre:/etc# ldd `which xdm`
> /usr/X11R6/bin/xdm:
>         libXpm.so.4 => /usr/X11R6/lib/libXpm.so.4 (0x2808c000)
>         libXmu.so.6 => /usr/X11R6/lib/libXmu.so.6 (0x2809a000)
>         libXt.so.6 => /usr/X11R6/lib/libXt.so.6 (0x280af000)
>         libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0x280f9000)
>         libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0x28102000)
>         libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x28119000)
>         libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x28127000)
>         libXau.so.0 => /usr/X11R6/lib/libXau.so.0 (0x281e5000)
>         libXdmcp.so.0 => /usr/X11R6/lib/libXdmcp.so.0 (0x281e8000)
>         libpam.so.1 => /usr/lib/libpam.so.1 (0x281ec000)
>         libcrypt.so.2 => /lib/libcrypt.so.2 (0x281f6000)
>         libXinerama.so.1 => /usr/X11R6/lib/libXinerama.so.1 (0x2820e000)
>         libutil.so.3 => /usr/lib/libutil.so.3 (0x28211000)
>         libxpg4.so.3 => /usr/lib/libxpg4.so.3 (0x2821a000)
>         libc.so.4 => /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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20041026/35f2b6ab/attachment.bin


More information about the freebsd-questions mailing list