[Samba] Time sync problem samba 4.20.0 chrony debian11

Luis Peromarta lperoma at icloud.com
Tue Jun 18 11:58:07 UTC 2024


LP
On Jun 18, 2024 at 07:55 +0100, Daniel Müller <mueller at tropenklinik.de>, wrote:
> Look at it:

I noticed that the tone seemed a bit directive, which might have been unintentional. I understand that sometimes things can get lost in translation. I prefer a more collaborative approach, and I’d really appreciate it if we could keep our interactions more conversational and cooperative.

>
> 08:50:40.853291 IP (tos 0x0, ttl 127, id 26100, offset 0, flags [none], proto UDP (17), length 148)
> _gateway.ntp > dom2.tlk.loc.ntp: NTPv3, Client, length 120
> Leap indicator: clock unsynchronized (192), Stratum 0 (unspecified), poll 17 (131072s), precision -23
> Root Delay: 0.000000, Root dispersion: 1.000000, Reference-ID: (unspec)
> Reference Timestamp: 3927246573.273649199 (2024-06-13T05:49:33Z)
> Originator Timestamp: 0.000000000
> Receive Timestamp: 0.000000000
> Transmit Timestamp: 3927682239.819649899 (2024-06-18T06:50:39Z)
> Originator - Receive Timestamp: 0.000000000
> Originator - Transmit Timestamp: 3927682239.819649899 (2024-06-18T06:50:39Z)
> (72 more bytes after the header)

I see queries to the NTP, but I see no answers. Is the NTP server listening to the query ?

What is the exact options you used with tcpdump ? Is there any clues in the crony log ?

Did you change the line

bindcmdaddress our.samba.dc.loc

(I guess this has been sanitized, but dom2.tlk.loc not from tcpdump? ) to an IP address ?

> 08:50:48.106125 IP (tos 0x0, ttl 127, id 15936, offset 0, flags [none], proto UDP (17), length 148)
> _gateway.59 > dom2.tlk.loc.ntp: NTPv3, Client, length 120
> Leap indicator: clock unsynchronized (192), Stratum 0 (unspecified), poll 8 (256s), precision -23
> Root Delay: 0.000000, Root dispersion: 1.000000, Reference-ID: (unspec)
> Reference Timestamp: 3927200014.357084399 (2024-06-12T16:53:34Z)
> Originator Timestamp: 0.000000000
> Receive Timestamp: 0.000000000
> Transmit Timestamp: 3927682351.357086299 (2024-06-18T06:52:31Z)
> Originator - Receive Timestamp: 0.000000000
> Originator - Transmit Timestamp: 3927682351.357086299 (2024-06-18T06:52:31Z)
> (72 more bytes after the header)
> 08:50:48.412027 IP (tos 0x0, ttl 127, id 56942, offset 0, flags [none], proto UDP (17), length 148)
> _gateway.60 > dom2.tlk.loc.ntp: NTPv3, Client, length 120
> Leap indicator: clock unsynchronized (192), Stratum 0 (unspecified), poll 17 (131072s), precision -23
> Root Delay: 0.000000, Root dispersion: 1.000000, Reference-ID: (unspec)
> Reference Timestamp: 3927345965.328886999 (2024-06-14T09:26:05Z)
> Originator Timestamp: 0.000000000
> Receive Timestamp: 0.000000000
> Transmit Timestamp: 3927682227.968888499 (2024-06-18T06:50:27Z)
> Originator - Receive Timestamp: 0.000000000
> Originator - Transmit Timestamp: 3927682227.968888499 (2024-06-18T06:50:27Z)
> (72 more bytes after the header)
> 08:50:50.167551 IP (tos 0x0, ttl 127, id 30778, offset 0, flags [none], proto UDP (17), length 148)
> _gateway.61 > dom2.tlk.loc.ntp: NTPv3, Client, length 120
> Leap indicator: clock unsynchronized (192), Stratum 0 (unspecified), poll 7 (128s), precision -23
> Root Delay: 0.000000, Root dispersion: 1.000000, Reference-ID: (unspec)
> Reference Timestamp: 3927246447.322441699 (2024-06-13T05:47:27Z)
> Originator Timestamp: 0.000000000
> Receive Timestamp: 0.000000000
> Transmit Timestamp: 3927682205.681443299 (2024-06-18T06:50:05Z)
> Originator - Receive Timestamp: 0.000000000
> Originator - Transmit Timestamp: 3927682205.681443299 (2024-06-18T06:50:05Z)
> (72 more bytes after the header)
> 08:50:52.733597 IP (tos 0x0, ttl 128, id 55087, offset 0, flags [none], proto UDP (17), length 148)
> Ambu4.tlk.loc.ntp > dom2.tlk.loc.ntp: NTPv3, Client, length 120
> Leap indicator: clock unsynchronized (192), Stratum 0 (unspecified), poll 8 (256s), precision -23
> Root Delay: 0.000000, Root dispersion: 1.000000, Reference-ID: (unspec)
> Reference Timestamp: 3927331955.357604699 (2024-06-14T05:32:35Z)
> Originator Timestamp: 0.000000000
> Receive Timestamp: 0.000000000
> Transmit Timestamp: 3927682297.653605299 (2024-06-18T06:51:37Z)
> Originator - Receive Timestamp: 0.000000000
> Originator - Transmit Timestamp: 3927682297.653605299 (2024-06-18T06:51:37Z)
> (72 more bytes after the header)
>
> 08:53:17.277524 IP (tos 0x0, ttl 128, id 7851, offset 0, flags [none], proto UDP (17), length 148)
> terraaio01.tlk.loc.ntp > dom2.tlk.loc.ntp: NTPv3, Client, length 120
> Leap indicator: clock unsynchronized (192), Stratum 0 (unspecified), poll 10 (1024s), precision -23
> Root Delay: 0.030776, Root dispersion: 4.205795, Reference-ID: (unspec)
> Reference Timestamp: 3927003638.205545099 (2024-06-10T10:20:38Z)
> Originator Timestamp: 0.000000000
> Receive Timestamp: 0.000000000
> Transmit Timestamp: 3927682403.361546399 (2024-06-18T06:53:23Z)
> Originator - Receive Timestamp: 0.000000000
> Originator - Transmit Timestamp: 3927682403.361546399 (2024-06-18T06:53:23Z)
> (72 more bytes after the header)
>
>


More information about the samba mailing list