From owner-freebsd-questions@FreeBSD.ORG Tue Oct 13 16:21:36 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CE2F11065670 for ; Tue, 13 Oct 2009 16:21:36 +0000 (UTC) (envelope-from caramba696@googlemail.com) Received: from mail-gx0-f214.google.com (mail-gx0-f214.google.com [209.85.217.214]) by mx1.freebsd.org (Postfix) with ESMTP id 834B98FC18 for ; Tue, 13 Oct 2009 16:21:36 +0000 (UTC) Received: by gxk6 with SMTP id 6so9434526gxk.13 for ; Tue, 13 Oct 2009 09:21:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=GhSvJiemw21qH4z1laKqDbigjvDKI59j4cBeBe6ly8I=; b=fAcg5nkukm8Xk4+LvmmQpFB6JlJLPD4c7i5pY1Atvd4sHeNZe1wvMWCmK/K4WMyy9Y Tcd/NveEuL3Uv6Uc6mFG2lIoOAxcwvJbemUgajYScfSo3m2KkqOiWDroQY7ObZxr9H4z x4avVpmA7r5bKPSskt4t93MPhbA6elAP0w/LM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=Uo4HVSI/kh6vQiscc5G83eRKjR6ErvcegLqv65Pgg/9x0hHuKcmh3uhCdtH70Gbz+S y75YYwUytKmTUMHqKSrFFitXkyVyNgsxVL7UXOaPF9DcCpURJvLdtMpSXzaSkXn0fdVZ q8iy3dtgWPDWXqDTF4F4Je54eeQBSgFyQaviU= MIME-Version: 1.0 Received: by 10.91.28.2 with SMTP id f2mr4539688agj.16.1255450895516; Tue, 13 Oct 2009 09:21:35 -0700 (PDT) In-Reply-To: <2345d18f0910130920k7838dfb4s8fbbd363ed3a4ca4@mail.gmail.com> References: <2345d18f0910130813j6a2bbde0sec59647f44d43585@mail.gmail.com> <2345d18f0910130854l363f157eob42e3253c7dad202@mail.gmail.com> <2345d18f0910130920k7838dfb4s8fbbd363ed3a4ca4@mail.gmail.com> Date: Tue, 13 Oct 2009 18:21:35 +0200 Message-ID: <2345d18f0910130921g17b8d9fdy8fdb99bd5a0e8cf4@mail.gmail.com> From: Jacques Henry To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: RE: NTP Client synchronization with a Windows 2003/2008 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Oct 2009 16:21:36 -0000 > > 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...