Re: Problem to update device time using SNTP

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



I recommend putting a fully debug timesvc.dll in your image and cranking up
full debugzones for this dll - it's pretty verbose and may help you isolate
just what's going wrong. The source to it is shared in
\private\servers\timesvc2 as part of shared source pack, which is some PB
option, in case you'd need to step through it.

--
John Spaith
Development Lead, Windows CE
Microsoft Corporation

Check out the CE Networking Team Blog at http://blogs.msdn.com/cenet/.

This posting is provided "AS IS" with no warranties, and confers no rights.
You assume all risk for your use. © 2006 Microsoft Corporation. All rights
reserved.

"Paul G. Tobey [eMVP]" <p space tobey no spam AT no instrument no spam DOT
com> wrote in message news:%23eQQFSWbHHA.4544@xxxxxxxxxxxxxxxxxxxxxxx
OK, so you need to debug through the client on the device and find out
what's going on. There is no good reason why the time should not change,
if it's wrong. There's a threshold set for the SNTP client so that you
don't update the time if it's off by a small number of seconds, so maybe
that's your problem. Otherwise, there should be a call to SetSystemTime()
somewhere in the client that gets triggered by having the time be wrong
and that should result in a call to OEMSetRealTime in your OAL which,
unless you've broken your BSP should result in whatever clock you are
using being changed.

Paul T.

"Aniket Joshi" <AniketJoshi@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:D77AF6EE-F780-4395-8F1D-0E40E3DEB07F@xxxxxxxxxxxxxxxx
Paul,

When we observed traffic on network line, we found that device is sending
query to server & time server is also sending reply back to device. but
device is not able to update time.

Aniket

"Paul G. Tobey [eMVP]" wrote:

So what *does* happen? Is the server being contacted?

Paul T.

"Aniket Joshi" <AniketJoshi@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:8EF21CC1-3D92-492A-B867-2E610EAE927F@xxxxxxxxxxxxxxxx
Hi,

We are working on Wince 5.0. we want to implement timeserver
functionality
in our product. We have enabled SNTP for the same . But It does not
update
the time of the device.

we are useing WinXP PC with enabled Time Server as NTP Server and a
CE 5.0 based device as Client.

Please suggest

Aniket







.



Relevant Pages

  • Re: Problem to update device time using SNTP
    ... so you need to debug through the client on the device and find out ... Paul T. ... query to server & time server is also sending reply back to device. ...
    (microsoft.public.windowsce.embedded)
  • Re: kadmin: GSS-API (or Kerberos) error
    ... Make sure that the client and server is in sync with a time server. ... my current info on the jyho/admin principals ... kadmin/foo.intra.foobar.com@xxxxxxxxxxxxxxxx, success, ...
    (comp.protocols.kerberos)
  • Re: Date changed to January 1, 2000 on January 1, 2007 on servers
    ... each Windows 2000/XP/2003 client will automatically synchronize its time with the forest as soon as it is joined to the domain. ... to set in the time server and from where i should configure it? ... I would go chase down the people who are managing the NTP server you are ...
    (microsoft.public.windows.server.active_directory)
  • Re: timesvc problem synchronizing time
    ... system time of the time server. ... And the system time of the client is set to system time of the time ... This posting is provided "AS IS" with no warranties, and confers no rights. ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Client not syncing time with SBS 2003 server
    ... If you are using any of the nist.gov time server (discovered by doing a net ... time /querysntp command) ... The client has correct w32time ... There are no local firewall issues on the client (same problem with ...
    (microsoft.public.windows.server.sbs)