LDAP_DEBUG
Use the LDAP_DEBUG API for debugging information
from a client application.
To obtain debug information from a client application that is built by using the IBM® Security Verify Directory LDAP C-API, you can set the environment variables LDAP_DEBUG and LDAP_DEBUG_FILE.
For UNIX™, enter
the following command before you run your application:
export LDAP_DEBUG=65535For the Windows
NT™ and Windows™ 2000
operating systems, enter the following command before you run your
application:
set LDAP_DEBUG=65535Trace messages in the LDAP C-API library are output to
standard error. Use LDAP_DEBUG_FILE=xxxxx to
send the trace output to the file xxxxx.
These environment variables affect only applications that are run in the same shell or command window session. You can also call ldap_set_option() in your application to enable and disable the library trace messages.