[Samba] getting no SRV record

Bob Wooden bob at donelsontrophy.com
Wed Jun 10 19:51:05 UTC 2020


Same result:

root@[dchost]:~# host -t SRV _ldap._tcp.$(hostname -d)
_ldap._tcp.[domain].work has no SRV record


(Sent from home location.)

Bob Wooden
Donelson Trophy
615.885.2846

On 6/10/20 2:37 PM, Rowland penny via samba wrote:
> 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