[Samba] Best way to get the current PDC emulator master via DNS (Possible bug?)
Luis Peromarta
lperoma at icloud.com
Sat Oct 19 11:13:10 UTC 2024
Thanks Rowland for clarifying.
I am trying to build a 'samba-tool dns delete’ command to delete the record, but can’t quite figure it out.
host -t SRV _ldap._tcp.pdc._msdcs.mad.caopnato.es
_ldap._tcp.pdc._msdcs.mad.caponato.es has SRV record 0 100 389 dc1.mad.caponato.es.
samba-tool dns delete dc1.mad.caponato.es mad.caponato.es _ldap._tcp.pdc._msdcs SRV “dc1.mad.caponato.es 389 0 100" -U Administrator
ERROR(runtime): The record does not exist [WERR_DNS_ERROR_RECORD_DOES_NOT_EXIST] - (9701, 'WERR_DNS_ERROR_RECORD_DOES_NOT_EXIST')
Any hint ? Thanks,
On Oct 19, 2024 at 12:33 +0200, samba at lists.samba.org <samba at lists.samba.org>, wrote:
>
> Transferring the PDC_Emulator FSMO role does not create the dns entry,
> it is created by samba_dnsupdate, which is run every 10 minutes.
More information about the samba
mailing list