Comments - Authentication Plugin - PAM
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.
details:
/etc/mysql/my.cnf:
...
[mysqld]
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:
uri ldaps:ldap.xxx ldaps:ldap2.xxx
ssl on
scope sub
software versions:
dev-db/mariadb 5.5.31
sys-auth/pam_ldap 186
net-nds/openldap 2.4.35
sys-libs/pam 1.1.6