Comments - Authentication Plugin - PAM

Thank you. I’m trying to configure the LDAP authentication for MariaDB on SUSE 11 SP1, but somewhat not able to connect; even it does not give much logging both in Mysql n linux log/message; it would be great if someone put me into the right info how to configure the ldap auth for MariaDB or how to debug or correct me w/ the right set of config.

Below are the client n db server version mysql Ver 15.1 Distrib 10.0.13-MariaDB, for Linux (x86_64) using readline 5.1 MariaDB Server version 10.0.13-MariaDB with Protocol version 10

I follow the below pattern for PAM n LDAP config…

plugin-load=auth_pam.so ... /etc/pam.d/mysql: auth required pam_ldap.so config=/etc/ldap_mysql.conf debug account required pam_ldap.so config=/etc/ldap_mysql.conf debug /etc/ldap_mysql.conf:

host >hostname< Port <> Base Bindn bindpw

with the above configuration I’m able to get the required AD attributes using ldapsearch

 
Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.