Red Hat Bugzilla – Bug 242825
Segfault when using ssh in with LDAP auth
Last modified: 2008-08-02 19:40:34 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:126.96.36.199) Gecko/20060426 Firefox/188.8.131.52
Description of problem:
Using SSH to access a server running RHEL 4 Update 5 x86_64. When I try to login to a user in the LDAP datastore 'login' segfaults. When I use a user defined in /etc/passwd, the login works correctly. Here's the syslog entry:
Jun 6 11:05:19 vr2-wg-prod-dcs-02 kernel: sshd: segfault at 0000000000000
000 rip 0000002a972d66a4 rsp 0000007fbfffe190 error 4
This is a newly built server, so it is possible that it is 'user error', but I believe not.
Version-Release number of selected component (if applicable):
pam-0.77-66.21 nss_ldap-226-18 openldap-2.2.13-7.4E
Steps to Reproduce:
1. Setup LDAP/PAM for LDAP authentication. Other servers successfully access the same existing LDAP server as the new server. The other servers are RHEL 4 up to update 4. This machine is RHEL 4 update 5.
2. Login using ssh as a user defined in /etc/passwd on this machine - it works.
3. Login using ssh as a user only defined in the LDAP server - the ssh window disappears and a segfault record appears in the syslog.
Ssh window disappears, segfault appears in the syslog.
shell prompt should have appeared.
Putty (ssh) release 0.56
As this doesn't happen with users in /etc/passwd nss_ldap is the most probable
Please close as 'user error'. A reconfiguration and reboot fixed it. Both PAM
and NSS were configured for authentication. Removed PAM changes and left NSS
and it worked.
[When I try to close it I get message "You tried to change the Status field
from NEW to CLOSED, but only the owner or submitter of the bug, or a autorized
user, may change that field." So far as I'm aware I am logged in with the ID
that the bug report was created with.]