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 > > >
On 10/06/2020 21:30, Bob Wooden via samba wrote:> It is the first DC in a new domain. > > Nothing is "joined" to it.Strange, bit of a known problem with a newly joined DC, but it might be a idea to try adding the line to smb.conf . samba_dnsupdate is supposed to add missing dns records, so you could try running it manually 'samba_dnsupdate --use-samba-tool' Rowland
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?) (Sent from home location.) Bob Wooden On 6/10/20 3:50 PM, Rowland penny via samba wrote:> samba_dnsupdate --use-samba-tool