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



The information in this article applies to:

  • Microsoft Metadirectory Services 2.2

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 "Ldap_rc_size_limit_exceeded" 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 "if %error%" 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.

Modification Type:MinorLast Reviewed:1/25/2006
Keywords:kbbug kbenv KB273469