W32 time patch

ogy_hpower ogy_hpower at yahoo.co.uk
Sat Jun 20 01:29:52 GMT 2009

Thanks Matthieu,

Before this i'm configuring the ntp without --enable-wintime --enable-ntp-signd
Later i check the log inside W32tm it is synchronizing with the NTP server.
I will try again with --enable-wintime --enable-ntp-signd today.


----- Original Message ----
From: Matthieu Patou <mat at matws.net>
To: ogy_hpower <ogy_hpower at yahoo.co.uk>
Cc: Andrew Bartlett <abartlet at samba.org>; samba-technical at lists.samba.org
Sent: Friday, 19 June, 2009 17:07:32
Subject: Re: W32 time patch

On 06/19/2009 10:57 AM, ogy_hpower wrote:
> thanks for the reply,
> Andrew,
> I have compile and run the ntp server.
> How do i check that ntp server is ok for the samba4 domain?
> I have run several time on changing the date but it is not synchronize.
> In ntp.conf, i have uncomment the broadcast to server client.
So first you have to use some specials options on ./configure:
--enable-wintime --enable-ntp-signd

Then you have to be sure to had in the ntp.conf configuration the following line ntpsigndsocket /usr/local/samba/var/run/ntp_signd
(unless you use a special dir for your samba4 installation).

Then start your ntp daemon.

In the windows side you have several ways to check it:
* In the event log you shouldn't see any w32time error message
* in cmd /c start w32tm /resync /rediscover, it should say that everything is great !




More information about the samba-technical mailing list