I am running TopSecret and CA-LDAP, after installing CA-LDAP and running the "ldaptest" script, I am getting error message "CEE3501S The module libldif.dll was not found.". What is causing this?

Document ID : KB000053714
Last Modified Date : 14/02/2018
Show Technical Document Details


The "ldaptest" script(./ldaptest) is run to verify if CA LDAP Server has been installed correctly. The CEE3501S error will be issued if a required DLL cannot be found when running a program.


The "ldaptest" script is run as part of the installation for CA-LDAP to verify the install. The syntax of the command is: ./ldaptest userid user_pass [port [ipaddr]]

If the user who is executing the "ldaptest" script does not have the current directory in their LIBPATH that can cause the dll not to be found causing the CEE3501S error. This can be corrected by issuing the following command to set the LIBPATH environment variable:


The execution of "export LIBPATH=$LIBPATH:." adds the local directory to the search path for DLL's when running a program. If you are not running programs that need dlls, like the ldaptest script uses ldapsearch, then you don't need this on a day to day basis.

To make it permanent for all users, add it to the /etc/profile file.

To make it permanent for a specific user, add it to the $USER_HOME/.profile file.

Details on "ldaptest" script can be found in the CA LDAP Server for z/OS Installation Guide.