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

ssh



Hi,

I can use ssh with my system accounts.
I can't connect with my LDAP account.

ssh toto@mail               
toto@mail.aquitaine.fr's password: 
Permission denied, please try again.
toto@mail.aquitaine.fr's password: 
Permission denied, please try again.
toto@mail.aquitaine.fr's password: 

I have an authentification with "su" on my LDAP accounts.

Have you got any idea ?

Thanks

-- 
Gabriel GOUDY

/etc/pam.d/ssh :
#%PAM-1.0
 
auth       required     pam_nologin.so
auth       sufficient	/lib/security/pam_ldap.so
auth       required     pam_unix.so
auth       required     pam_env.so # [1]

account    sufficient    /lib/security/pam_ldap.so
account    required     pam_unix.so

session    required     pam_unix.so
session    optional     pam_lastlog.so # [1]
session    optional     pam_motd.so # [1]
session    optional     pam_mail.so standard # [1]
session    required     pam_limits.so

password   sufficient   /lib/security/pam_ldap.so
password   required     pam_unix.so

/etc/pam_ldap.conf

# Your LDAP server.
host 127.0.0.1

# The distinguished name of the search base.
base dc=aquitaine, dc=fr

# Use the V3 protocol to optimize searches
ldap_version 2
pam_crypt local
am_filter objectclass=account
pam_login_attribute uid
pam_password crypt
ssl yes