problem with ssh and LDAP

From: Marcin Lubojański (marcin_lubojanski_usun_to_at_i_to_tez_pf.pl)
Date: 02/26/04


Date: Thu, 26 Feb 2004 11:10:17 +0100

Hi
I have LDAP server running. On other host i connect to it an it looks it
works (getent passwd is giving back users from LDAP).
But I have a problem with logging through ssh to that other host. It
dont accept LDAP users.
When I started sshd with -d option I sow when I was trying to login
"illegal user". But it was trying to authorize me through PAM (and I
think LDAP).

Opensshd v 3.7.1

Anybody had same problem? What I do wrong?

In nsswitch.conf I have:

passwd files ldap

In pam.d/sshd:

auth sufficient pam_ldap.so
account sufficient pam_ldap.so

Im trying to make it several days now. Please help me...

Sorry for crosspost.

Regards
Marcin Lubojanski

-- 
www.tramping.slask.prv.pl
www.goscinni.betacom.pl


Relevant Pages