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.

Marcin Lubojanski