[Samba] Replications errors on 4.5.0 (WERR_BADFILE)

Arthur Ramsey arthur_ramsey at mediture.com
Mon Oct 17 16:44:24 UTC 2016


I increased the debug level to 10 and found this dreplsrv_notify: Failed 
to send DsReplicaSync to 
fe066b13-6f9e-4f3c-beb4-37df1292b8cb._msdcs.mediture.dom for 
DC=DomainDnsZones,DC=mediture,DC=dom - NT_STATUS_OBJECT_NAME_NOT_FOUND : 
WERR_BADFILE.  I manually created the DNS entry, but it doesn't 
resolve.  Other DNS records supplied by BIND_DLZ are working.  I tried 
adding a host file entry, but that didn't see to work either.  I see 
similar for all other DCs (different UUID values in log).

When I run /usr/local/samba/sbin/samba_dnsupdate I get no error 
messages, but I noticed it reports it isn't the master when it is.

[root at dc01 ~]# samba-tool fsmo show
SchemaMasterRole owner: CN=NTDS Settings,CN=DC01,CN=Servers,CN=vsc,CN=Sites,CN=Configuration,DC=mediture,DC=dom
InfrastructureMasterRole owner: CN=NTDS Settings,CN=DC01,CN=Servers,CN=vsc,CN=Sites,CN=Configuration,DC=mediture,DC=dom
RidAllocationMasterRole owner: CN=NTDS Settings,CN=DC01,CN=Servers,CN=vsc,CN=Sites,CN=Configuration,DC=mediture,DC=dom
PdcEmulationMasterRole owner: CN=NTDS Settings,CN=DC01,CN=Servers,CN=vsc,CN=Sites,CN=Configuration,DC=mediture,DC=dom
DomainNamingMasterRole owner: CN=NTDS Settings,CN=DC01,CN=Servers,CN=vsc,CN=Sites,CN=Configuration,DC=mediture,DC=dom
DomainDnsZonesMasterRole owner: CN=NTDS Settings,CN=DC01,CN=Servers,CN=vsc,CN=Sites,CN=Configuration,DC=mediture,DC=dom
ForestDnsZonesMasterRole owner: CN=NTDS Settings,CN=DC01,CN=Servers,CN=vsc,CN=Sites,CN=Configuration,DC=mediture,DC=dom

[root at dc01 ~]# /usr/local/samba/sbin/samba_dnsupdate -d 100 2>&1 | grep master
schema_fsmo_init: we are master[no] updates allowed[no]
schema_fsmo_init: we are master[no] updates allowed[no]

Thanks,
Arthur

On 10/14/2016 05:12 PM, Arthur Ramsey wrote:
> Replication has been running smoothly until I upgraded to 4.5.0. I had 
> various errors with all BDCs and a force sync didn't resolve it.  I 
> shutdown all BDCs, demoted them with --remove-other-dead-server then 
> joined new BDCs with new names. At first replication was 
> intermittently failing (consecutive failures counter kept resetting), 
> but it seemed OK, just slow if anything. Now they all say WERR_BADFILE 
> and I can only get the consecutive failure counter to reset with a 
> force sync.
>
> I also see "The RPC server is unavailable" when trying to connect to 
> any DC via Active Directory Users and Computers.
>
> I've had a ton of issues after upgrading to 4.5.0.  Could I safely 
> upgrade?
>
> Thanks,
> Arthur

-- 
Arthur Ramsey
System Administrator
Mediture
arthur_ramsey at mediture.com
952.400.0323


This e-mail and any attachments may contain CONFIDENTIAL information, including PROTECTED HEALTH INFORMATION. If you are not the intended recipient, any use or disclosure of this information is STRICTLY PROHIBITED; you are requested to delete this e-mail and any attachments, notify the sender immediately, and notify the Mediture Privacy Officer at privacyofficer at mediture.com.




More information about the samba mailing list