I have the exact same problem with my Windows clients. Many of their clocks are drifting and I can't find a solution. I have a GPO according to the Samba Wiki page, but it doesn't work, apparently.> Running 'w32tm /query /status' still showed the 'local' clock as time source, so: > w32tm /resync > To force a sync from the pdc_emulatorI am not that lucky: w32tm /resync Sending resync command to local computer The computer did not resync because no time data was available But: w32tm /query /peers /verbose #Peers: 1 Peer: DC-2.mydomain.com State: Active Time Remaining: 26.6768908s Mode: 3 (Client) Stratum: 0 (unspecified) PeerPoll Interval: 0 (unspecified) HostPoll Interval: 6 (64s) Last Successful Sync Time: (null) LastSyncError: 0x800705B4 (Esta opera??o foi devolvida porque o tempo limite expirou. ) LastSyncErrorMsgId: 0x00000000 (Succeeded) AuthTypeMsgId: 0x0000009B (NtSignature ) Resolve Attempts: 0 ValidDataCounter: 1 Reachability: 2 w32tm /monitor DC-2.mydomain.com[xxx.xxx.xxx.8:123]: ICMP: 0ms delay NTP: +0.0003020s offset from DC-1.mydomain.com RefID: ntp04x.oal.ul.pt [194.117.9.136] Stratum: 3 DC-1.mydomain.com *** PDC ***[ xxx.xxx.xxx.2:123]: ICMP: 0ms delay NTP: +0.0000000s offset from DC-1.mydomain.com RefID: ntp04x.oal.ul.pt [194.117.9.136] Stratum: 3 w32tm /query /status Leap Indicator: 3(not synchronized) Stratum: 0 (unspecified) Precision: -23 (119.209ns per tick) Root Delay: 0.0000000s Root Dispersion: 0.0000000s ReferenceId: 0x00000000 (unspecified) Last Successful Sync Time: unspecified Source: Local CMOS Clock Poll Interval: 6 (64s) So, no deal.
Hi folks, This is a constantly recurring problem. I have put up the problem on this list at least a couple of times during the last 7 or 8 years, or so. Sometimes it works, but mostly not. The fickleness of Windows is incredible, and there is a quite extensive list of other functions that should work in Windows, but I never succeeded get working (for example COM port redirection on RDP servers). I have got just around 10 PCs in one domain, and setting time sync to manual with the DCs as peers, is a quickie. But so meaningless, when it really should work out of the box. You can also put me on the list of Windows haters... Best regards, Peter
On Saturday, January 18, 2025 4:36:59?AM Pacific Standard Time miguel medalha via samba wrote:> I have the exact same problem with my Windows clients. Many of their clocks > are drifting and I can't find a solution. I have a GPO according to the > Samba Wiki page, but it doesn't work, apparently. > > Running 'w32tm /query /status' still showed the 'local' clock as time > > source, so: w32tm /resync > > To force a sync from the pdc_emulator > > I am not that lucky: > > w32tm /resync > Sending resync command to local computer > The computer did not resync because no time data was available > > But: > > w32tm /query /peers /verbose > #Peers: 1 > Peer: DC-2.mydomain.com > State: Active > Time Remaining: 26.6768908s > Mode: 3 (Client) > Stratum: 0 (unspecified) > PeerPoll Interval: 0 (unspecified) > HostPoll Interval: 6 (64s) > Last Successful Sync Time: (null) > LastSyncError: 0x800705B4 (Esta opera??o foi devolvida porque o tempo limite > expirou. ) LastSyncErrorMsgId: 0x00000000 (Succeeded) > AuthTypeMsgId: 0x0000009B (NtSignature ) > Resolve Attempts: 0 > ValidDataCounter: 1 > Reachability: 2 > > w32tm /monitor > DC-2.mydomain.com[xxx.xxx.xxx.8:123]: > ICMP: 0ms delay > NTP: +0.0003020s offset from DC-1.mydomain.com > RefID: ntp04x.oal.ul.pt [194.117.9.136] > Stratum: 3 > DC-1.mydomain.com *** PDC ***[ xxx.xxx.xxx.2:123]: > ICMP: 0ms delay > NTP: +0.0000000s offset from DC-1.mydomain.com > RefID: ntp04x.oal.ul.pt [194.117.9.136] > Stratum: 3 > > w32tm /query /status > Leap Indicator: 3(not synchronized) > Stratum: 0 (unspecified) > Precision: -23 (119.209ns per tick) > Root Delay: 0.0000000s > Root Dispersion: 0.0000000s > ReferenceId: 0x00000000 (unspecified) > Last Successful Sync Time: unspecified > Source: Local CMOS Clock > Poll Interval: 6 (64s) > > So, no deal.It looks like one of five things. I would probably check the follow mostly non- CIFSish thing on DC-1.mydomain.com and DC-2.mydomain.com - Is the firewall not allowing NTP traffic through? - Is the NTP server (usually chrony/NTPsec/NTPd) running? - Is the NTP server configured correctly? - Is there an issue with samba (signd process not running)? - Is MS-Windows just being a pain in the butt? -30-