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

Help!!!



Hi,

I'm trying to authenticate to my openldap server using ssh, however my /var/log/messages 
says:

Jul  2 08:57:21 nebula sshd[41718]: pam_ldap: ldap_search_s No such object
Jul  2 08:57:21 nebula sshd[41716]: error: PAM: Authentication failure
Jul  2 08:57:27 nebula sshd[41719]: pam_ldap: ldap_search_s No such object
Jul  2 08:57:27 nebula sshd[41716]: error: PAM: Authentication failure
Jul  2 08:57:33 nebula sshd[41720]: pam_ldap: ldap_search_s No such object


My pam.conf:

login   auth    sufficient      /usr/local/lib/pam_ldap.so
login   auth    sufficient      pam_skey.so
login   auth    sufficient      pam_opie.so                     no_fake_prompts
#login  auth    requisite       pam_opieaccess.so
login   auth    requisite       pam_cleartext_pass_ok.so
login   auth    required        pam_unix.so                     try_first_pass
login   account required        pam_unix.so
login   password required       pam_permit.so
login   session required        pam_permit.so


sshd    auth    sufficient      /usr/local/lib/pam_ldap.so   
# sshd  auth    sufficient      pam_skey.so
sshd    auth    sufficient      pam_opie.so                     no_fake_prompts
#sshd   auth    requisite       pam_opieaccess.so    
#sshd   auth    sufficient      pam_kerberosIV.so               try_first_pass
#sshd   auth    sufficient      pam_krb5.so                     try_first_pass
sshd    auth    required        pam_unix.so                     try_first_pass
sshd    account required        pam_unix.so
sshd    password required       pam_permit.so
sshd    session required        pam_permit.so


Thank you