[Samba] Samba AD DC replication error - 2, 'WERR_BADFILE'
rpenny at samba.org
Thu Dec 20 14:19:51 UTC 2018
On Thu, 20 Dec 2018 14:59:52 +0100
Martin Krämer via samba <samba at lists.samba.org> wrote:
> Hello everyone,
> I have setup two Samba AD DC's with BIND9_DLZ dns backend.
> faiserver.example.corp is one of them hosting all FSMO Roles.
> location-000001.example.corp is the second one.
> Both are in different subnets but can reach each other.
> Unfortunately replication only works from faiserver.example.corp ->
> In the other direction location-000001.example.corp ->
> faiserver.example.corp it does not work.
> I always end up with error:
> *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
> 368, in run*
> * drs_utils.sendDsReplicaSync(server_bind, server_bind_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)*
> Attached you can find two files (one for each DC) with all
> information that I found could be relevant. If further information is
> required please let me know.
This mailing list strips all attachments, so you are going to have to
post any info a post
How have set up bind9 ?
What OS ?
What Samba version(s) ?
post the contents of these files (from both DC's)
your named.conf file(s)
More information about the samba