Bug 11388 - ERR_DS_DRA_SCHEMA_MISMATCH
ERR_DS_DRA_SCHEMA_MISMATCH
Status: NEW
Product: Samba 4.1 and newer
Classification: Unclassified
Component: AD: LDB/DSDB/SAMDB
4.2.2
All All
: P5 normal
: ---
Assigned To: Andrew Bartlett
Samba QA Contact
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2015-07-07 15:15 UTC by Dmitrii Luchko
Modified: 2016-10-20 20:45 UTC (History)
4 users (show)

See Also:


Attachments
ldapcmp (17.49 KB, text/plain)
2015-07-07 15:15 UTC, Dmitrii Luchko
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dmitrii Luchko 2015-07-07 15:15:22 UTC
Created attachment 11237 [details]
ldapcmp

Hi
I have multi domain environment with root domain and subdomain. Forest and domain level windows 2003 native.
> Also forest prep and domain prep did for sccm 2007 ocs 2007 and Exchange 2003.

After join Samba to domain like ad dc I had some problem with replication:
#################################################
[root at dc03 ~]# samba-tool drs replicate dc02 dc03 dc=filial1,dc=company,dc=local
ERROR(<class 'samba.drs_utils.drsException'>): DsReplicaSync failed - drsException: DsReplicaSync failed (8418, 'WERR_DS_DRA_SCHEMA_MISMATCH')
Comment 1 Alex MacCuish 2016-10-20 20:45:20 UTC
I'm receiving this too. Rejoining afresh doesn't help. Windows -> Samba works fine, Samba -> Windows stops working. Windows logs error 1203 on a particular object, then logs 1791

Windows (1791)
Replication of application directory partition DC=x,DC=x,DC=x from source fe145470-8e21-45a8-b3ad-11d0d0ad1c46 (dc02.x.x.x) has been aborted. Replication requires consistent schema but last attempt to synchornize 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..

SAMBA
samba-tool drs replicate dc01 dc02 DC=x,DC=x,DC=x --sync-forced
ERROR(<class 'samba.drs_utils.drsException'>): DsReplicaSync failed - drsException: DsReplicaSync failed (8418, 'WERR_DS_DRA_SCHEMA_MISMATCH')
  File "/usr/local/samba/lib/python2.7/site-packages/samba/netcmd/drs.py", line 368, in run
    drs_utils.sendDsReplicaSync(server_bind, server_bind_handle, source_dsa_guid, NC, req_options)
  File "/usr/local/samba/lib/python2.7/site-packages/samba/drs_utils.py", line 83, in sendDsReplicaSync
    raise drsException("DsReplicaSync failed %s" % estr)
root@dc02:/home/local# samba -v