[Samba] getting no SRV record

Rowland penny rpenny at samba.org
Wed Jun 10 21:16:16 UTC 2020


On 10/06/2020 21:58, Bob Wooden via samba wrote:
> Here's what happened:
>
> root@[dchost]:~# samba_dnsupdate --use-samba-tool
> Failed to get Kerberos credentials, falling back to samba-tool: kinit 
> for [dchost]$@[domain].WORK failed (Cannot contact any KDC for 
> requested realm)
>
> ERROR(runtime): uncaught exception - (9711, 
> 'WERR_DNS_ERROR_RECORD_ALREADY_EXISTS')
> >>>>>>>> snipped for brevity <<<<<<<<<<<<<
> >>>>> all "uncaught exceptions" <<<<<<<<<<<<
>   File 
> "/usr/local/samba/lib/python3.6/site-packages/samba/netcmd/__init__.py", 
> line 186, in _run
>     return self.run(*args, **kwargs)
>   File 
> "/usr/local/samba/lib/python3.6/site-packages/samba/netcmd/dns.py", 
> line 945, in run
>     raise e
>   File 
> "/usr/local/samba/lib/python3.6/site-packages/samba/netcmd/dns.py", 
> line 941, in run
>     0, server, zone, name, add_rec_buf, None)
> Failed update of 29 entries
>
> (It's late where you are. More in the morning?)

Its not that late that I can't tell you that the record does exist and 
the python error above has been fixed in a later version.

Try checking /etc/resolv.conf, it should be:

search [domain].work

nameserver <the DC's ipaddress>

I seem to remember Bind9 being mentioned, is it running ?

Is /etc/hosts set up correctly ?

Rowland





More information about the samba mailing list