From owner-freebsd-ports@FreeBSD.ORG Tue Jun 24 07:56:18 2003 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BE9EC37B401 for ; Tue, 24 Jun 2003 07:56:18 -0700 (PDT) Received: from mailhub2.imos.net (mailhub2.imos.net [212.87.132.54]) by mx1.FreeBSD.org (Postfix) with ESMTP id 48B5243FA3 for ; Tue, 24 Jun 2003 07:56:17 -0700 (PDT) (envelope-from uw@imos.net) Received: from mail.imos.net (IDENT:root@scott.imos.net [195.4.248.13]) by mailhub2.imos.net (8.12.9/8.12.9) with ESMTP id h5OEuFLb004860 for ; Tue, 24 Jun 2003 16:56:15 +0200 Received: from sulu.imos.net (projekte.imos.net [212.87.131.201]) by mail.imos.net (8.12.9/8.12.9) with ESMTP id h5OEuFsn024143 for ; Tue, 24 Jun 2003 16:56:15 +0200 Received: from mail.hq.imos.net (localhost [127.0.0.1]) by sulu.imos.net (8.12.2/8.12.2) with ESMTP id h5OEuFOm000983 for ; Tue, 24 Jun 2003 16:56:15 +0200 Received: from imos.net (ulrich.hq.imos.net [192.168.150.160]) by mail.hq.imos.net (8.12.9/8.12.9) with ESMTP id h5OEuG7O021909 for ; Tue, 24 Jun 2003 16:56:16 +0200 Message-ID: <3EF86691.8070507@imos.net> Date: Tue, 24 Jun 2003 16:56:17 +0200 From: Ulrich Weber User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030617 X-Accept-Language: de, en-us, en MIME-Version: 1.0 To: ports@FreeBSD.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -5.8 () USER_AGENT_MOZILLA_UA X-Scanned-By: MIMEDefang 2.32 (www . roaringpenguin . com / mimedefang) Subject: FreeBSD Port: nss_ldap-1.204_1 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Jun 2003 14:56:19 -0000 Hi! Maybe someone has an idea. I installed nss_ldap-1.204_1 on my FreeBSD 5.0 machine with db3-3.3.11,1 and openldap20-2.0.25_4. I edited /etc/nsswitch.conf and /etc/ldap.conf, but FreeBSD doesn't seem to use nss_ldap. Greetings Ulrich ---/etc/ldap.conf URI ldap://test1.lan.net bindpw secret binddn cn=Manager,dc=lan,dc=net pam_check_host_attr yes nss_base_passwd ou=users,dc=lan,dc=net nss_base_shadow ou=users,dc=lan,dc=net ---ldd /usr/local/lib/nss_ldap.so.1 /usr/local/lib/nss_ldap.so.1: libldap.so.2 => /usr/local/lib/libldap.so.2 (0x2814d000) liblber.so.2 => /usr/local/lib/liblber.so.2 (0x28175000) libssl.so.3 => /usr/lib/libssl.so.3 (0x28180000) libcrypto.so.3 => /usr/lib/libcrypto.so.3 (0x281af000) ---strace ls -axl (only ldap in /etc/nsswitch.conf) stat("/etc/nsswitch.conf", {st_mode=02, st_size=3096271989178379, ...}) = 0 open("/etc/nsswitch.conf", O_RDONLY) = 4 break(0x80d7000) = 0 ioctl(4, TIOCGETA, 0xbfbfee40) = -1 ENOTTY (Inappropriate ioctl for device) fstat(4, {st_mode=02, st_size=3096271989178379, ...}) = 0 break(0x80db000) = 0 read(4, "passwd: ldap\n", 16384) = 13 read(4, "", 16384) = 0 break(0x80dc000) = 0 break(0x80dd000) = 0 ioctl(4, TIOCGETA, 0xbfbfee20) = -1 ENOTTY (Inappropriate ioctl for device) close(4) = 0 open("/etc/group", O_RDONLY) = 4