NTP support (was: set unix time via samba)

Luke Kenneth Casson Leighton lkcl at cb1.com
Wed Aug 6 17:50:01 GMT 1997



On Wed, 6 Aug 1997, Roeland M.J. Meyer wrote:

> At 05:29 PM 8/6/97 +0000, Jodok Sutterluety wrote:
> 
> >question: is there a way to synchronize the clock of my linux box to a 
> >win95 box (something like 'smbnet time \\win95 /set /yes')?
> 
> Well, first of all, that's doing it a bit backwards. Normally, the Unix box
> is set to the UTC time and synchronized with XNTP, or the network time
> protocol. Once this is running reliably, the Windows clients synchronize to
> the server. Not the other way, as you indicate. Doing this, both my servers
> are running at stratum 2.
> 
> Unfortunately, I know of no port of an NTP daemon which will run on any
> Windows machine. I have NTP client software which will do a one-time
> synchronization, but nothing which will maintain constant sync with network
> UTC time. Even the SMB protocols, under any MS-Windows system, is only a
> one-time manual operation.
> 
> I have to manually run the "net set time" equivalent on my WinNT
> workstations once per week.This isn't really acceptable, but this is all I
> can do. If someone else knows of an NTP daemon which will run under WinNT
> then I'd be highly interested.

set up domain logons; set up a batch file with net time \\samba-server 
/set /yes.

see documentation (docs directory).

luke


More information about the samba mailing list