Date: Tue, 17 Jul 2012 16:16:46 GMT From: Seth Lyons <seth.lyons@gmail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/169943: pam_ldap no longer works with openssl Message-ID: <201207171616.q6HGGk8J056750@red.freebsd.org> Resent-Message-ID: <201207171620.q6HGK8sv051701@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 169943 >Category: ports >Synopsis: pam_ldap no longer works with openssl >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Jul 17 16:20:08 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Seth Lyons >Release: 9.0 >Organization: >Environment: FreeBSD my.hostname 9.0-RELEASE-p3 FreeBSD 9.0-RELEASE-p3 #0: Tue Jun 12 02:52:29 UTC 2012 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 >Description: pam_ldap no longer works with ssl since openssl was bumped up to libssl.so.8 and libcrypto.so.8. nss_ldap works fine -- getent passwd will show all ldap users -- but all logins fail. a system with the same configuration using the older openssl libraries works. working system system1# ldd /usr/local/lib/pam_ldap.so /usr/local/lib/pam_ldap.so: libldap-2.4.so.8 => /usr/local/lib/libldap-2.4.so.8 (0x80120a000) liblber-2.4.so.8 => /usr/local/lib/liblber-2.4.so.8 (0x80144c000) libcrypt.so.5 => /lib/libcrypt.so.5 (0x801659000) libpam.so.5 => /usr/lib/libpam.so.5 (0x801879000) libc.so.7 => /lib/libc.so.7 (0x80084a000) libssl.so.6 => /usr/lib/libssl.so.6 (0x801a81000) libcrypto.so.6 => /lib/libcrypto.so.6 (0x801cd4000) non-working system system2# ldd /usr/local/lib/pam_ldap.so /usr/local/lib/pam_ldap.so: libldap-2.4.so.8 => /usr/local/lib/libldap-2.4.so.8 (0x80120a000) liblber-2.4.so.8 => /usr/local/lib/liblber-2.4.so.8 (0x80144c000) libcrypt.so.5 => /lib/libcrypt.so.5 (0x801659000) libpam.so.5 => /usr/lib/libpam.so.5 (0x801879000) libc.so.7 => /lib/libc.so.7 (0x80084a000) libssl.so.8 => /usr/local/lib/libssl.so.8 (0x801a81000) libcrypto.so.8 => /usr/local/lib/libcrypto.so.8 (0x801ce5000) >How-To-Repeat: --install openldap24-client, pam_ldap, nss_ldap from ports --update /etc/pam.d/sshd to use ldap --update /etc/nsswitch.conf to use ldap --attempt to ssh to the machine >Fix: >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201207171616.q6HGGk8J056750>