V
Vadim Rapp
Hello,
I'm trying to set win2k sp4 server to synchronize with external time server,
for instance time.windows.com. With a third-party time utility I synchronize
successfully, so port 123 is open.
I run
C:\WINNT\Profiles\Administrator>net time /setsntp:time.windows.com
The command completed successfully.
C:\WINNT\Profiles\Administrator>net time /querysntp
The current SNTP value is: time.windows.com
The command completed successfully.
But then when I run w32tm -test -once -v, it appears that time service still
synchronizes with another domain controller.
This is happening on both PDC and BDC : PDC goes to BDC, BDC goes to PDC.
The output from w32tm follows.
I wonder, why does it not go to time.windows.com?
thanks,
Vadim Rapp
Polyscience, Inc.
C:\WINNT\Profiles\Administrator>w32tm -test -v -once
W32Time: BEGIN:InitAdjIncr
W32Time: Adj 156243 , Incr 156250 fAdjust 0
W32Time: 156243 Adj!=Incr 156250
W32Time: END:Line 2503
W32Time: BEGIN:TsUpTheThread
W32Time: END Line 1407
W32Time: TimeMMInit()
W32Time: Kernel timer : using default maximum resolution
W32Time: MaximumTime = 156250
W32Time: CurrentTime = 156250
W32Time: Timer calibrated, looped 1 times
W32Time: BEGIN:InitTmCfg
W32Time: END:Line 807
W32Time: BEGIN:InitTmCli
W32Time: END:Line 2596
W32Time: BEGIN:InitTmData
W32Time: END:Line 2618
W32Time: AvoidTimeSyncOnWan 0
W32Time: Period given in Registry 0xfffc
W32Time: BEGIN:CMOSSynchSet
W32Time: Setting adjustment 156243 - Bool 0
W32Time: BEGIN:SetTSTimeRes
W32Time: END:Line 1295
W32Time: END:Line 864
W32Time: BEGIN:InitializeDC
W32Time: BEGIN:GetRole
W32Time: Role is 'PDC'
W32Time: END Line 672
W32Time: BEGIN:FetchParentDomainName
W32Time: NetLogonGetTimeServiceParentDomain() returned 54b with ptr 0
W32Time: END:Line 782
W32Time: END:Line 704
W32Time: Server: Binding to 1 NIC.
W32Time: Advertising that I'm a Time Service Provider
W32Time: timeBeginPeriod: setting resolution 9
W32Time: BEGIN:TimeSync
W32Time: BEGIN:FGetType
W32Time: END Line 254
W32Time: BEGIN:FDoTimeNTPType
W32Time: BEGIN:FDoNT5DSType
W32Time: BEGIN:FBuildDCList
W32Time: BEGIN:GetNT5DCAddress
W32Time: Member of an Win2K domain. Looking for DCs.
W32Time: Accepting previously discoverd DC
W32Time: BEGIN:GetRole
W32Time: Role is 'PDC'
W32Time: END Line 672
W32Time: Calling DsGetDcNameA() for a DC GTS in the same
domain
W32Time: Using in domain DC as NO parent Domain DC
W32Time: DC address is 10.49.242.7
W32Time: DC friendly name is <dc name here>
W32Time: END Line 519
W32Time: The RID...5b7
W32Time: END Line 639
W32Time: New DomainController time source is located:
W32Time: END Line 971
W32Time: BEGIN:ChooseNTPServer
W32Time: END Line 2178
W32Time: BEGIN:GetSocketForSynch
W32Time: NTP: ntpptrs[0] - 10.49.242.7
W32Time: Port Pinging to - 123
W32Time: Connecting to "<dc name here>" (<correct subnet IP here>)
W32Time: END:Line 1170
W32Time: BEGIN:GetDefaultRid
W32Time: END Line 2354
W32Time: BEGIN:ComputeDelay
W32Time: BEGIN:NTPTry -- init
W32Time: END Line 1683
W32Time: BEGIN:NTPTry -- try
W32Time: BEGIN:ComputeInterval
W32Time: END Line 2479
W32Time: Sending to server 68 bytes...
W32Time: Recv'ed from server 68 Bytes...
W32Time: BEGIN:ComputeClientDigest
W32Time: END Line 2316
W32Time: ComputeClientDigest() returned 0
W32Time: END Line 1907
W32Time: BEGIN:NTPTry -- delay
W32Time: END Line 2012
W32Time: Round trip was 15ms
W32Time: BEGIN:NTPTry -- gettime
W32Time: BEGIN:Fgmtimetonttime
W32Time: END Line 2563
W32Time: END Line 1998
W32Time: one-way delay is 7ms
W32Time: END Line 1645
W32Time: END Line 368
W32Time: BEGIN:TimeDiff
W32Time: ClockError -1229
W32Time: END Line 2542
W32Time: BEGIN:FCheckTimeSanity
W32Time: Adjusting time by 1229 ms. No eventlog messages since time
difference is 0 <1 minute
W32Time: END Line 570
W32Time: BEGIN:SetTimeNow
W32Time: Would have Skewed for backwards, badj, btime = 78122 2458
W32Time: END Line 1280
W32Time: Time was 12min 57.443s
W32Time: Time is 12min 56.214s
W32Time: Error 1229ms
W32Time: BEGIN:CheckLeapFlag
W32Time: END:Line 606
W32Time: BEGIN:ComputePostTimeData
W32Time: BEGIN:ComputeInterval
W32Time: END Line 2479
W32Time: BEGIN:ComputeSleepStuff
W32Time: Computed stagger is 0ms, bias is 0ms
W32Time: Time until next sync - 2699.960s
W32Time: END:Line 816
W32Time: END:Line 221
W32Time: END:Line 196
W32Time: BEGIN:TermTime
W32Time: BEGIN:TsUpTheThread
W32Time: END Line 1407
W32Time: NTP(S): waiting for datagram...
W32Time: NTP(S): received shutdown notification.
W32Time: TimeMMCleanup()
W32Time: BEGIN:FinishCleanup
W32Time: BEGIN:TsUpTheThread
W32Time: END Line 1407
W32Time: Inform NetLogon That you are not a TS Provider
W32Time: BEGIN:UnInitializeDC
W32Time: Ptrs 0 - 0
W32Time: END:Line 727
W32Time: Time service stopped.
W32Time: END:Line 407
I'm trying to set win2k sp4 server to synchronize with external time server,
for instance time.windows.com. With a third-party time utility I synchronize
successfully, so port 123 is open.
I run
C:\WINNT\Profiles\Administrator>net time /setsntp:time.windows.com
The command completed successfully.
C:\WINNT\Profiles\Administrator>net time /querysntp
The current SNTP value is: time.windows.com
The command completed successfully.
But then when I run w32tm -test -once -v, it appears that time service still
synchronizes with another domain controller.
This is happening on both PDC and BDC : PDC goes to BDC, BDC goes to PDC.
The output from w32tm follows.
I wonder, why does it not go to time.windows.com?
thanks,
Vadim Rapp
Polyscience, Inc.
C:\WINNT\Profiles\Administrator>w32tm -test -v -once
W32Time: BEGIN:InitAdjIncr
W32Time: Adj 156243 , Incr 156250 fAdjust 0
W32Time: 156243 Adj!=Incr 156250
W32Time: END:Line 2503
W32Time: BEGIN:TsUpTheThread
W32Time: END Line 1407
W32Time: TimeMMInit()
W32Time: Kernel timer : using default maximum resolution
W32Time: MaximumTime = 156250
W32Time: CurrentTime = 156250
W32Time: Timer calibrated, looped 1 times
W32Time: BEGIN:InitTmCfg
W32Time: END:Line 807
W32Time: BEGIN:InitTmCli
W32Time: END:Line 2596
W32Time: BEGIN:InitTmData
W32Time: END:Line 2618
W32Time: AvoidTimeSyncOnWan 0
W32Time: Period given in Registry 0xfffc
W32Time: BEGIN:CMOSSynchSet
W32Time: Setting adjustment 156243 - Bool 0
W32Time: BEGIN:SetTSTimeRes
W32Time: END:Line 1295
W32Time: END:Line 864
W32Time: BEGIN:InitializeDC
W32Time: BEGIN:GetRole
W32Time: Role is 'PDC'
W32Time: END Line 672
W32Time: BEGIN:FetchParentDomainName
W32Time: NetLogonGetTimeServiceParentDomain() returned 54b with ptr 0
W32Time: END:Line 782
W32Time: END:Line 704
W32Time: Server: Binding to 1 NIC.
W32Time: Advertising that I'm a Time Service Provider
W32Time: timeBeginPeriod: setting resolution 9
W32Time: BEGIN:TimeSync
W32Time: BEGIN:FGetType
W32Time: END Line 254
W32Time: BEGIN:FDoTimeNTPType
W32Time: BEGIN:FDoNT5DSType
W32Time: BEGIN:FBuildDCList
W32Time: BEGIN:GetNT5DCAddress
W32Time: Member of an Win2K domain. Looking for DCs.
W32Time: Accepting previously discoverd DC
W32Time: BEGIN:GetRole
W32Time: Role is 'PDC'
W32Time: END Line 672
W32Time: Calling DsGetDcNameA() for a DC GTS in the same
domain
W32Time: Using in domain DC as NO parent Domain DC
W32Time: DC address is 10.49.242.7
W32Time: DC friendly name is <dc name here>
W32Time: END Line 519
W32Time: The RID...5b7
W32Time: END Line 639
W32Time: New DomainController time source is located:
W32Time: END Line 971
W32Time: BEGIN:ChooseNTPServer
W32Time: END Line 2178
W32Time: BEGIN:GetSocketForSynch
W32Time: NTP: ntpptrs[0] - 10.49.242.7
W32Time: Port Pinging to - 123
W32Time: Connecting to "<dc name here>" (<correct subnet IP here>)
W32Time: END:Line 1170
W32Time: BEGIN:GetDefaultRid
W32Time: END Line 2354
W32Time: BEGIN:ComputeDelay
W32Time: BEGIN:NTPTry -- init
W32Time: END Line 1683
W32Time: BEGIN:NTPTry -- try
W32Time: BEGIN:ComputeInterval
W32Time: END Line 2479
W32Time: Sending to server 68 bytes...
W32Time: Recv'ed from server 68 Bytes...
W32Time: BEGIN:ComputeClientDigest
W32Time: END Line 2316
W32Time: ComputeClientDigest() returned 0
W32Time: END Line 1907
W32Time: BEGIN:NTPTry -- delay
W32Time: END Line 2012
W32Time: Round trip was 15ms
W32Time: BEGIN:NTPTry -- gettime
W32Time: BEGIN:Fgmtimetonttime
W32Time: END Line 2563
W32Time: END Line 1998
W32Time: one-way delay is 7ms
W32Time: END Line 1645
W32Time: END Line 368
W32Time: BEGIN:TimeDiff
W32Time: ClockError -1229
W32Time: END Line 2542
W32Time: BEGIN:FCheckTimeSanity
W32Time: Adjusting time by 1229 ms. No eventlog messages since time
difference is 0 <1 minute
W32Time: END Line 570
W32Time: BEGIN:SetTimeNow
W32Time: Would have Skewed for backwards, badj, btime = 78122 2458
W32Time: END Line 1280
W32Time: Time was 12min 57.443s
W32Time: Time is 12min 56.214s
W32Time: Error 1229ms
W32Time: BEGIN:CheckLeapFlag
W32Time: END:Line 606
W32Time: BEGIN:ComputePostTimeData
W32Time: BEGIN:ComputeInterval
W32Time: END Line 2479
W32Time: BEGIN:ComputeSleepStuff
W32Time: Computed stagger is 0ms, bias is 0ms
W32Time: Time until next sync - 2699.960s
W32Time: END:Line 816
W32Time: END:Line 221
W32Time: END:Line 196
W32Time: BEGIN:TermTime
W32Time: BEGIN:TsUpTheThread
W32Time: END Line 1407
W32Time: NTP(S): waiting for datagram...
W32Time: NTP(S): received shutdown notification.
W32Time: TimeMMCleanup()
W32Time: BEGIN:FinishCleanup
W32Time: BEGIN:TsUpTheThread
W32Time: END Line 1407
W32Time: Inform NetLogon That you are not a TS Provider
W32Time: BEGIN:UnInitializeDC
W32Time: Ptrs 0 - 0
W32Time: END:Line 727
W32Time: Time service stopped.
W32Time: END:Line 407