freebsd 7.0 sshd authenticating against ldap core dumping
Dave
dmehler26 at woh.rr.com
Sat Mar 15 14:23:10 UTC 2008
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.
More information about the freebsd-questions
mailing list