James B. Byrne
2024-Feb-16  14:41 UTC
[Samba] Samba trying to connect to a non-existant DC for NTP?
I am down to these last remaining artifacts, as far as I can discover:
samba-ldbsearch --cross-ncs --show-binary \
  -H /var/db/samba4/private/sam.ldb \
  -b 'DC=brockley,DC=harte-lyne,DC=ca' \
  | grep smb4-1
            mname                    : smb4-1.brockley.harte-lyne.ca
        ns                       : smb4-1.brockley.harte-lyne.ca
        ns                       : smb4-1.brockley.harte-lyne.ca
I tried deleting the NS RRs but could not arrive at the correct incantation:
samba-tool dns delete 127.0.0.1 \
  brockley.harte-lyne.ca \
  brockley.harte-lyne.ca \
  NS \
  'smb4-1.brockley.harte-lyne.ca.' \
  -U administrator
Password for [BROCKLEY\administrator]:
ERROR: Record does not exist; record could not be deleted.
zone[brockley.harte-lyne.ca] name[brockley.harte-lyne.ca]
How are these last remnants removed?
Thanks,
-- 
***          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
Rowland Penny
2024-Feb-16  17:40 UTC
[Samba] Samba trying to connect to a non-existant DC for NTP?
On Fri, 16 Feb 2024 09:41:13 -0500 "James B. Byrne via samba" <samba at lists.samba.org> wrote:> I am down to these last remaining artifacts, as far as I can discover: > > samba-ldbsearch --cross-ncs --show-binary \ > -H /var/db/samba4/private/sam.ldb \ > -b 'DC=brockley,DC=harte-lyne,DC=ca' \ > | grep smb4-1 > mname : smb4-1.brockley.harte-lyne.ca > ns : smb4-1.brockley.harte-lyne.ca > ns : smb4-1.brockley.harte-lyne.ca > > I tried deleting the NS RRs but could not arrive at the correct > incantation: > > samba-tool dns delete 127.0.0.1 \ > brockley.harte-lyne.ca \ > brockley.harte-lyne.ca \ > NS \ > 'smb4-1.brockley.harte-lyne.ca.' \ > -U administrator > Password for [BROCKLEY\administrator]: > ERROR: Record does not exist; record could not be deleted. > zone[brockley.harte-lyne.ca] name[brockley.harte-lyne.ca] > > How are these last remnants removed?You need to know where they are before you can delete them, your method is just showing that the records exist. Try dumping the output of your command (without the pipe) to a file and searching that. Rowland