[Samba] Samba trying to connect to a non-existant DC for NTP?

Rowland Penny rpenny at samba.org
Fri Feb 16 17:40:54 UTC 2024


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





More information about the samba mailing list