XADM: How to Copy Exchange Attributes from One Active Directory Object to Another (274229)



The information in this article applies to:

  • Microsoft Exchange Server 5.5 SP3, when used with:
    • the operating system: Microsoft Windows 2000

This article was previously published under Q274229
WARNING: If you use the ADSI Edit snap-in, the LDP utility, or any other LDAP version 3 client, and you incorrectly modify the attributes of Active Directory objects, you can cause serious problems. These problems may require you to reinstall Microsoft Windows 2000 Server, Microsoft Exchange 2000 Server, or both. Microsoft cannot guarantee that problems that occur if you incorrectly modify Active Directory object attributes can be solved. Modify these attributes at your own risk.

SUMMARY

At times it may become necessary to copy msExchange attributes from one Active Directory object to another. Examples of this would be the msExchADCGlobalNames attribute, the msExchHomeServerName attribute, or the HomeMDB attribute. This article explains how to do so.

MORE INFORMATION

To Copy msExchange Attributes from one Active Directory Object to Another

  1. Using the Active Directory Administration Tool (Ldp.exe), dump the attribute values from the Active Directory object that has the correct information into a text file. Below are sample values for the msExchADCGlobalNames attribute:

    forest:o=Microsoft000000006015B645161DC001; EX5:cn=JamesW,cn=Recipients,ou=CUBICSTONE, o=Microsoft:organizationalperson$person$top000000006015B645161DC001;

  2. Start the Active Directory Administration Tool.
  3. On the Connection menu, click Connect.
  4. Enter the server name, enter Port:3268 for the Global Catalog, and then enter Port:389 for Active Directory. Click OK.
  5. On the Connection menu, click Bind.
  6. Enter the logon credentials of an administrator with the necessary permissions to complete the task, and then click OK.
  7. On the View menu, click Tree. Leave BaseDN blank, and then click OK.
  8. Locate, and open the appropriate container that is housing the objects you wish to modify.
  9. On the Connection menu, click New.
  10. Double-click the object with the correct values for the attribute to be modified.
  11. On the Connection menu, click Save as. Enter a file name, and destination to save the file.

    If the destination Active Directory object has values for the attribute to be modified, using ADSI Edit, remove the values of the attribute:
    1. Start ADSI Edit.
    2. Under the Domain NC, locate and open the appropriate container that is housing the objects to be modified.
    3. Right-click the object, and then click Properties.
    4. On the Attributes tab, in the Select a Property to view drop-down box, click the property to be modified, and then click Clear.

      NOTE: You will want to copy this out to a .doc or .txt file so that you can have the original values in case they need to be restored.
  12. Using ADSI Edit, copy the attribute values from the text file into the attribute of the Active Directory object to be modified. Although it appears to be one string, there may be two or more values, each ending with a trailing semicolon (;). Each value should be entered separately, omitting the semicolon.
  13. Using Ldp.exe, connect to the Global Catalog, and view the original and modified Active Directory objects to make sure that the attributes are identical.

Modification Type:MinorLast Reviewed:4/25/2005
Keywords:kbhowto KB274229