[Samba] One of the DCs replication doesn't work
rylanmrrtt5 at gmail.com
Fri Jul 21 03:45:08 UTC 2017
I had the same problem at one point. I used the DNS tool in Windows to
browse the records on all three of my samba domain controllers paying
extra attention to the ones on the working DCs. I then manually
created any rules that seemed to be missing and my replication has
worked great since.
My Samba servers at that time were version 4.4.3 and I was using Bind
9 for DNS. Worth a shot if your still having troubles.
On Wed, Jul 19, 2017 at 5:20 AM, Mitocariu Emilian via samba
<samba at lists.samba.org> wrote:
> I have 2 DCs (dc1, dc2) on ubuntu 16.04 with samba 4.3.11 and another DC
> (dc3) on ubuntu 17.04 with samba 4.5.8. The replication between dc1 and dc2
> works, while dc3 is able to replicate data from the other DCs, but not the
> other way around. If i try a manual replication this is what i get:
> root at test-dc1:~# samba-tool drs replicate DC3 DC1 dc=domain,dc=com
> Replicate from DC1 to DC3 was successful.
> root at test-dc1:~# samba-tool drs replicate DC1 DC3 dc=domain,dc=com
> ERROR(<class 'samba.drs_utils.drsException'>): DsReplicaSync failed -
> drsException: DsReplicaSync failed (2, 'WERR_BADFILE')
> File "/usr/lib/python2.7/dist-packages/samba/netcmd/drs.py", line 348, in
> 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
> raise drsException("DsReplicaSync failed %s" % estr)
> Both "host -t A" and "host -t CNAME" return correct information about DC3,
> but "ping DCx.domain.com" works only for DC1 and DC2. I saw that other
> people have this problem too but didn't find a fix for it. Could it be
> because of different samba versions? Does anyone know how i could fix this?
> To unsubscribe from this list go to the following URL and read the
> instructions: https://lists.samba.org/mailman/options/samba
More information about the samba