Article ID: 306213 - View products that this article applies to.
This article was previously published under Q306213
This article has been archived. It is offered "as is" and will no longer be updated.
While you are migrating a large organization from Exchange Server 5.5 to Exchange 2000 Service Pack 1 or later, and you use the Exchange Migration Wizard Service Pack 1 (SP1), the mailboxes are successfully migrated, but all of the custom attributes are deleted.
This issue can occur if Service Pack 2 (SP2) has not been applied.
The first step in migrating the organization is to use the Active Directory Migration Tool (ADMT) to migrate the user accounts, including Security Identifiers (SIDs). The next step is to run the Active Directory Connector (ADC) to copy directory/Exchange information, including e-mail addresses and custom attributes. The third step is to use the Migration Wizard, and this is the step where the mailbox is migrated but all of the custom attributes are deleted.
To work around this issue if SP2 has not been applied, use this three-step procedure to retain the custom attributes for a mailbox in Exchange 2000:
Export the Custom Attributes to a FileThis section uses two custom attributes from the Active Directory to demonstrate how to export custom attributes to a file. These two attributes, extensionAttribute1 and extensionAttribute2, correlate to the first two custom attributes that are brought over from Exchange 5.5 by the ADC.
The following example command exports these attributes from a specific OU in the Active Directory:
ldifde -f Export1.ldf -s ServerName -d "OU=OUName,DC=DomainComponent,DC=microsoft,DC=com" -l "extensionAttribute1,extensionAttribute2" -r "(objectClass=user)"The two attributes are exported from the OUName OU to a file named Export1.ldf. The –r "(objectClass=user)" part of the command-line syntax limits the export to user objects only. The output file looks like this:
dn: CN= User1,OU=OUName,DC=DomainComponent,DC=microsoft,DC=com changetype: add extensionAttribute1: 12 extensionAttribute2: 7 dn:CN=User2,OU=OUName,DC=DomainComponent,DC=microsoft,DC=com changetype: add extensionAttribute1: 11 extensionAttribute2: 8
Modify the Output FileThis step ensures that the proper modifications are made to the user objects. You must modify the Export1.ldf file so that the custom attributes can be reapplied to the user objects. Make the following changes to the file:
dn: CN=User1,OU=OUName,DC=domainComponent,DC=microsoft,DC=com changetype: modify replace: extensionAttribute1 extensionAttribute1: New12 - replace: extensionAttribute2 extensionAttribute2: New7 - dn: CN=User2,OU=OUName,DC=DomainComponent,DC=microsoft,DC=com changetype: modify replace: extensionAttribute1 extensionAttribute1: New11 - replace: extensionAttribute2 extensionAttribute2: New8 -
Import the Custom AttributesTo import the custom attributes, use the following command:
ldifde -i -f Import1.ldf
(http://support.microsoft.com/kb/237677/EN-US/ )Using LDIFDE to Import/Export Directory Objects to the AD
This issue has been resolved in Service Pack 2 for Exchange 2000 Server.
Article ID: 306213 - Last Review: October 24, 2013 - Revision: 4.2
Contact us for more help
Connect with Answer Desk for expert help.