From owner-freebsd-current@FreeBSD.ORG Wed Dec 21 22:09:25 2011 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D9D35106566B for ; Wed, 21 Dec 2011 22:09:25 +0000 (UTC) (envelope-from ohartman@zedat.fu-berlin.de) Received: from outpost1.zedat.fu-berlin.de (outpost1.zedat.fu-berlin.de [130.133.4.66]) by mx1.freebsd.org (Postfix) with ESMTP id 92F7D8FC19 for ; Wed, 21 Dec 2011 22:09:25 +0000 (UTC) Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost1.zedat.fu-berlin.de (Exim 4.69) for freebsd-current@freebsd.org with esmtp (envelope-from ) id <1RdULk-000162-L6>; Wed, 21 Dec 2011 23:09:24 +0100 Received: from e178038211.adsl.alicedsl.de ([85.178.38.211] helo=munin.geoinf.fu-berlin.de) by inpost2.zedat.fu-berlin.de (Exim 4.69) for freebsd-current@freebsd.org with esmtpsa (envelope-from ) id <1RdULk-0005bw-Hj>; Wed, 21 Dec 2011 23:09:24 +0100 Message-ID: <4EF25913.50107@zedat.fu-berlin.de> Date: Wed, 21 Dec 2011 23:09:23 +0100 From: "Hartmann, O." Organization: FU Berlin User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:8.0) Gecko/20111109 Thunderbird/8.0 MIME-Version: 1.0 To: freebsd-current@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Originating-IP: 85.178.38.211 Subject: xdm/login: in openpam_check_path_owner_perms(): /usr/local/lib/pam_ldap.so.5 not found X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Dec 2011 22:09:25 -0000 OS: FreeBSD 10.0-CURRENT/amd64 r228787 Since the last update of world yesterday were I managed to compile the OS WITH_LIBCPLUSPLUS=YES in /etc/src.conf, only root is capable to login on the console. I use OpenLDAP 2.4 as the backend for usual users, having also an "emergency" user installed in the local /etc/passwd just in case. The problem is, I can not login via xdm or console login anymore as any usual user, even not as a user residing in the local passwd file. Trying to login as LDAP backed user, I get the error SASL/DIGEST-MD5 authentication started Login icorrect Inspecting /var/log/auth.log reveals for this incident login: in openpam_check_path_owner_perms(): /usr/local/lib/pam_ldap.so.5: No such file or directory Trying tologin as a local (/etc/passwd backed) user gets sometimes the same login issue, but sporadically I get a login but landing in / instead of /home/user. /home is a ZFS volume. I reinstalled pam_ldap, nss_ldap, openldap-sasl-server/client many times now since I suspected a fault in compilation (everything is compiled via CLANG), but I have no success. /usr/local/lib/pam_ldap.so.5 does not exist, it is simply pam_ldap.so. It seems, that the OS can not find the homes on the ZFS volume. Doing a su - USER works for all LDAP users but not the local users, I receive the error su: no directory. This is very strange. While su - as root does not work, login as such a failing user work, but as mentioned without home. The last thing I did on that box is: I recompiled yesterday evening world, switched the box off. When I switched the box on today, I ran into this issue. I recompile the system without flag WITH_LIBCPLUSPLUS and see what is happening. Do others also see this strange behaviour? Regards, Oliver