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 > > >
On 10/06/2020 20:51, Bob Wooden via samba wrote:> Same result: > > root@[dchost]:~# host -t SRV _ldap._tcp.$(hostname -d) > _ldap._tcp.[domain].work has no SRV recordIs this the first DC in a new domain, or a new DC joined to an existing domain ? If it is the latter, then it might be a samba_dnsupdate problem, try looking in syslog. You could try adding 'dns update command = /usr/sbin/samba_dnsupdate --use-samba-tool' to smb.conf> > > (Sent from home location.)Would that be /etc/home/bob :-D Rowland
It is the first DC in a new domain. Nothing is "joined" to it. (Sent from home location.) Bob Wooden Donelson Trophy 615.885.2846 On 6/10/20 3:04 PM, Rowland penny via samba wrote:> On 10/06/2020 20:51, Bob Wooden via samba wrote: >> Same result: >> >> root@[dchost]:~# host -t SRV _ldap._tcp.$(hostname -d) >> _ldap._tcp.[domain].work has no SRV record > > Is this the first DC in a new domain, or a new DC joined to an > existing domain ? > > If it is the latter, then it might be a samba_dnsupdate problem, try > looking in syslog. You could try adding 'dns update command = > /usr/sbin/samba_dnsupdate --use-samba-tool' to smb.conf > >> >> >> (Sent from home location.) > > Would that be /etc/home/bob :-D > > Rowland > > >