Subject: pkg/34285: solution for nss_ldap install bug
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <fkruchio@rhca.gotdns.com>
List: pkgsrc-bugs
Date: 08/26/2006 00:35:00
>Number:         34285
>Category:       pkg
>Synopsis:       solution for nss_ldap install bug
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Aug 26 00:35:00 +0000 2006
>Originator:     Frank Kruchio
>Release:        NetBSD 3.0
>Organization:
	NZ
>Environment:
	
	
System: NetBSD maci.rhca.gotdns.com 3.0 NetBSD 3.0 (MYKERNEL) #4: Thu Apr 13 22:46:00 NZST 2006 root@piros.eper.co.nz:/usr/obj/sys/arch/i386/compile/MYKERNEL i386
Architecture: i386
Machine: i386
>Description:
	Install of the nss_ldap package from pkgsrc fails to configure nss_ldap correctly
>How-To-Repeat:
	install and configure nss_ldap on NetBSD 3.0 RELEASE
	run the command 'getent passwd' and notice getent fails to return the users from the LDAP server
>Fix:

cd /usr/pkg/lib/
ln -s nss_ldap.so.1 nss_ldap.so.0

Explanation: 
ktrace getent passwd | kdump
shows that getent looks for a file named nss_ldap.so.0 and fails to find it unless the link is created.

>Unformatted:
                 Nnetbsd-3-0-RELEASE