[Classic-discuss] ldap: local login works but ssh doesn't

Rolf Deenen rdeenen at home.nl
Tue Jan 30 22:23:46 UTC 2007


Hello list,

I am trying to use ldap for as many as possible services as possible on my
tinysofa classic homeserver. I am a complete newbe to the subject but have
managed to get ldap authentication working using ldap (looking back it wasn't
that difficult. I wished i had noticed authconfig earlier :-) ). However, i
mostly access the machine through ssh and i have been unable to authenticate
through ldap. I have used authconfig to configure the machine to use ldap. When
i try to login though ssh it keeps giving me "permission denied" with the same
account i can use to login locally using ldap authentication. When i start the
server manually using /usr/sbin/slapd -d 1 (for debugging) i DO see a lot of
action going on when i try to log in. Does this mean that my pam/nss setup is
ok? Are there common pitfalls to logging in with ssh using ldap? If is could be
an pam/nss issue, can someone with the same setup share me his or her
/etc/pam.d/sshd file?

I have been googling around for the subject but have not been able to detect an
error in my setup.

Thanks in advance,
Rolf Deenen




More information about the Classic-discuss mailing list