Hi,
as it regularly happens when you stop a test platform for a long time, computer accounts password expire and Active Directory controllers do not replicate anymore (well known item since Windows 2000 Active Directory).
When you try to manually replicate using dssite.msc, you get the error message « 2148074274 The target principal name is incorrect ».
Moreover, you can see in event viewer some messages such as:
Log Name: System
Source: Security-Kerberos
Event ID: 4
Error: The Kerberos client received a KRB_AP_ERR_MODIFIED error from the server DC2. The target name used was cifs/DC2.dom2016.local. This indicates that the target server failed to decrypt the ticket provided by the client. This can occur when the target server principal name (SPN) is registered on an account other than the account the target service is using. Ensure that the target SPN is only registered on the account used by the server. This error can also happen if the target service account password is different than what is configured on the Kerberos Key Distribution Center for that target service. Ensure that the service on the server and the KDC are both configured to use the same password. If the server name is not fully qualified, and the target domain (DOM2016.LOCAL) is different from the client domain (DOM2016.LOCAL), check if there are identically named server accounts in these two domains, or use the fully-qualified name to identify the server.
Solution
– Locate PDC emulator with Active Directory Users and Computers snap-in
– On the DC(s) no more replicating:
- Disable service « Kerberos Key Distribution Center » (KDC)
- Reboot DC
- Reset password within an administrator command prompt
netdom resetpwd /server:PDC_EMULATOR /userd:DOM2016\administrator /passwordd:password - Reboot DC
- Restart KDC service
- Force replication