[PATCH] rpc_server/drsuapi: Set msDS_IntId as attid for linked attributes if exists

Evgeny Sinelnikov sin at altlinux.ru
Fri Apr 1 14:46:22 UTC 2016


Hello,

I send this email about topic of "Error 8418: The replication
operation failed because of a schema mismatch between the servers
involved":
- https://lists.samba.org/archive/samba-technical/2016-February/112151.html
- https://lists.samba.org/archive/samba-technical/2016-February/112174.html
- https://lists.samba.org/archive/samba-technical/2016-February/112361.html
- https://lists.samba.org/archive/samba-technical/2016-March/113261.html
- https://lists.samba.org/archive/samba-technical/2016-April/113304.html

Recently I tries to find solution for Samba replication problem with
MS Exchange schema extension and other products with same feature.

Problem looks like error SCHEMA_MISMATCH error during replication
process from Samba DC to Windows DC:
# samba-tool drs replicate dc01 dc02 dc=company3,dc=dd
ERROR(<class 'samba.drs_utils.drsException'>): DsReplicaSync failed -
drsException: DsReplicaSync failed (8418,
'WERR_DS_DRA_SCHEMA_MISMATCH')
  File "/usr/local/samba/lib64/python2.7/site-packages/samba/netcmd/drs.py",
line 349, in run
    drs_utils.sendDsReplicaSync(self.drsuapi, self.drsuapi_handle,
source_dsa_guid, NC, req_options)
  File "/usr/local/samba/lib64/python2.7/site-packages/samba/drs_utils.py",
line 83, in sendDsReplicaSync
    raise drsException("DsReplicaSync failed %s" % estr)


Previously I created a bug about suspection in DCERPC implementation error:
https://bugzilla.samba.org/show_bug.cgi?id=11758
where also enumarates other bugs, which looks similar:
https://bugzilla.samba.org/show_bug.cgi?id=11388
https://bugzilla.samba.org/show_bug.cgi?id=11172
https://bugzilla.samba.org/show_bug.cgi?id=10470


Current patch solves this problem and tested on Samba-4.4.0 release.

Please, review and push it.


-- 
Sin (Sinelnikov Evgeny)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-rpc_server-drsuapi-Set-msDS_IntId-as-attid-for-linke.patch
Type: text/x-patch
Size: 1125 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20160401/09e01817/0001-rpc_server-drsuapi-Set-msDS_IntId-as-attid-for-linke.bin>


More information about the samba-technical mailing list