[Samba] FSMO transfer of PDC role creates new SRV record in DNS but does not remove old one

Rowland Penny rpenny at samba.org
Tue Dec 17 16:05:10 UTC 2024


On Tue, 17 Dec 2024 15:53:34 +0000
Peter Mittermayer via samba <samba at lists.samba.org> wrote:

> Hi,
> 
> AFAIK there should be a single DNS SRV record for PDC role in the
> domain, e.g.:
> 
> _ldap._tcp.pdc._msdcs.adx.mobiltel.bg. 900 IN SRV 0 100 389
> dc01.example.com.
> 
> When doing a 'samba-tool fsmo transfer --role=pdc' on dc02, the reole
> is being transferred and a new DNS record added, but the old one for
> dc01 is not removed. Is there anything not working correctly in my
> setup or does it need to be removed manually?
> 
> Also the dns_update_list does on have a line for adding the new
> record: ${IF_PDC}SRV           _ldap._tcp.pdc._msdcs.${DNSDOMAIN}
>                ${HOSTNAME} 389
> 
> br
> 

This is a very old bug, see here:

https://bugzilla.samba.org/show_bug.cgi?id=14518

Just delete the wrong dns record

Rowland



More information about the samba mailing list