Partager via


Event ID 1964 — Replication Changes

Applies To: Windows Server 2008

The replication process in Active Directory Domain Services (AD DS) ensures that domain controllers are able to maintain a consistent and updated Active Directory database. Because the Active Directory database holds essential information about user, group, and computer accounts, as well as other resources and services and the network configuration, keeping this information consistent on all the domain controllers is important. Failure of the Active Directory replication process can result in the following problems:

  • Failure of applications that rely on consistent Active Directory information to function properly
  • Logon rejections
  • Password change failures
  • Network service failures
  • Incorrect or outdated information retrieval

For more information, see How Active Directory Replication Topology Works (https://go.microsoft.com/fwlink/?LinkID=93526).

Event Details

Product: Windows Operating System
ID: 1964
Source: Microsoft-Windows-ActiveDirectory_DomainService
Version: 6.0
Symbolic Name: DIRLOG_DRA_UNAUTHORIZED_NC
Message: The local directory service has denied a replication attempt on the following directory partition. The following directory service requested to replicate one or more objects from an unauthorized directory partition and the attempt failed.

directory service:
%1
Directory partition:
%2

This might pose a security risk. .

Resolve

Ensure that the SPNs are correct

If the domain controller that is identified in the message is not a legitimate domain controller for the domain, determine why the domain controller that is reporting this issue is attempting to communicate with that computer.

This situation can occur when a domain controller or domain is renamed. Also, this could occur if a domain controller was removed, but its metadata was not properly cleaned up from the database. For more information, see Clean up server metadata (https://go.microsoft.com/fwlink/?LinkId=104231).

To perform this procedure, you must have membership in Domain Admins, or you must have been delegated the appropriate authority.

Perform the following tasks on the domain controllers that host the partition that cannot be replicated:

  1. Open a command prompt as an administrator. To open a command prompt as an administrator, click Start. In Start Search, type Command Prompt. At the top of the Start menu, right-click Command Prompt, and then click Run as administrator. If the User Account Control dialog box appears, confirm that the action it displays is what you want, and then click Continue.
  2. Run the command setspn -l hostname, where hostname is the actual host name of the domain controller. This command displays the service principal names (SPNs) that the domain controller has registered.
  3. Ensure that the domain name that is shown in each SPN listing is correct.
  4. If the SPNs are not correct, run the command **repadmin /syncall **domainname, where domainname is the name of the domain of the domain controller.
  5. Wait 15 minutes, and then run the setspn -l hostname command again and review the registered SPNs.

If the SPNs are not corrected automatically after the domain has fully replicated, correct the SPNs manually. For instructions for correcting the SPNs manually, see Setspn Overview (https://go.microsoft.com/fwlink/?LinkId=104232).

Verify

Perform the following tasks using the domain controller from which you want to verify that Active Directory replication is functioning properly.

To perform this procedure, you must have membership in Domain Admins, or you must have been delegated the appropriate authority.

To verify that Active Directory replication is functioning properly:

  1. Open a command prompt as an administrator. To open a command prompt as an administrator, click Start. In Start Search, type Command Prompt. At the top of the Start menu, right-click Command Prompt, and then click Run as administrator. If the User Account Control dialog box appears, confirm that the action it displays is what you want, and then click Continue.
  2. Run the command repadmin /showrepl. This command displays the status reports on all replication links for the domain controller. Active Directory replication is functioning properly on this domain controller if all status messages report that the last replication attempt was successful.

If there are any indications of failure or error in the status report following the last replication attempt, Active Directory replication on the domain controller is not functioning properly. If the repadmin command reports that replication was delayed for a normal reason, wait and try repadmin again in a few minutes.

Replication Changes

Active Directory