nss_ldap causes abort in sshd when local user logs in

Florent Thoumie flz at xbsd.org
Thu Apr 13 15:33:08 UTC 2006


On Thu, 2006-04-13 at 09:08 -0500, Guy Helmer wrote:
> Guy Helmer wrote:
> > I have nss_ldap 249 installed on FreeBSD 5.4 and 6.1 (prerelease) from 
> > FreeBSD's net/nss_ldap port. "passwd: files ldap winbind" & "group: 
> > files ldap winbind" are set in /etc/nsswitch.conf.  However, nss_ldap 
> > causes an abort signal when I try to login to my local account (which 
> > exists in /etc/master.passwd) via ssh. Removing ldap from the group 
> > line in /etc/nsswitch.conf allows me to login but without my group 
> > memberships from LDAP (server is OpenLDAP 2.2.29).    I've filed a bug 
> > report at padl.com in case this is truly a bug.
> Never mind.  I setup the configuration file /usr/local/etc/ldap.conf, 
> but nss_ldap wanted the configuration in /usr/local/etc/nss_ldap.conf.  
> Creating a symlink from nss_ldap.conf to ldap.conf in /usr/local/etc 
> fixed the problem

${PREFIX}/etc/ldap.conf is used by pam_ldap. Both files are the same,
but nss_ldap relies on ${PREFIX}/etc/nss_ldap.conf.

-- 
Florent Thoumie
flz at FreeBSD.org
FreeBSD Committer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: This is a digitally signed message part
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20060413/1fa4da8c/attachment.pgp


More information about the freebsd-ports mailing list