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 (905808)



The information in this article applies to:

  • Microsoft Exchange Server 2003 Standard Edition
  • Microsoft Exchange Server 2003 Enterprise Edition

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.

CAUSE

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

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.

STATUS

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

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


Modification Type:MinorLast Reviewed:9/9/2005
Keywords:kbexchDIRECTORY kbprb KB905808 kbAudITPRO