Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 Mar 2008 10:22:16 -0400
From:      "Dave" <dmehler26@woh.rr.com>
To:        <freebsd-questions@freebsd.org>
Subject:   freebsd 7.0 sshd authenticating against ldap core dumping
Message-ID:  <000f01c886a7$f86de070$0200a8c0@satellite>

next in thread | raw e-mail | index | archive | help
Hello,
Is anyone using ldap authentication with 7.0? I've got a 7.0-release box 
that i'm trying to get ldap authentication working with. The 7.0 box is the 
client in this case. I'm encrypting connections with tls, which is working. 
On the box itself i can do an ldapsearch for a user and an id for a user 
plus ls -l information on users shows up correctly. I've added ldap to my 
/etc/nsswitch.conf file. So far nothing has blown up, i can still log in as 
normal. My issue comes when i add the line:

auth sufficient /usr/local/lib/pam_ldap.so try_first_pass

to /etc/pam.d/sshd and restart sshd. Now whenever i try to log in either as 
a local user, nonldap or as an ldap user sshd exits with a signal 11, this 
only occurs with that line in pam.d/sshd, remove it and restart and all is 
well. I've googled and seen others with this but with no solution. My logs 
show sshd exiting with the signal 11 then nothing. An ssh -v -v -v shows the 
connection is closed after the file ~/.ssh/identity is searched for.
    Any help appreciated.
Thanks.
Dave.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000f01c886a7$f86de070$0200a8c0>