From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Jul 17 16:20:08 2012 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8B5EA1065670 for ; Tue, 17 Jul 2012 16:20:08 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 5F5F88FC1C for ; Tue, 17 Jul 2012 16:20:08 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q6HGK81t051702 for ; Tue, 17 Jul 2012 16:20:08 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q6HGK8sv051701; Tue, 17 Jul 2012 16:20:08 GMT (envelope-from gnats) Resent-Date: Tue, 17 Jul 2012 16:20:08 GMT Resent-Message-Id: <201207171620.q6HGK8sv051701@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Seth Lyons Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4925B1065677 for ; Tue, 17 Jul 2012 16:16:47 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id 340B98FC08 for ; Tue, 17 Jul 2012 16:16:47 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.4/8.14.4) with ESMTP id q6HGGlwV056751 for ; Tue, 17 Jul 2012 16:16:47 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id q6HGGk8J056750; Tue, 17 Jul 2012 16:16:46 GMT (envelope-from nobody) Message-Id: <201207171616.q6HGGk8J056750@red.freebsd.org> Date: Tue, 17 Jul 2012 16:16:46 GMT From: Seth Lyons To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/169943: pam_ldap no longer works with openssl X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Jul 2012 16:20:08 -0000 >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: