Use the msMMS-DsInDeltaMode Attribute to Process Deltas in Both Directions (310687)



The information in this article applies to:

  • Microsoft Metadirectory Services 2.2 SP1

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:
  1. Start the Ldp.exe tool.
  2. On the Connections menu, click Connect.
  3. In the Server box, type MMS server name.
  4. 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.
  5. On the Connections menu, click Bind.
  6. In the User box, type MMS_application_computer_name@MMS_server_name. This is the same ID that you use to log on to MMS with Compass.
  7. In the Password box, type the administrator password.
  8. Click to clear the Domain check box.
  9. 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

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

    [ADD]msMMS-DSInDeltaMode:TRUE

  15. Click Run.
  16. To run delta operations both ways, you must then set the zcDSImportdelta attribute by using Compass. Click the MA.
  17. On the Actions menu, click Operate MA.
  18. Click the Operational Settings tab.
  19. Click the Delta Operations tab.
  20. Click to select the Use Connected Directory to update the metadirectory check box.
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 "-" character in the name by using zscript.

Modification Type:MajorLast Reviewed:10/2/2003
Keywords:kbenv kbinfo KB310687