L2: Internal use only
Hello,
We ran into the same issue while upgrading our Samba version, and after
troubleshooting for a day, I eventually found this thread.
The workaround with the registry modification works, and I'd like to share
our findings as well.
We are running Samba 4.23.3-SerNet-7debian13 on Debian Trixie, with Chrony
4.6.1.
We have not yet performed the functional level upgrade (only the preparation
steps so far).
Forest functional level: Windows 2008 R2
Domain functional level: Windows 2008 R2
Lowest DC functional level: Windows 2016
Chrony is properly configured and the services are running. Linux clients are
unaffected. There is no firewall blocking NTP communication.
When checking the connected clients, I can see the list of Windows clients that
are attempting to request time ("chronyc clients").
After enabling w32tm debug logging, it appears that the NTP server never
responds to the client.
155208 02:06:07.5832283s - Resolving domain peer
155208 02:06:07.6933058s - Domain member syncing from
\\dc1.example.net<file://dc1.example.net>.
155208 02:06:07.6946063s - Create new peer associations: #1
155208 02:06:07.6946153s - Association: (Local) 0.0.0.0:123 =>
192.168.100.1:123 (Remote)
155208 02:06:07.6946228s - Created reachability group: (
155208 02:06:07.6946267s - 192.168.100.1:123,
155208 02:06:07.6946303s - )
155208 02:06:07.6946402s - PollIntervalChange(): clear: host 0 = max 17
155208 02:06:07.6946509s - PeerPollingThread: waiting 0.000s
155208 02:06:07.6946642s - PeerPollingThread: PeerListUpdated
155208 02:06:07.6946726s - Reachability: Attempting to contact peer
dc1.example.net (ntp.d|0.0.0.0:123->192.168.100.1:123).
155208 02:06:07.6946761s - Polling peer dc1.example.net
(ntp.d|0.0.0.0:123->192.168.100.1:123)
155208 02:06:07.6946800s - Sending packet to dc1.example.net
(ntp.d|0.0.0.0:123->192.168.100.1:123) in Win2K detect mode, stage 1.
155208 02:06:07.6947571s - PeerPollingThread: WaitTimeout
155208 02:06:07.6947676s - PeerPollingThread: waiting forever
155208 02:06:07.6947810s - PollIntervalChange(dc1.example.net
(ntp.d|0.0.0.0:123->192.168.100.1:123)): reclamp: 17 -> 6 (min=4, max=17,
sys=6)
155208 02:06:07.6947848s - Peer poll: Max:64.0000000s Cur:00.0000000s
155208 02:06:07.7081464s - Tx timestamp not returned and may be unsupported on
the current network interface.
155208 02:06:07.7081611s - PeerPollingThread: waiting 64.000s
155208 02:06:08.2394244s - W32TmServiceMain: timeout
155208 02:06:08.2394569s - Sample Prepared at 134099787682394540 for peer
dc1.example.net (ntp.d|0.0.0.0:123->192.168.100.1:123)
155208 02:06:08.2394620s - ** NTP sample vector is empty.
155208 02:06:08.2394677s - No new NTP sample is available.
155208 02:06:08.2394907s - UpdateTimerQueue1: TN:179268120000::: LRT:56162030000
LUT:56851090000 LAFLTNS:122416884041 TSLGT:122416884041 LTNS:864000000000
155208 02:06:08.2394952s - W32TmServiceMain: waiting 64.000s
155208 02:07:11.7082071s - PeerPollingThread: WaitTimeout
155208 02:07:11.7082458s - Polling peer dc1.example.net
(ntp.d|0.0.0.0:123->192.168.100.1:123)
155208 02:07:11.7082517s - Sending packet to dc1.example.net
(ntp.d|0.0.0.0:123->192.168.100.1:123) in Win2K detect mode, stage 1.
155208 02:07:11.7083025s - Peer poll: Max:64.0000000s Cur:00.0000000s
155208 02:07:11.7237975s - Tx timestamp not returned and may be unsupported on
the current network interface.
155208 02:07:11.7238139s - PeerPollingThread: waiting 64.000s
155208 02:07:12.2394376s - W32TmServiceMain: timeout
155208 02:07:12.2394693s - Sample Prepared at 134099788322394668 for peer
dc1.example.net (ntp.d|0.0.0.0:123->192.168.100.1:123)
155208 02:07:12.2394747s - ** NTP sample vector is empty.
155208 02:07:12.2394788s - No new NTP sample is available.
155208 02:07:12.2394882s - UpdateTimerQueue1: TN:179908120000::: LRT:56162030000
LUT:56851090000 LAFLTNS:123056883704 TSLGT:123056883704 LTNS:864000000000
155208 02:07:12.2394915s - W32TmServiceMain: waiting 64.000s
155208 02:08:15.7394262s - PeerPollingThread: WaitTimeout
155208 02:08:15.7395117s - Polling peer dc1.example.net
(ntp.d|0.0.0.0:123->192.168.100.1:123)
155208 02:08:15.7395179s - Sending packet to dc1.example.net
(ntp.d|0.0.0.0:123->192.168.100.1:123) in Win2K detect mode, stage 1.
155208 02:08:15.7395691s - PollIntervalChange(dc1.example.net
(ntp.d|0.0.0.0:123->192.168.100.1:123)): adjust: (--) -> 5
155208 02:08:15.7395727s - No response from peer dc1.example.net
(ntp.d|0.0.0.0:123->192.168.100.1:123).
155208 02:08:15.7395776s - TSI_PhaseOffset returned:1066123389072
155208 02:08:15.7395807s - 5 Age:5 Ofs:+00.0000000s COfs:+00.0000000s
Dly:+00.0000000s RDly:+00.0000000s Dsp:16.0014820s RDsp:00.0000000s
Pnt:00.0059280s Dst:16.0000000s FDsp:00.2500231s Jitter:00.0000000s
AgeTime:+13409978895.7395757s stc:0
155208 02:08:15.7395916s - 4 Age:4 Ofs:+00.0000000s COfs:+00.0000000s
Dly:+00.0000000s RDly:+00.0000000s Dsp:16.0014820s RDsp:00.0000000s
Pnt:00.0059280s Dst:16.0000000s FDsp:00.7500694s Jitter:00.0000000s
AgeTime:+13409978895.7395757s stc:0
155208 02:08:15.7396142s - 3 Age:3 Ofs:+00.0000000s COfs:+00.0000000s
Dly:+00.0000000s RDly:+00.0000000s Dsp:16.0014820s RDsp:00.0000000s
Pnt:00.0059280s Dst:16.0000000s FDsp:01.7501620s Jitter:00.0000000s
AgeTime:+13409978895.7395757s stc:0
155208 02:08:15.7396232s - 2 Age:2 Ofs:+00.0000000s COfs:+00.0000000s
Dly:+00.0000000s RDly:+00.0000000s Dsp:16.0014820s RDsp:00.0000000s
Pnt:00.0059280s Dst:16.0000000s FDsp:03.7503472s Jitter:00.0000000s
AgeTime:+13409978895.7395757s stc:0
155208 02:08:15.7396315s - 1 Age:1 Ofs:+00.0000000s COfs:+00.0000000s
Dly:+00.0000000s RDly:+00.0000000s Dsp:16.0014820s RDsp:00.0000000s
Pnt:00.0059280s Dst:16.0000000s FDsp:07.7507177s Jitter:00.0000000s
AgeTime:+13409978895.7395757s stc:0
155208 02:08:15.7396399s - 0 Age:0 Ofs:+00.0000000s COfs:+00.0000000s
Dly:+00.0000000s RDly:+00.0000000s Dsp:16.0000000s RDsp:00.0000000s
Pnt:00.0000000s Dst:16.0000000s FDsp:15.7507177s Jitter:00.0000000s
AgeTime:+13409978895.7395757s stc:0
155208 02:08:15.7396482s - Peer jitter: 00.0000000s Filter Dispersion:
15.7507177s
155208 02:08:15.7396526s - Logging information: NtpClient has not received
response from server dc1.example.net (ntp.d|0.0.0.0:123->192.168.100.1:123).
155208 02:08:15.7396564s - Peer poll: Max:32.0000000s Cur:00.0000000s
155208 02:08:15.7550976s - Tx timestamp not returned and may be unsupported on
the current network interface.
155208 02:08:15.7551296s - PeerPollingThread: waiting 32.000s
155208 02:08:16.2550346s - W32TmServiceMain: timeout
155208 02:08:16.2550707s - Sample Prepared at 134099788962550680 for peer
dc1.example.net (ntp.d|0.0.0.0:123->192.168.100.1:123)
155208 02:08:16.2550776s - ** NTP sample vector is empty.
155208 02:08:16.2550813s - No new NTP sample is available.
155208 02:08:16.2550905s - UpdateTimerQueue1: TN:180548280000::: LRT:56162030000
LUT:56851090000 LAFLTNS:123697039419 TSLGT:123697039419 LTNS:864000000000
155208 02:08:16.2550938s - W32TmServiceMain: waiting 64.000s
155208 02:08:47.7706462s - PeerPollingThread: WaitTimeout
155208 02:08:47.7707103s - Polling peer dc1.example.net
(ntp.d|0.0.0.0:123->192.168.100.1:123)
155208 02:08:47.7707262s - Sending packet to dc1.example.net
(ntp.d|0.0.0.0:123->192.168.100.1:123) in Win2K detect mode, stage 1.
155208 02:08:47.7707675s - PollIntervalChange(dc1.example.net
(ntp.d|0.0.0.0:123->192.168.100.1:123)): adjust: (--) -> 4
155208 02:08:47.7707712s - No response from peer dc1.example.net
(ntp.d|0.0.0.0:123->192.168.100.1:123).
155208 02:08:47.7707767s - TSI_PhaseOffset returned:1066123389072
Adam