From owner-freebsd-questions@FreeBSD.ORG Tue Aug 26 08:27:29 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B2B17106566B for ; Tue, 26 Aug 2008 08:27:29 +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 753E38FC1B for ; Tue, 26 Aug 2008 08:27:29 +0000 (UTC) (envelope-from ohartman@zedat.fu-berlin.de) Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost1.zedat.fu-berlin.de (Exim 4.69) for freebsd-questions@freebsd.org with esmtp (envelope-from ) id <1KXttg-0003xX-4A>; Tue, 26 Aug 2008 10:27:28 +0200 Received: from telesto.geoinf.fu-berlin.de ([130.133.86.198]) by inpost2.zedat.fu-berlin.de (Exim 4.69) for freebsd-questions@freebsd.org with esmtpsa (envelope-from ) id <1KXttg-0003mi-3C>; Tue, 26 Aug 2008 10:27:28 +0200 Message-ID: <48B3BDEF.70409@zedat.fu-berlin.de> Date: Tue, 26 Aug 2008 08:25:19 +0000 From: "O. Hartmann" Organization: Freie =?ISO-8859-15?Q?Universit=E4t_Berlin?= User-Agent: Thunderbird 2.0.0.16 (X11/20080728) MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: 130.133.86.198 Subject: OpenLDAP amd64/i386 weirdness X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Aug 2008 08:27:29 -0000 Hello, I made some strange experiences in running OpenLDAP 2.4.11 on both i386 and amd64 architectures of the most recent FreeBSD 7.0-STABLE. I already setup and run three servers (fourth is coming soon). Two of them are based on FreeBSD amd64, one is based on i386. The do have almost the same configuration, the same portrevision of both nss_ldap and pam_ldap I need to use (nss_ldap-1.257, pam_ldap-1.8.4), and, of course, the same OpenLDAP port (openldap-sasl-client-2.4.11,openldap-sasl-server-2.4.11) an the same SASL2 libraries taken from port (cyrus-sasl-ldapdb-2.1.22). So, this is the base on ALL boxes! Also the changes in /etc/pam.d/system, /etc/pam.d/sshd, /etc/pam.d/other and /etc/pam.d/passwd are exactly the same. So, now the weird thing. On all amd64-boxes I can config /etc/nsswitch.conf this way and it works: passwd: compat passwd_compat: ldap group: compat group_compat: ldap The manpages do not reveal anything about 'ldap' is allowed (FreeBSD is in this case far behind anything else out the server market, a shame), I tried it and had success on all of my amd64-boxes. But using the same on the third i386-server fails. And now I'm asking myself what I've done magic or wrong or have overseen (a small piece in the chain of configurations) or is there indeed a difference between amd64 and i386 in handling this? Thanks in advance, Oliver P.S. Please respond to my email also, I'm not subscriber of the 'questions' list. Thank you.