Assume that you have a domain controller that is running Windows Server 2012 R2, you may encounter one of the following issues.
Issue 1: Domain joinYou have a new computer, and you want to join it to a domain of the forest. The same computer host name is already used in another domain. In this situation, the domain join operation reports success. After you click
OK, you will see the following dialog box. The erased strings are the old and the new primary suffix of the computer:
The error message resembles the following:
While processing a change to the DNS Host Name for an object, the Service Principal Name values could not be kept in sync.
After restart, the computer will report itself as a domain member, but interactive logon with a domain account will fail, and you will receive the following error message:
The security database on the server does not have a computer account for this workstation trust relationship.
You will also receive the following error message in the Netsetup.log file:
0: 000021C7: DSID-03200BA6, problem 1005 (CONSTRAINT_ATT_TYPE), data 0, Att 90303 (servicePrincipalName)
NetpModifyComputerObjectInDs: ldap_modify_s failed: 0x13 0x57
Issue 2: Intra-forest migrationIf you perform an intra-forest user migration that has service principal name (SPN) or user principal name (UPN) defined or intra-forest computer migration, the migration fails because the account still exists in the global catalog as the object is introduced in the target domain that has these attributes populated. If the object was saved in the new domain, a duplicate SPN would be created.
Note The tools to drive the migrations might be Active Directory Migration Tool (ADMT), external migration tools or the
Move-
ADObject cmdlet by using Active Directory PowerShell.
Issue 3: SPN conflicts with SPN on restored object
You had an account with SPNs in use on an account that is deleted now. You add an SPN to the object that used to have another user or computer account in the forest. When you now try to restore the deleted account, the action fails because of the duplicate SPN.
Note In all three issues, event ID 2974 that resembles the following is logged in the Directory Service log of the domain controller: The error number 8647 translates to symbolic name is ERROR_DS_SPN_VALUE_NOT_UNIQUE_IN_FOREST. For deplicate UPN, the error would be number 8648 and ERROR_DS_UPN_VALUE_NOT_UNIQUE_IN_FOREST.