Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

You may receive an error message in the ADClean.log file when you use the Active Directory Cleanup Wizard to merge two accounts by their SIDhistory attributes in Exchange Server 2003


View products that this article applies to.

Symptoms

When you use the Active Directory Cleanup Wizard (ADClean.exe) to merge two accounts by their SIDhistory attributes in Microsoft Exchange Server 2003, you may receive the following error message in the ADClean.log file:
Failed to modify the account CN=targetaccount,OU=Users,DC=test,DC=com on the server servename.test.com. The reason for the failure is (Success)

Failed to merge test.com/migrated accounts/sourceaccount into test.com/Users/targetaccount.

↑ Back to the top


Cause

This issue occurs if the logonHours attribute is already populated from a previous merge in the Active Directory Cleanup Wizard.

↑ Back to the top


Resolution

To resolve this issue, clear the logonHours attribute in the LDAP Data Interchange Format (LDIF) tool on the target account. Then, run the Active Directory Cleanup Wizard again. To do this, follow these steps:
1.Create a file, and then name it Import.ldf.
2.Make sure that this Import.ldf file is in a format that is similar to the following format:
dn: CN=targetaccount,OU=Users,DC=test,DC=com
changetype:modify
delete:logonhours
3.To import the Import.ldf file, you must run the following command:
ldifde -i -f Import.ldf -s Server
4.Run the Active Directory Cleanup Wizard again.

↑ Back to the top


Status

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

↑ Back to the top


More information

For more information, click the following article number to view the article in the Microsoft Knowledge Base:
237677 Using LDIFDE to import and export directory objects to Active Directory

↑ Back to the top


Keywords: KB905808, kbprb, kbexchdirectory

↑ Back to the top

Article Info
Article ID : 905808
Revision : 4
Created on : 10/25/2007
Published on : 10/25/2007
Exists online : False
Views : 349