DSTRACE LDAP commands for logging

(Last modified: 01Dec2005)

This document (10080854) is provided subject to the disclaimer at the end of this document.

goal

How to log LDAP activity using DSTRACE?

fact

Novell eDirectory 8.7.3 for All Platforms

fix

For servers running LDAP with NDS 8 or higher, configuration is handled through ConsoleOne. Open the LDAP Server object's properties. The tab page labeled "Screen Options" is used to configure the amount of LDAP activity information to show inside the DSTrace Console. 

The options you will want to check on the Screen Options tab will be ALL of them EXCEPT for "Packet Dump or Decoding" and "Additional connection and operation...(at the bottom of the window)." Next, restart the LDAP server (or choose the REFRESH LDAP SERVER button). The remaining configurations are platform specific:

NetWare: Turn on the DSTrace console by typing "LOAD DSTRACE" at the server console. This is different from the DSTrace set commands that are more commonly used. Turn off all other unneeded switches by typing "DSTRACE -<command>".

Servers running eDirectory 8.7.3 or higher will use the "DSTRACE -ALL" command.

Then turn on the LDAP trace screen by typing "DSTRACE +LDAP" and "DSTRACE +TIME" and "DSTRACE +LDPS" (Note:  some versions of NDS may not have the LDPS switch)

Finally, type "DSTRACE SCREEN ON". A new screen should now be turned on, entitled DSTRACE CONSOLE. Information on this screen should reflect only LDAP activity. To trace information to a log file, go back to the server console screen, and type "DSTRACE FILE ON". All trace information will then be logged to SYS:\SYSTEM\DSTRACE.LOG.

NT/2000: Load the DSTrace utility by double-clicking DSTrace from the NDS Services window on the Control Panel. Choose Edit | Options. Click "Clear All", then click the "LDAP" checkbox. Information is logged to a file using the drop-down FILE menu.

note

Also see more information at: http://support.novell.com/cgi-bin/search/searchtid.cgi?/10062292.htm

document

Document Title: DSTRACE LDAP commands for logging
Document ID: 10080854
Solution ID: NOVL87658
Creation Date: 06Mar2003
Modified Date: 01Dec2005
Novell Product Class:iChain

disclaimer

The Origin of this information may be internal or external to Novell. Novell makes all reasonable efforts to verify this information. However, the information provided in this document is for your information only. Novell makes no explicit or implied claims to the validity of this information.
Any trademarks referenced in this document are the property of their respective owners. Consult your product manuals for complete trademark information.