[Samba] Problem synk AD drom samba to windows server

Yura Sakharov rozenkrazer at gmail.com
Wed Dec 17 04:10:13 MST 2014


 Hi all.

I have synk problem.

ERROR(<class 'samba.drs_utils.drsException'>): DsReplicaSync failed -
drsException: DsReplicaSync failed (8418,
'WERR_DS_DRA_SCHEMA_MISMATCH')
  File "/usr/lib/python2.7/dist-packages/samba/netcmd/drs.py", line 345, in run
    drs_utils.sendDsReplicaSync(self.drsuapi, self.drsuapi_handle,
source_dsa_guid, NC, req_options)
  File "/usr/lib/python2.7/dist-packages/samba/drs_utils.py", line 83,
in sendDsReplicaSync
    raise drsException("DsReplicaSync failed %s" % estr)


Synk from windows to samba - ok

I check schema to Windows server and Zentyal:


samba-tool ldapcmp ldap://db1 ldap://db2 domain


I have a lot of errors, like:


Comparing:
'CN=Administrator,CN=Users,DC=test,DC=net' [ldap://db1]
'CN=Administrator,CN=Users,DC=test,DC=net' [ldap://db2]
    Attributes found only in ldap://db1:
        msExchPreviousHomeMDB
    FAILED

Comparing:
'CN=Andrey Shiba,OU=Kiev,OU=OfficeUsers,DC=test,DC=net' [ldap://db1]
'CN=Andrey Shiba,OU=Kiev,OU=OfficeUsers,DC=test,DC=net' [ldap://db2]
    Difference in attribute values:
        userParameters =>
['m\x00:\x00 \x00 \x00 \x00 \x00 \x00 \x00 \x00 \x00 \x00 \x00 \x00
\x00 \x00 \x00 \x00 \x00 \x00 \x00 \x00 \x00d\x00\t\x00 \x00 \x00 \x00
\x00 \x00 \x00 \x00 \x00 \x00 \x00 \x00 \x00 \x00 \x00 \x00 \x00 \x00
\x00 \x00 \x00 \x00 \x00 \x00 \x00']
['m:                    d\t                        ']
    FAILED


I have a different schema on Zentyal and Windows server 2008 R2.

samba -V
Version 4.1.13
less /etc/issue
Ubuntu 14.04.1 LTS

How I can fix that problem?

 Best regards Yura Sakharov


More information about the samba mailing list