On Wed Jul 8 14:05:32 UTC 2020, L.P.H. van Belle wrote:> The original DNS, was that a Windows 2003 or lower server? > > Because this looks familiar. > (&(flatname=BROCKLEY)(objectclass=primaryDomain))' base: 'cn=Primary Domains': > No such object: dsdb_search...All the Samba service I am working with are test platforms and have never been part of or received data from a production AD DC. The software used has strictly been Samba-4.10.15 which is the latest version available from FreeBSD ports that is capable of provisioning a domain. I am unaware if there is an additional step required to remove a demoted DC from a domain. If so then I failed to carry it out. -- *** e-Mail is NOT a SECURE channel *** Do NOT transmit sensitive data via e-Mail Unencrypted messages have no legal claim to privacy Do NOT open attachments nor follow links sent by e-Mail James B. Byrne mailto:ByrneJB at Harte-Lyne.ca Harte & Lyne Limited http://www.harte-lyne.ca 9 Brockley Drive vox: +1 905 561 1241 Hamilton, Ontario fax: +1 905 561 0757 Canada L8E 3C3
On Wed, July 8, 2020 11:19, James B. Byrne wrote:> On Wed Jul 8 14:05:32 UTC 2020, L.P.H. van Belle wrote: >> The original DNS, was that a Windows 2003 or lower server? >> >> Because this looks familiar. >> (&(flatname=BROCKLEY)(objectclass=primaryDomain))' base: 'cn=Primary >> Domains': >> No such object: dsdb_search... >I have not altered the smb.conf file which contains this: netbios name = SMB4-2 realm = BROCKLEY.HARTE-LYNE.CA server role = active directory domain controller server services = -nbt workgroup = BROCKLEY Presumably that is where the reference to BROCKLEY is obtained. -- *** e-Mail is NOT a SECURE channel *** Do NOT transmit sensitive data via e-Mail Unencrypted messages have no legal claim to privacy Do NOT open attachments nor follow links sent by e-Mail James B. Byrne mailto:ByrneJB at Harte-Lyne.ca Harte & Lyne Limited http://www.harte-lyne.ca 9 Brockley Drive vox: +1 905 561 1241 Hamilton, Ontario fax: +1 905 561 0757 Canada L8E 3C3
Wed Jul 8 16:09:19 UTC 2020, Rowland penny wrote:> No, it is '@' for the name, not 'brockley.harte-lyne.ca'Previously I had tried that as well with similar results as shown below: [root at smb4-1 ~ (master)]# samba-tool dns help delete Usage: samba-tool dns delete <server> <zone> <name> <A|AAAA|PTR|CNAME|NS|MX|SRV|TXT> <data> [root at smb4-1 ~ (master)]# samba-tool dns delete localhost brockley.harte-lyne.ca @ NS 192.168.216.162 Password for [administrator at BROCKLEY.HARTE-LYNE.CA]: ERROR(runtime): uncaught exception - (9701, 'WERR_DNS_ERROR_RECORD_DOES_NOT_EXIST') File "/usr/local/lib/python3.7/site-packages/samba/netcmd/__init__.py", line 185, in _run return self.run(*args, **kwargs) File "/usr/local/lib/python3.7/site-packages/samba/netcmd/dns.py", line 1071, in run raise e File "/usr/local/lib/python3.7/site-packages/samba/netcmd/dns.py", line 1067, in run del_rec_buf) Unless I am completely missing what you are trying to tell me, which is not unheard of. Sincerely, -- *** e-Mail is NOT a SECURE channel *** Do NOT transmit sensitive data via e-Mail Unencrypted messages have no legal claim to privacy Do NOT open attachments nor follow links sent by e-Mail James B. Byrne mailto:ByrneJB at Harte-Lyne.ca Harte & Lyne Limited http://www.harte-lyne.ca 9 Brockley Drive vox: +1 905 561 1241 Hamilton, Ontario fax: +1 905 561 0757 Canada L8E 3C3