Date: Tue, 13 Oct 2009 18:21:35 +0200 From: Jacques Henry <caramba696@googlemail.com> To: freebsd-questions@freebsd.org Subject: RE: NTP Client synchronization with a Windows 2003/2008 Message-ID: <2345d18f0910130921g17b8d9fdy8fdb99bd5a0e8cf4@mail.gmail.com> In-Reply-To: <2345d18f0910130920k7838dfb4s8fbbd363ed3a4ca4@mail.gmail.com> References: <2345d18f0910130813j6a2bbde0sec59647f44d43585@mail.gmail.com> <2345d18f0910130854l363f157eob42e3253c7dad202@mail.gmail.com> <d36406630910130903g1fe317f7s89f9f06180ff6c90@mail.gmail.com> <2345d18f0910130920k7838dfb4s8fbbd363ed3a4ca4@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> > ntpd wont resync if the time difference is to big, as it assumes something > is wrong as you would have set the system clock roughly correct. To fix stop > ntpd, then do an ntpdate against the server. This should set the time. Now > run ntpd again > > also set the following variables to a server of your choosing to make sure > ntpdate is run 1st on boot > > $ grep ntp /etc/rc.conf* > /etc/rc.conf:ntpdate_flags="uk.pool.ntp.org" > /etc/rc.conf:ntpdate_enable="YES" > /etc/rc.conf:ntpd_enable="YES" > > I cannot do that because I have no Internet access... so the very first thing you might want to try is to comment out the tinker > commands, in particular the panic one. I'm not sure that after you set the > panic threshold to 1 second you should expect your ntpd to pay any attention > to servers with an offset of 587 seconds. If that fails, consider setting > > ntpdate_enable="YES" > ntpdate_hosts="NTP_server" > > in your /etc/rc.conf and simply stepping to the correct time at boot time. > > In short, I don't think this has anything with a Windows server being > involved, and everything to do with starting off almost 10 minutes off and a > config file that says to never make a step correction larger than 1 second > and to panic if you see an offset of over 1 second. > I commented the commands involved and nothing changed... (with only 10 minutes of time difference) I even tried to "force" the sync: U450XA0A0800650>nstop ntp U450XA0A0800650>ntpd -x -n -q -c /var/ntp.conf U450XA0A0800650>nstart ntp In fact I am still quite convinced that the MS implementation isn't totally compliant with the client...
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2345d18f0910130921g17b8d9fdy8fdb99bd5a0e8cf4>