NTP synchronization problems for clients

Come here to share your tips and tricks for using Samba4
Answer
yaldoo
Messages: 4
Registration: Oct 16, 2025 - 9:16 p.m.

January 22, 2026 - 3:05 PM

Good morning,

I am on Debain 13 with the latest version of Samba-AD.
I followed the instructions https://samba.tranquil.it/doc/fr/samba_ ... ebian.html
I have the chrony service running, the socket has the correct permissions, but my server is not responding to signed requests (length 120)

w32tm /stripchart /computer:172.16.2.1 /samples:1 /dataonly

Code: Select all

14:57:49.034807 IP (tos 0x0, ttl 128, id 62657, offset 0, flags [none], proto UDP (17), length 76)
    10.0.248.10.54507 > 172.16.2.1.123: NTPv1, Client, length 48
        Leap indicator:  (0), Stratum 0 (unspecified), poll 0 (1s), precision 0
        Root Delay: 0.000000, Root dispersion: 0.000000, Reference-ID: (unspec)
          Reference Timestamp:  0.000000000
          Originator Timestamp: 0.000000000
          Receive Timestamp:    0.000000000
          Transmit Timestamp:   3978079066.333766699 (2026-01-22T13:57:46Z)
            Originator - Receive Timestamp:  0.000000000
            Originator - Transmit Timestamp: 3978079066.333766699 (2026-01-22T13:57:46Z)
14:57:49.034891 IP (tos 0x0, ttl 64, id 55417, offset 0, flags [DF], proto UDP (17), length 76)
    172.16.2.1.123 > 10.0.248.10.54507: NTPv1, Server, length 48
        Leap indicator:  (0), Stratum 3 (secondary reference), poll 0 (1s), precision -26
        Root Delay: 0.019027, Root dispersion: 0.000473, Reference-ID: 0x3ed281ab
          Reference Timestamp:  3978079058.980249532 (2026-01-22T13:57:38Z)
          Originator Timestamp: 3978079066.333766699 (2026-01-22T13:57:46Z)
          Receive Timestamp:    3978079069.034855657 (2026-01-22T13:57:49Z)
          Transmit Timestamp:   3978079069.034928405 (2026-01-22T13:57:49Z)
            Originator - Receive Timestamp:  +2.701088958
            Originator - Transmit Timestamp: +2.701161705
w32tm /resync /nowait

Code: Select all

15:01:52.210935 IP (tos 0x0, ttl 128, id 18487, offset 0, flags [none], proto UDP (17), length 148)
    10.0.248.10.123 > 172.16.2.1.123: NTPv3, Client, length 120
        Leap indicator:  (0), Stratum 1 (primary reference), poll 17 (131072s), precision -23
        Root Delay: 0.000000, Root dispersion: 10.000000, Reference-ID: LOCL
          Reference Timestamp:  3978079309.366612899 (2026-01-22T14:01:49Z)
          Originator Timestamp: 0.000000000
          Receive Timestamp:    0.000000000
          Transmit Timestamp:   3978079309.507616199 (2026-01-22T14:01:49Z)
            Originator - Receive Timestamp:  0.000000000
            Originator - Transmit Timestamp: 3978079309.507616199 (2026-01-22T14:01:49Z)
        (72 more bytes after the header)
I get a response in the first case but not in the second.
I've tried everything, but nothing works. Have you ever encountered this problem?
User avatar
dcardon
WAPT Expert
Messages: 1982
Registration: June 18, 2014 - 09:58
Location: Saint Sébastien sur Loire
Contact :

January 22, 2026 - 4:45 PM

Hello Julien,

Regarding the DC(s), does Chrony say he's very happy with MS-SNTP?

Code: Select all

# cat  daemon.log | grep MS-SNTP
Sep  4 19:18:52 dc-xxxxx chronyd[893]: MS-SNTP authentication enabled
and that there is no

Code: Select all

CONFIG: MS-SNTP signd operations currently block ntpd degrading service to all clients.
Denis
Denis Cardon - Tranquil IT
Share your experiences on WAPT! Send us your blog and article URLs in the "Your Opinion of the forum, and we'll feature them on the WAPT
yaldoo
Messages: 4
Registration: Oct 16, 2025 - 9:16 p.m.

January 23, 2026 - 09:27

Thank you for your replies. The logs seem OK on both of my DCs

Code: Select all

# sudo journalctl -g "MS-SNTP"
Jan 23 08:45:13 ad-xxxxxx chronyd[801]: MS-SNTP authentication enabled
I don't have a log file in /var/log/chrony though

I tried upgrading and rebooting... nothing worked

In your opinion, can I push an NTP server via GPO?
User avatar
dcardon
WAPT Expert
Messages: 1982
Registration: June 18, 2014 - 09:58
Location: Saint Sébastien sur Loire
Contact :

February 6, 2026 - 9:36 AM

Hi Julien,

by default, Windows workstations will operate in NTDS5 NTP mode, meaning they will connect to domain controllers for NTP using a secure method (SNTP) based on the machine's Active Directory account.

