Microsoft KB Archive/274229

= XADM: How to Copy Exchange Attributes from One Active Directory Object to Another =

Article ID: 274229

Article Last Modified on 10/28/2006

-

APPLIES TO


 * Microsoft Exchange Server 5.5 Service Pack 3, when used with:
 * Microsoft Windows 2000 Standard Edition

-



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.



To Copy msExchange Attributes from one Active Directory Object to Another
 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;

 Start the Active Directory Administration Tool. On the Connection menu, click Connect. Enter the server name, enter Port:3268 for the Global Catalog, and then enter Port:389 for Active Directory. Click OK. On the Connection menu, click Bind. Enter the logon credentials of an administrator with the necessary permissions to complete the task, and then click OK.</li> On the View menu, click Tree. Leave BaseDN blank, and then click OK.</li> Locate, and open the appropriate container that is housing the objects you wish to modify.</li> On the Connection menu, click New.</li> Double-click the object with the correct values for the attribute to be modified.</li> 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: <ol style="list-style-type: lower-alpha;"> Start ADSI Edit.</li> Under the Domain NC, locate and open the appropriate container that is housing the objects to be modified.</li> Right-click the object, and then click Properties.</li> 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.</li></ol> </li> 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.</li> 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.</li></ol>

Additional query words: AD

Keywords: kbhowto KB274229

-

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

© Microsoft Corporation. All rights reserved.