[Samba] getting no SRV record

Bob Wooden bob at donelsontrophy.com
Wed Jun 10 19:25:20 UTC 2020


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?

-- 
(Sent from home location.)

Bob Wooden



More information about the samba mailing list