Active Directory replication fails, and you receive the following schema mismatch error messages:
repadmin /replicate server2.contoso.com server1.contoso.com dc=contoso,dc=com
DsReplicaSync() failed with status 8418 (0x20e2):
The replication operation failed because of a schema mismatch between the servers involved.
Additionally, the following events are recorded on the destination domain controller:
Event Type: Warning
Event Source: NTDS Replication
Event Category: Replication
Event ID: 1203
Description: The local domain controller could not replicate the following object from the source domain controller at the following network address because of an Active Directory schema mismatch.
Object:
OU=DeletedOU\0ADEL:5b229c13-4691-40b4-a4c2-60828e4e430f,OU=test1,ou=test2,dc=contoso,dc=com
Network address:
server1.contoso.com
Active Directory will attempt to synchronize the schema before attempting to synchronize the following directory partition.
Directory partition: dc=contoso,dc=com
Event Type: Error
Event Source: NTDS Replication
Event Category: Replication
Event ID: 1791
Description: Replication of Naming Context dc=contoso,dc=com from source 42fd27d1-2bce-4726-92fa-8daefc91dd97 has been aborted. Replication requires consistent schema but last attempt to sync the schema had failed. It is crucial that schema replication functions properly. See previous errors for more diagnostics. If this issue persists, please contact Microsoft Product Support Services for assistance. Error 8418: The replication operation failed because of a schema mismatch between the servers involved..
For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
The promotion of a new domain controller may also fail. DCpromo logs information to the Dcpromo.log file at c:\windows\debug. In the event of such a failure, the DCpromo log displays an error entry that resembles the following:
11/12/2019 07:56:54 [INFO] Replicating critical domain information...
11/12/2019 07:56:54 [INFO] EVENTLOG (Warning): NTDS Replication / Replication : 1203
The directory service could not replicate the following object from the source directory service at the following network address because of an Active Directory Domain Services schema mismatch.
Object:
CN=Builtin,DC=contoso,DC=com
Network address:
WIN-PD1KU9I38KK.contoso.com
Active Directory Domain Services will attempt to synchronize the schema before attempting to synchronize the following directory partition.
Directory partition:
DC=contoso,DC=com
11/12/2019 07:56:54 [INFO] EVENTLOG (Warning): NTDS Replication / Replication : 11001
The directory service could not replicate the following object from the source directory service at the following network address because of an Active Directory Domain Services Bad Inheritance ACL.
Object:
CN=Builtin,DC=contoso,DC=com
Network address:
WIN-PD1KU9I38KK.contoso.com
Directory partition:
DC=contoso,DC=com
Please check the Directory Services event log for Event ID 1450 or other ACL related events. You should decrease the ACL size by removing old or duplicate entries.
11/12/2019 07:56:54 [INFO] Error - Active Directory Domain Services could not replicate the directory partition DC=contoso,DC=lab from the remote Active Directory Domain Controller WIN-PD1KU9I38KK.contoso.lab. (8418)
11/12/2019 07:56:54 [INFO] EVENTLOG (Error): NTDS General / Internal Processing : 1168
Internal error: An Active Directory Domain Services error has occurred.
On the source domain controller, you may find logged events from Security Descriptor Propagator that resembles the following:
Log Name: Directory Service
Source: Microsoft-Windows-ActiveDirectory_DomainService
Event ID: 1450
Task Category: Internal Processing
Level: Error
Description:
The security descriptor propagation task could not calculate a new security descriptor for the following object.
Object:
CN=LargeSD_Victim,OU=Large_SD_Repro,DC=contoso,DC=com
This operation will be tried again later.
User Action
If this condition continues, attempt to view the status of this object and manually change the security descriptor.
Additional Data
Error value:
1340 The inherited access control list (ACL) or access control entry (ACE) could not be built.
Another error you may see is:
0x7a (Decimal 122) = "The data area passed to a system call is too small."