Vanilla redhat 6.2 with openldap and nss_ldap. When telnetting to the server from a pc which doesn't have reverse address in the dns it disconnects after a password. There's no details in the log. tcp_wrappers (tcpd) are NOT used. Attaching strace to the inetd (-f -p) shows that the process /bin/login which is passed parameters: -h 10.0.0.1 -p and environment which consists of REMOTEHOST=10.0.0.1 and TERM=xterm dies with SEGMENTATION FAULT. The 10.0.0.1 is the address of the client. /etc/nsswitch.conf lists ldap in passwd, group, shadow, NOT hosts. /etc/resolv.conf, /etc/host.conf are simple and usual. I was able to reproduce it on freshly installed system. pam and openldap are updated to ones from updates. all components are from redhat.com This is exteremely annoying bug.
Does this only happen with LDAP installed? -- Keith Moore
Does this happen with 7.0 as well?