LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   LDAP is not authenticating users. (https://www.linuxquestions.org/questions/linux-software-2/ldap-is-not-authenticating-users-4175462840/)

shri_22ram 05-21-2013 04:17 AM

LDAP is not authenticating users.
 
i am trying to do ldap authentication using PAM in Centos.
I have disabled the anonymous access in LDAP [by default anonymous access is enabled] and configured binddn and bindpw in /etc/ldap.conf file leads PAM to bind with LDAP.

ldapsearch is showing the users and binding with the dn which i have created. i have verified by executing the ldapsearch utility.

Sometimes it is happening and after some time it is not happening. I have not changed anything in the default code base.

Could anybody help me in this situation.

Thanks
Shriram.

fortran 05-21-2013 07:44 AM

Have you run the Authentication Configuration Tool (system-config-authentication) and select Enable LDAP Support under the the Authentication tab ?

shri_22ram 05-21-2013 07:51 AM

yes i have executed the authconfig tool and enabled LDAP authentication. Problem is sometimes it is authenticating sometimes not. behaviour is strange...

Thanks
Shriram.

fortran 05-21-2013 08:00 AM

When user is not able to log-in,have you checked the LDAP server is still running?
Paste your ldap log file contents here.


All times are GMT -5. The time now is 02:37 AM.