On Thu, Dec 13, 2007 at 10:26:02PM -0800, Jyotishmaan Ray wrote:
> Dear Alex,
>
> Thank you for you reply!!!
should try and keep it on the list
>
> As of now i am trying to log on to the server, using the userid - "jmaan" and "ldapusr", but could not log on.
>
> The /etc/ldap.conf file is enclosed with this mail as an attachement. And the output of the command, getent passwd jmaan is shown below:-
> [root@authdns ~]# getent passwd jmaan
> jmaan:*:623:623:jmaan:/home/jmaan:/bin/bash
> [root@authdns ~]# getent passwd ldapusr
> ldapusr:*:625:625:ldapusr:/home/ldapusr:/bin/bash
> [root@authdns ~]#
>
> Which shows pam_ldap os working fine. Even the getent passwd is working fine.
i believe getent uses libnss not libpam-ldap
>
> The output of the command ssh "hostname" -l "uid" is also shown below:-
>
> [root@authdns ~]# ssh authdns.nits.ac.in -l jmaan
>
jmaan@...'s password:
> Permission denied, please try again.
>
jmaan@...'s password:
> Permission denied, please try again.
>
jmaan@...'s password:
> Permission denied (publickey,gssapi-with-mic,password).
> [root@authdns ~]# ssh authdns.nits.ac.in -l ldapusr
>
ldapusr@...'s password:
> Permission denied, please try again.
>
ldapusr@...'s password:
> Permission denied, please try again.
>
ldapusr@...'s password:
> Permission denied (publickey,gssapi-with-mic,password).
> [root@authdns ~]#
>
>
> Please Alex, kindly investigate and help me as soon as possible.
you have to look at the out the output from slapd, it the other emails you had
authentication errors in your slapd output