[Samba] DNS synchronization failure
Ricardo Pardim Claus
ricardo.claus at yahoo.com.br
Tue Jul 5 17:57:10 UTC 2016
Environment:DC1 Primary: Win2008 R2DC2 Secondary: Centos 7 Samba 4.4.4
Dear,How to make sure that the DC's are synchronized?
Running the commands below, I get an error stating that the ForestDNSZones and DomainDnsZones is not being replicated.
# samba-tool drs replicate dc1 dc2 "DC=ForestDnsZones,DC=domain,DC=local"
ERROR(<class 'samba.drs_utils.drsException'>): DsReplicaSync failed - drsException: DsReplicaSync failed (8452, 'WERR_DS_DRA_NO_REPLICA') File "/usr/local/samba/lib64/python2.7/site-packages/samba/netcmd/drs.py", line 350, 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)
# samba-tool drs replicate dc1 dc2 DC=DomainDnsZones,dc=domain,dc=local
ERROR(<class 'samba.drs_utils.drsException'>): DsReplicaSync failed - drsException: DsReplicaSync failed (8452, 'WERR_DS_DRA_NO_REPLICA') File "/usr/local/samba/lib64/python2.7/site-packages/samba/netcmd/drs.py", line 350, 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)
But when I run command reversing the order of DC's, I get success message:
Replicate from dc1 to dc2 was successful.
Other obejtos are being successfully synchronized (Configuration and Schema).
Anyone know how to solve this pending?Thank you!
More information about the samba
mailing list