W32 time patch
ogy_hpower at yahoo.co.uk
Mon Jun 22 23:45:11 MDT 2009
Now it works like charm.
I compile the NTP with the option --enable-wintime --enable-ntp-signd; once i restart the client it change the time accordingly to server time.
Now my client problem with the clock synchronization is solve.
----- 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,
> 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:
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