Microsoft KB Archive/273469

= Exchange Lightweight Directory Access Protocol Management Agent Fails Discovery with Non-fatal Error Code from Cdir_ldp.exe Program =

Article ID: 273469

Article Last Modified on 1/25/2006

-

APPLIES TO


 * Microsoft Metadirectory Services 2.2 Service Pack 1

-



This article was previously published under Q273469



SYMPTOMS
When your computer system undergoes a discovery phase in the Exchange Lightweight Directory Access Protocol (LDAP) Management Agent, the Cdir_ldp.exe program returns to the Zscript file any LDAP return code it encounters.

For example, if a limit is set on the maximum number of records which can be returned from a search request, the return code &quot;Ldap_rc_size_limit_exceeded&quot; is returned from the LDAP directory. The Cdir_ldp.exe program can trap this error, and may automatically switch to Anti-trawling mode, and then continue to issue search requests against the directory. However, this return code can persist and be returned at the end of the discovery process.



CAUSE
This behavior can occur because changes made to the Cdir_ldp.exe program for Microsoft Metadirectory Services (MMS) 2.2 cause all LDAP return code values to be returned to the calling program as critical errors.



RESOLUTION
To resolve this behavior, you can remove the &quot;if %error%&quot; entry in the Zscript code to disable all error checking and enable the script to proceed.

IMPORTANT: This is a drastic step that Microsoft does not recommend.



STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.

Additional query words: Zoomit Via MA zscript genlogs

Keywords: kbbug kbenv KB273469

-

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

© Microsoft Corporation. All rights reserved.