[Samba] getting no SRV record

Rowland penny rpenny at samba.org
Wed Jun 10 19:37:35 UTC 2020


On 10/06/2020 20:25, Bob Wooden via samba wrote:
> I am setting up a newly reloaded Ubuntu 18.04.4LTS Samba 4.12.3 domain 
> controller with BIND9_DLZ.
>
> All has gone well until I run:
>
> root@[dchost]:~# host -t SRV _ldap._tcp.[domain].work.
> _ldap._tcp.[domain].work has no SRV record
>
> Then I run:
>
> root@[dchost]:~# samba-tool dns add [dchost] [domain].work _ldap._tcp 
> SRV '[dchost].[domain].work 8080 0 100' -Uadministrator
> Password for [WKDOM\administrator]:
> Record _added successfully_
>
> And I am still getting:
>
> root@[dchost]:~# host -t SRV _ldap._tcp.[domain].work.
> _ldap._tcp.[domain].work has no SRV record
>
> If I run the "add" again, I get:
>
> root@[dchost]:~# samba-tool dns add [dchost] [domain].work _ldap._tcp 
> SRV '[dchost].[domain].work 8080 0 100' -Uadministrator
> Password for [WKDOM\administrator]:
> ERROR(runtime): uncaught exception - (9711, 
> 'WERR_DNS_ERROR_RECORD_ALREADY_EXISTS')
>
> I hope the sanitizing does not confuse anyone. Suggestions?
>
Does this work:

host -t SRV _ldap._tcp.$(hostname -d)

Rowland





More information about the samba mailing list