Microsoft KB Archive/306207

= How to Configure an MMS Server for LDAP Tracing =

Article ID: 306207

Article Last Modified on 5/28/2003

-

APPLIES TO


 * Microsoft Metadirectory Services 2.1
 * Microsoft Metadirectory Services 2.2 Service Pack 1
 * Microsoft Metadirectory Services 2.2 Service Pack 1

-



This article was previously published under Q306207



SUMMARY
A Microsoft Metadirectory Services (MMS) server can record the data that is sent to and from its Lightweight Directory Access Protocol (LDPA) port. An LDAP port trace may be helpful in diagnosing issues with an MMS server.



Configuring the Server to Record an LDAP Trace
To configure an MMS server to record an LDAP trace:
 * 1) On the server console, click Options on the Tools menu.
 * 2) Click the LDAP tracing tab.
 * 3) Set the trace value to 1.
 * 4) Click the Log Files tab.
 * 5) Click Clear Genlogs file now. This deletes the existing backup Genlogs.x log file, renames the current Genlogs file to Genlogs.x, and creates a new Genlogs file.
 * 6) Perform the necessary LDAP test transactions on the MMS server.
 * 7) When the test transactions are complete, reset the trace value to 0.

The LDAP trace is located in Zoomserv\Data\Logs\Genlogs.

Changing the Size of the Genlogs File
You can configure the Genlogs files in the Zoomserv\Data\Config\Logcfg file. The &quot;log_max_bytes_in_file&quot; setting has a default value of 500,000 bytes (5 MB) at installation. To change the size of the Genlogs file:  Open the Zoomserv\Data\Config\Logcfg file. Set the &quot;log_max_bytes_in_file&quot; value to the required size (in bytes). For example, to set the size to 20 MB, set the entry to:

log_max_bytes_in_file  2000000

 Save the Logcfg file. Stop and restart the MMS service.

Note
The LDAP tracing that is described in this article is limited to LDAP connectivity on the MMS server, such as LDAP client connections made by Compass. LDAP connectivity that is generated by management agents using Cdir_ldp.exe, such as the Microsoft Exchange LDAP management agent, is recorded in a different log named Ldscript.log. For additional information about this log file, click the article number below to view the article in the Microsoft Knowledge Base:

304543 Cdir_ldp.exe Logs Additional Information in the Ldscript.log File

Additional query words: zoomit

Keywords: kbhowto kbenv KB306207

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.