Microsoft KB Archive/273863

= How to change the legacyExchangeDN attribute in native mode with ADSI Edit =

Article ID: 273863

Article Last Modified on 12/3/2007

-

APPLIES TO


 * Microsoft Exchange Server 2003 Enterprise Edition
 * Microsoft Exchange Server 2003 Standard Edition
 * Microsoft Exchange 2000 Server Standard Edition
 * Microsoft Windows Small Business Server 2003 Premium Edition
 * Microsoft Windows Small Business Server 2003 Standard Edition

-



This article was previously published under Q273863





SUMMARY
If the legacyExchangeDN attribute of your original administrative group contains an OU value of anything except First Administrative Group, you must change the legacyExchangeDN values of several system objects on your recovery server before restored databases will start. The problems that you encounter with startup are similar to the problems that you encounter when trying to start a Microsoft Exchange Server 5.5 database with a mismatched site name.

In Exchange 2000 and Exchange Server 2003, this situation may result in the following error message:

An internal processing error has occurred. Try restarting the Exchange System Manager or the Microsoft Exchange Information Store service, or both. ID no: c1041724 Exchange System Manager.

In addition, if the legacyExchangeDN attribute in Active Directory does not match that of the Information store, you receive a 1088 on the recovery server when you start the Information store, in addition to the error shown above.



MORE INFORMATION
 Generate an LDIFDE export file of system objects whose legacyExchangeDN attribute needs to be changed.  Switch the Exchange installation on the recovery server to native mode. To do this:  Right-click the organization object at the top of the tree in Exchange System Manager, and then click Properties. On the General tab, under Operation Mode, click the Change Mode button.

Important Be aware that native mode does not support any Microsoft Exchange Server 5.5 computers, the Site Recovery Service (SRS), or the Active Directory Connector (ADC) for interoperability with Exchange Server 5.5, and there is no way to change back to mixed mode after you have changed to native mode. Rename the First Administrative Group object to match the name on your original server.</li> Run an LDIFDE export, with a command line similar to the following

ldifde -f \legacy.ldf -d &quot;CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=domainname,DC=com&quot;

-l legacyexchangedn -p subtree -r &quot;(legacyexchangedn=*First*) &quot;

where  is a drive for the output file, and DC=com is the root of the domain.</li> This command produces an export file with entries similar to the following:

dn:CN=SMTP(CHANI-{F95BFE21-D28D-4060-BC92-41F10C940A46}),CN=Connections,CN=Microsoft,CN=MicrosoftExchange,CN=Services,CN=Configuration,DC=microsoft,DC=com

changetype: add

legacyExchangeDN:

/o=Microsoft,/ou=First Administrative Group/cn=Configuration/cn=SMTP (CHANI)/cn={F95BFE21-D28D-4060-BC92-41F10C940A46}

These are all the system objects whose legacyExchangeDN attributes must be changed to start the databases with the new administrative group name. There may be anywhere from six to more than 24 objects, depending on how many storage groups and databases you have defined on your recovery server.</li></ol> </li> You can change the legacyExchangeDN attribute manually by using ADSI Edit or LDP, or you can change them all at once in the LDIFDE import file. The following steps are for changing the legacyExchangeDN manually by using ADSI Edit.

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 Windows Server 2003, Microsoft Exchange 2000 Server, Microsoft Exchange Server 2003, or both Windows and Exchange. 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.  Click Start, point to Programs, point to Windows 2000 Support Tools, and then click ADSI Edit.</li> In ADSI Edit, locate the first system object referenced in the LDIFDE export file, right-click it, and then click Properties.</li> In the Select which properties to view box on the Attributes tab, click either Optional or Both to view the properties of the attribute.</li> In the Select a property to view list, click the legacyExchangeDN attribute.</li> Copy the entire Value entry into the Edit Attribute box.</li> Replace /ou=First Administrative Group with /ou= </li> Click to set the changes to the legacyExchangeDN attribute.</li> Repeat these steps for every system object listed in the LDIFDE export file.</li> Mount the recovery server databases with the new administrative group name.</li></ol> </li></ol>

Additional query words: exch2kp2w XADM

Keywords: kberrmsg kbhowto kbproductlink KB273863

-

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

© Microsoft Corporation. All rights reserved.