Question
When setting up LDAP authentication on some Linux variants we have found that GMS and Vanguard are not able to locate the libldap.so library.
This error will be shown in the log files after configuring LDAP authentication in the administrative interface. Here is an example of the error that may be shown:
Failed to load LDAP DLL (libldap.so)
Answer
To fix this a symbolic link needs to be created to map the libldap library which should exist in the /usr/lib folder.
So for example if the libldap file in the /usr/lib folder is
libldap_r-2.4.so.2.5.6 a symbolic link will need to be setup in the same folder so that libldap.so points to this file.
For example:
ln -s libldap_r-2.4.so.2.5.6 libldap.so from within the /usr/lib directory
Keywords:LDAP authentication libldap.so