Microsoft KB Archive/318227

= Continual Deletions and Additions Occur With Exchange Server LDAP Management Agent =

Article ID: 318227

Article Last Modified on 10/30/2006

-

APPLIES TO


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

-



This article was previously published under Q318227



SYMPTOMS
Objects are continually deleted and readded if you run Cdir_ldp.exe and the Microsoft Exchange Server Lightweight Directory Access Protocol (LDAP) management agent when the following two conditions are true:
 * The creation code for the $cs.dn value has been modified in the Metaverse Construction template. (The Connector Space template and Metaverse Construction template are combined for this management agent into one template, Imp.st.)
 * You are running the management agent in Delta mode.



CAUSE
This problem may occur if the $cd.dn value and the $cs.dn value do not match exactly. When you run the management agent in Delta mode, Cdir_ldp.exe compares the objects in Exchange Server with the objects in the connector space. If the values of these objects do not match exactly, Microsoft Metadirectory Services (MMS) determines that the object is missing and that MMS must delete it. In this scenario, a delete transaction is written to the import file. After the object is deleted and after the object is removed from MMS, when you run the management agent again, the user is added back to MMS. This behavior continues to occur until you correct this condition. This behavior does not occur if you run the management agent in Full mode.



RESOLUTION
To resolve this problem, use the default connector space construction code to build the distinguished name (DN) of the connector space objects. In the Exchange Server LDAP management agent, the code to build the connector space and the code to build the metaverse DN are built by using the same template, the Metaverse Construction template (Imp.st). You can find the section of code to build the DN of the connector space object near the bottom of this template. To find this code:
 * 1) Click the Exchange Server LDAP management agent.
 * 2) Click Design MA.
 * 3) Click the Control Metadirectory tab.
 * 4) Click the Construction Templates tab.
 * 5) Click the Metaverse tab.
 * 6) Make sure that the following default code is used:

$CSP.dn = cn=$v_rdn(,$parent(&quot;$v_dn&quot;))(,$MA)
 * 1)  the metaverse DN can have a multipart relative DN (depending on the configured
 * 2)  option), whereas the connector space relative DN will simply the Exchange rdn

The connector space is designed carefully for each specific management agent; Microsoft recommends that you do not modify it. This rule does not apply to metaverse construction. You can modify the metaverse to change the design of the metaverse DNs in MMS.

Additional query words: metadirectory zoomit

Keywords: kbprb KB318227

-

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

© Microsoft Corporation. All rights reserved.