[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: SSH and LDAP problem

On Mon, 2004-01-05 at 06:35, David Moron wrote:
> Hi,
> I,ve installed openldap 2.1.25 on a Debian 3.0 in order to authenticate 
> the users with PAM.
> I configured all the services (proftpd, su, passwd ,etc) in order to use 
> PAM to access the ldap server and they work properly. When I try using ssh:
> - If the user is in /etc/passwd: ssh asks for password and then closes 
> the connection:
>          #ssh -l admin
>           admin@'s password:
>           Connection closed by
> - If the user is in the ldap: ssh closes the connection directly:   
>        #ssh -l testldap
>        Connection closed by
>  - When I stop the ldap then I con login via ssh as a /etc/passwd user 
> without problems.
sounds like the ldap user doesn't have a valid shell to operate in...

getent passwd |grep admin

admin in /etc/passwd has a valid shell /bin/sh ?
admin in ldap has invalid shell or no shell at all

just a guess