[Samba] Time Server?

Tim Allen timallen at ls83.fsnet.co.uk
Sat Jun 15 00:48:03 GMT 2002


In NT/2k/XP you need to allow your users to set the time (Users Manager).


----- Original Message ----- 
From: "Sanjiv Bawa" <sbawa at tabmaster.com>
To: <jay at jayts.cx>; "David Busby" <Busby at pnts.com>
Cc: <samba at lists.samba.org>
Sent: Saturday, June 15, 2002 5:54 AM
Subject: RE: [Samba] Time Server?


> This works fine with Win98, but does not work with NT/2k/XP because of a
> permissions problem. Any way to get around that?
> 
> Thanks.
> 
> -----Original Message-----
> From: samba-admin at lists.samba.org [mailto:samba-admin at lists.samba.org]On
> Behalf Of Jay Ts
> Sent: Friday, June 14, 2002 8:38 PM
> To: David Busby
> Cc: 'samba at lists.samba.org'
> Subject: Re: [Samba] Time Server?
> 
> 
> > I've got my Samba box (RedHat 7.2) running NTP client to sync with
> > PARC.  I want my windaz clients to be able to read time from it
> > automagically.  Is there a way to do that?
> 
> Yes; you need to run Samba as the PDC, then give the clients a logon
> script (e.g., \\server\netlogon\logon.bat, stored on the Samba server)
> that includes the command
> 
> net time \\<SERVER> /set /yes
> 
> In your smb.conf:
> 
> [global]
> time server = yes
> logon script = logon.bat
> 
> [netlogon]
>         path = /usr/local/samba/lib/netlogon
> writable = no
> browsable = no
> 
> The path can be wherever you want; I'm using /usr/local/samba/netlogon
> as an example.  I think the above will do it for you - I didn't really
> check all of that! ;)
> 
> Jay Ts
> jay at jayts.cx






More information about the samba mailing list