I want to connect LDAP to my MariaDB instance on my Ubuntu server so that I can create user accounts by linking them like this:
CREATE USER 'testuser'@'%'
IDENTIFIED WITH authentication_ldap_simple
AS 'uid=testuser,ou=testing,dc=test,dc=com';
But for that I need to install the plugin
authentication_ldap_simple
. I tried installing it with this command but it failed:
INSTALL PLUGIN authentication_ldap_simple SONAME 'authentication_ldap_simple.so';
ERROR 1126 (HY000): Can't open shared library '/usr/lib/mysql/plugin/authentication_ldap_simple.so' (errno: 2, cannot open shared object file: No such file or directory)
I tried to find a way to install the plugin via apt but I couldn't find any. Can you help me? How do I install authentication_ldap_simple
or get the file authentication_ldap_simple.so
? Or is there another way to authenticate with LDAP?
Asked by ojn06031
Apr 11, 2022, 06:41 AM
Last activity: May 23, 2025, 12:07 PM
Last activity: May 23, 2025, 12:07 PM