[CentOS] Re: NTP server

Fri Feb 1 21:57:12 UTC 2008
Scott Silva <ssilva at sgvwater.com>

on 2/1/2008 1:29 PM John R Pierce spake the following:
> Scott Silva wrote:
>> on 2/1/2008 12:03 PM Dennis McLeod spake the following:
>>> XP command line:
>>>
>>> net time \\servername  returns what?
>>>
>>> Perhaps the response will give a clue.
>>>
>>>
>>> To set it:
>>>
>>> net time \\servername /set /yes
>> Net time is only used to set time from a domain controller, not an ntp 
>> server.
>> They use two completely different protocols.
> 
> 
> however,
> 
>    NET TIME /SETSNTP:ip-of-ntp-server
> 
> WILL set the windows 'internet time' server IP.
> 
>    NET TIME /QUERYSNTP
> 
> will show the current 'internet time' server(s).
> 
> note that the default Windows NTP client is really braindead, it just 
> 'sets' the system clock once a day, its not a proper NTP 
> implementation.   for most users, this is fine, but realize oddities can 
> happen like the clock being set back a few seconds such that a given 
> time happens twice.
I stand partially corrected, as the originally posted command line of
  "net time \\servername /set /yes" would not query a ntp server.

-- 
MailScanner is like deodorant...
You hope everybody uses it, and
you notice quickly if they don't!!!!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 187 bytes
Desc: OpenPGP digital signature
URL: <http://lists.centos.org/pipermail/centos/attachments/20080201/bce1c8f6/attachment-0004.sig>