[Samba] Samba AD DC replication error - 2, 'WERR_BADFILE'
L.P.H. van Belle
belle at bazuin.nl
Thu Dec 20 14:19:06 UTC 2018
Lets start with. .
The list does not accept attachments..
What is the running OS?
The samba versions?
And the smb.conf ?
Depending on version you can force a re-sync but fist tell us more.
> -----Oorspronkelijk bericht-----
> Van: samba [mailto:samba-bounces at lists.samba.org] Namens
> Martin Krämer via samba
> Verzonden: donderdag 20 december 2018 15:00
> Aan: samba at lists.samba.org
> Onderwerp: [Samba] Samba AD DC replication error - 2, 'WERR_BADFILE'
> 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
> * raise drsException("DsReplicaSync failed %s" % estr)*
> I have already checked all topics I am aware of related to
> correct name
> resolution (because that was what I found that the error I receive is
> related to on the web).
> The only interesting thing i found is that running "host -t SRV
> _kerberos._udp.example.corp" on faiserver.example.corp prints only the
> currend DC while running it on location-000001.example.corp
> prints both DCs
> ...never the less I am not sure if this might be a cause or
> is just another
> bad result of the one way sync.
> Maybe someone has an idea?
> 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
> Thanks for any hint pointing me into the right direction.
> Kind Regards
> 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