If needed, you can implement a Group Policy Object (GPO) to point to other NTP servers, but this will then be standard NTP instead of SNTP, which I don't think is a problem unless you need a network with a high level of security.

But anyway, NTDS5 NTP mode should work out of the box...

Best regards,

Denis
Denis Cardon - Tranquil IT
Share your experiences on WAPT! Send us your blog and article URLs in the "Your Opinion of the forum, and we'll feature them on the WAPT
ploubi
Messages: 1
Registration: February 29, 2024 - 2:32 PM

August 10, 2026 - 5:30 PM

Good morning,

I have a problem with my client workstations (Windows) whose clocks are not synchronizing.
The server configuration matches the documentation: https://samba.tranquil.it/doc/en/samba_ ...ebian.html
MS-SNTP appears to be active
urr-deb-smbad:/home/urrugne# systemctl status chrony
● chrony.service - chrony, an NTP client/server
Loaded: loaded (/lib/systemd/system/chrony.service; enabled; preset: enabled)
Active: active (running) since Mon 2026-08-10 15:39:16 CEST; 1h 44min ago
Docs: man:chronyd(8)
man:chronyc(1)
man:chrony.conf(5)
Main PID: 302393 (chronyd)
Tasks: 2 (limit: 4562)
Memory: 1.5M
CPU: 91ms
CGroup: /system.slice/chrony.service
├─302393 /usr/sbin/chronyd -F 1
└─302394 /usr/sbin/chronyd -F 1

Aug 10 15:39:16 urr-deb-smbad.ville-urrugne.fr chronyd[302393]: chronyd version 4.3 starting (+CMDMON +NTP +REFCLOCK +RTC +PRIVDROP +SCFILTER +SIGND +ASYNCDNS +NTS +SECHASH +IPV6 -DEBUG)
Aug 10 15:39:16 urr-deb-smbad.ville-urrugne.fr chronyd[302393]: Frequency -39.237 +/- 0.007 ppm read from /var/lib/chrony/chrony.drift
Aug 10 15:39:16 urr-deb-smbad.ville-urrugne.fr chronyd[302393]: Using right/UTC timezone to obtain leap second data
Aug 10 15:39:16 urr-deb-smbad.ville-urrugne.fr chronyd[302393]: MS-SNTP authentication enabled
Aug 10 15:39:16 urr-deb-smbad.ville-urrugne.fr chronyd[302393]: Loaded seccomp filter (level 1)
Aug 10 15:39:16 urr-deb-smbad.ville-urrugne.fr systemd[1]: Started chrony.service - chrony, an NTP client/server.
Aug 10 15:39:21 urr-deb-smbad.ville-urrugne.fr chronyd[302393]: Selected source 109.190.177.200 (2.debian.pool.ntp.org)
Aug 10 15:39:21 urr-deb-smbad.ville-urrugne.fr chronyd[302393]: System clock TAI offset set to 37 seconds
Aug 10 15:40:27 urr-deb-smbad.ville-urrugne.fr chronyd[302393]: Selected source 217.154.21.219 (2.debian.pool.ntp.org)
Aug 10 15:44:46 urr-deb-smbad.ville-urrugne.fr chronyd[302393]: Selected source 109.190.177.200 (2.debian.pool.ntp.org)
In the Windows settings for clients to adjust the time, it is specified that some settings are "managed by my organization"
The "Synchronize now" and "Edit time server" buttons are active, but it fails when I try to modify them (I have to leave AD to manually resynchronize and then re-join).

"w32tm /query /status" returns that I am in Local CMOS Clock instead of the Samba AD server
"w32tm.exe /query /configuration" returns that I am indeed in NT5DS
With "w32tm /monitor" however it seems OK, modulo a warning regarding reverse DNS, which is strange because there is indeed an entry for the Samba AD server in the reverse zone.
urr-deb-smbad.ville-urrugne.fr *** PDC ***[192.168.1.8:123]: the default domain...
ICMP: 0ms
NTP delay: +0.0000000s Offset of urr-deb-smbad.********.fr
RefID: 200-177-190-109.dsl.ovh.fr [109.190.177.200]
Layer: 3

Warning:
Reverse name resolution is recommended. An error may
occur because the time packet reference ID field differs between
NTP implementations and may not use IP addresses.

In the Windows logs, I have warnings that seem to indicate a connection problem between the two
NtpClient could not define a usable peer domain as a time source due to a discovery error. It will retry in 15 minutes, then double the timeout interval for subsequent attempts. The error was: Topic not found. (0x800706E1)
NtpClient Time Provider: No valid response was received from the domain controller urr-deb-smbad.********.fr after 8 attempts to contact it. This domain controller will be rejected as a time source, and NtpClient will attempt to discover a new domain controller from which to synchronize. Error reported: Peer is unreachable.

The server responds correctly to pings from the client machine.

Any idea what I might have forgotten?
Answer