[Samba] Unable to "rejoin" existing DC after upgrade (infamous WERR_FILE_NOT_FOUND)

Rowland Penny rpenny at samba.org
Fri Apr 14 12:47:11 UTC 2023

On 14/04/2023 13:40, Luis Peromarta via samba wrote:
> Not that I have any problem (that I am aware) but the output of the host command only shows (showed) 2 out of  3 DCs in my network.
> I have created the missing one. All other entries in the DNS tree shows all 3 DCs for each service. The only missing was this one.
> host -t SRV _ldap._tcp.pdc._msdcs.mad.mater.int
> _ldap._tcp.pdc._msdcs.mad.mater.int has SRV record 0 100 389 bwing.mad.mater.int.
> _ldap._tcp.pdc._msdcs.mad.mater.int has SRV record 0 100 389 awing.mad.mater.int.
> _ldap._tcp.pdc._msdcs.mad.mater.int has SRV record 0 100 389 cwing.mad.mater.int.
> What could have happened ? Just curious.

There is a bug for this, whilst there is code to create the 
PDC_Emulators SRV record after the FSMO role is moved, there isn't any 
code to remove it, so you can end up up like yourself, with a record for 
every DC the PDC_emulator role has been on.

Just remove the wrong records with samba-tool.


More information about the samba mailing list