Operating System - HP-UX
1753797 Members
7095 Online
108799 Solutions
New Discussion юеВ

LDAP-UX and user authentication

 
SOLVED
Go to solution
Greg Wojtak
Advisor

LDAP-UX and user authentication

I am using LDAP-UX to set up HP servers to authenticate against our eDirectory tree, and so far I have been successful with one glaring problem. Every authentication method I have tried (telnet, ftp, ssh, rsh, su, etc) worhs with the exception of ssh. I can log in as a user with a local account but when I use an LDAP user, I get the message 'Connection closed by xxx.xxx.xxx.xxx'. It does this without prompting for a password. I have set sshd to debug, but haven't found anything useful, I have tried adding the debug option to the libpam_unix.so.1 and libpam_ldap.so.1 entries in /etc/pam.conf with nothing useful. Can anyone suggest a course of action here? I'm just stuck!
3 REPLIES 3
Armin Kunaschik
Esteemed Contributor
Solution

Re: LDAP-UX and user authentication

What version of ssh do you use?
The official HP-Version (at least) tells, that
it's LDAP capable.
Are all required patches installed (i remember
there was a requisite pam patch...)
Did you try the debug mode for sshd (sshd -ddd)?
And, of course, ssh -vvv is your friend...

Hope this helps,
Armin
And now for something completely different...
Sanjay_6
Honored Contributor

Re: LDAP-UX and user authentication

Greg Wojtak
Advisor

Re: LDAP-UX and user authentication

Upgraded the version of HP secure shell I was using and it worked. HP secure shell 3.7 was installed, and apparently it didn't support pam ldap authentication. Thanks for your input!