[prev in list] [next in list] [prev in thread] [next in thread] 

List:       samba
Subject:    Re: [Samba] Samba trying to connect to a non-existant DC for NTP?
From:       Rowland Penny via samba <samba () lists ! samba ! org>
Date:       2024-02-16 17:40:54
Message-ID: 20240216174054.7a3016d6 () devstation ! samdom ! example ! com
[Download RAW message or body]

On Fri, 16 Feb 2024 09:41:13 -0500
"James B. Byrne via samba" <samba@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



-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic