Microsoft KB Archive/310687

= Use the msMMS-DsInDeltaMode Attribute to Process Deltas in Both Directions =

Article ID: 310687

Article Last Modified on 10/2/2003

-

APPLIES TO


 * Microsoft Metadirectory Services 2.2 Service Pack 1

-



This article was previously published under Q310687



SUMMARY
Microsoft Metadirectory Services (MMS) 2.2 Service Pack 1 (SP1) has an undocumented attribute. MMS can use this attribute to run delta exports without turning off metadirectory updates. The reason that this is not currently possible is that when you click to select the Update Connected Directory using Metadirectory Deltas check box, it toggles the Disable Metadirectory Updates check box. When this occurs, metadirectory updates are turned off, so the delta imports cannot run properly. You can set this attribute on the MA either by using an LDP or by using MMS zscript during a scheduled run. Running the msMMS-DsInDeltaMode attribute only runs export deltas. Import deltas still run in full mode. To have delta run both ways, you must set the attribute to run import deltas. This article describes how to run delta in both directions.



MORE INFORMATION
How the different attribute settings affect the way the MA runs.

Full Import Delta Export

 * MsMMS-DSInDeltaMode = TRUE

Delta Import Full Export

 * zcDSImportDelta = TRUE

Delta Import Delta Export

 * MsMMS-DSInDeltaMode = TRUE
 * zcDSImportDelta = TRUE

How to Configure a Flat File MA to Run Deltas in Both Directions
Setting the MsMMS-DsInDeltaMode AttributeMethod #1: You can manually set the MsMMS-DsInDeltaMode attribute by using the Ldp.exe utility, but you can only run in Delta mode until you set the value to false. After you do so for testing, complete the following steps:  Start the Ldp.exe tool. On the Connections menu, click Connect. In the Server box, type . In the Port box, type the Lightweight Directory Access Protocol (LDAP) port number. For example, type 389.

NOTE: The LDAP port may be set to a different number. Be sure to check the Compass client logon configuration. On the Connections menu, click Bind. In the User box, type @. This is the same ID that you use to log on to MMS with Compass. In the Password box, type the administrator password.</li> Click to clear the Domain check box.</li> On the View menu, click Tree, and then expand the tree to view this item:

MA=MyMA,DsaName=MMSServer,ou=Applications,dc=microsoft,dc=com

</li> Right-click the preceding item, and then click Modify. Note that the base DN has the correct management agent DN.</li> In the Edit Entry Attribute box, type msMMS-DSInDeltaMode .</li> In the Values box, type TRUE .</li> In the Operations section, click Add.</li> Click Enter. The following item appears in the Entry List dialog box:

[ADD]msMMS-DSInDeltaMode:TRUE

</li> Click Run.</li> To run delta operations both ways, you must then set the zcDSImportdelta attribute by using Compass. Click the MA.</li> On the Actions menu, click Operate MA.</li> Click the Operational Settings tab.</li> Click the Delta Operations tab.</li> Click to select the Use Connected Directory to update the metadirectory check box.</li></ol>

In many MMS configurations, the delta settings are set programmatically with zscript when the Management Agent is called in a batch file. However, there is an issue that prevents this process. The problem occurs when you try to programmatically set an attribute with a &quot;-&quot; character in the name by using zscript.

Additional query words: zoomit

Keywords: kbinfo kbenv KB310687

-

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

© Microsoft Corporation. All rights reserved.