PAM installation with mysql using LDAP Authentication is not letting to login

I’ve setup PAM 5.6.23 from tar and configured to use LDAP authentication, in some server it is working fine while i’ve some other boxes having [ Red Hat Enterprise Linux Server release 6.2 (Santiago) & CentOS release 5.8 (Final) ] is not working properly.
I checked all the permissions and file configuration and everything seems fine.

#cat /etc/pam.d/mysqld
auth required pam_ldap.so
account required pam_ldap.so

Can you please help to figure out the issue ?
Please do let me know if any other info is required.

Hi,

Can you provide the following:

SELECT * FROM mysql.user where User=’’;

cat /var/log/secure

Thanks!

Hi Jamie,

For the LDAP configuration, the following article appears to be a step in the right direction.

http://www.itchyninja.com/ldap-authentication-in-mysql/

Let us know if you run into any difficulties!