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

Rowland Penny rpenny at samba.org
Thu Feb 15 18:07:50 UTC 2024


On Thu, 15 Feb 2024 12:46:04 -0500
"James B. Byrne via samba" <samba at lists.samba.org> wrote:

> Thu Feb 15 15:46:18 UTC 2024 Rowland Penny rpenny at samba.org wrote:
> >
> > Try this on a DC:
> >
> > samba-tool dns delete 127.0.0.1 _msdcs.brockley.harte-lyne.ca
> > _ldap._tcp.pdc "SMB4-1.brockley.harte-lyne.ca 389 0 100"
> 
> Before I do anything stupid I wish to confirm that you did not
> accidentality leave out the SVR RR type.  Given that the priority,
> weight, and port values are specified it seems to me that the SRV
> type itself should also be present. Is this what you intended?

Well no and I do not know what happened, I arranged the command as I
thought you would need (from what you have posted) and cut & pasted it
into the post to the list, just like this:

samba-tool dns delete 127.0.0.1 _msdcs.brockley.harte-lyne.ca
_ldap._tcp.pdc SRV "SMB4-1.brockley.harte-lyne.ca 389 0 100"

Except somehow the 'SRV' went walk about.

 
> samba-tool dns delete 127.0.0.1 \
>   _msdcs.brockley.harte-lyne.ca \
>   _ldap._tcp.pdc \
>   "SMB4-1.brockley.harte-lyne.ca SRV 389 0 100"
> 
> > But it isn't for NTP, your initial post was for port 135, that has
> > nothing to do with NTP, which uses port 123
> 
> My mistake.  The reason that I was working on the DC in the first
> place was in respect to time synchronization and I was dealing with
> ntp.  I just never mentally switched gears from that context.

No problem, it is very easy to get fixated on something.

Rowland



More information about the samba mailing list