When having issues with the LDAP connected to Datacom server, you can set the following traces:
1. To set LDAP trace:
Issue the following command at the console:
F LDAP_STC,set,debug,all
To turn off the debug, issue:
F LDAP_STC,set,debug,0
2. To set Datacom server trace, turn on the following in srvini.ini file, that is located in the LDAP install directory.
# To turn ODBC trace on set ODBC_TRACE=Y. Uncomment ODBC_TRACE_FILE and TRACE_INCLUDE_METHODS. Verify ODBC_TRACE_FILE file path.
ODBC_TRACE=N
#ODBC_TRACE_FILE=/usr/lpp/caldapr151/odbc_trace
#TRACE_INCLUDE_METHODS=SQLALL
# To turn CCI trace on set CCI_TCP_TRACE=Y. Uncomment and verify CCI_TRACE_FILE file path.
CCI_TCP_TRACE=N
#CCI_TRACE_FILE=/usr/lpp/caldapr151/cci_trace
#To turn WDB trace on set WDB_TRACE=Y. Uncomment and verify WDB_TRACE_FILE file path.
WDB_TRACE=N
#WDB_TRACE_FILE=/usr/lpp/caldapr151/wdb_trace
3. More Datacom Server tracing can be turned on in the Datacom server startup parameter,TRACEON. By default it is NO, switch it to YES to turn on trace.
TRACEON=YES