Hardy as a NTP Server for Lan

Markus Schönhaber ubuntu-users at list-post.mks-mail.de
Thu Jul 10 20:27:17 UTC 2008

chris wrote:

> I have a pretty generic ntp.conf file (see below)   The problem is
> that Windows clients give the following error.
> "An error occurred while Windows was synchronizing with
> the time sample was rejected because: The peer's stratum is less than
> the host's stratum."

Maybe your server isn't (yet) synchronized to the upstream server(s) you
You could, on your Ubuntu machine, do something like

$ ntpdate -q localhost
server, stratum 3, offset -0.000004, delay 0.02563
10 Jul 22:18:04 ntpdate[15761]: adjust time server offset
-0.000004 sec

If the stratum shown is 16, your server hasn't synchronized yet.
$ ntpdate -q [your upstream server]
should tell you, if your machine is able to query the server it is
supposed to synchronize with at all.


> # Allow local lans to sync
> restrict mask nomodify notrap

This looks like an addition to the default ntp.conf you made. Do things
work if you comment it?


More information about the ubuntu-users mailing list