A caveat about using the 'net time' method: the time only gets set when the client logs onto the network, so if the client system is left logged on for long periods, its clock will wander from the server's.
Previously I wrote that you need the Samba system to be the PDC, but I think this might not be a requirement. I haven't tried it, but in a workgroup environment, or when Samba is set up with security = user (but not in a domain) you might be able to configure the Samba server with 'time server = yes', and find some way to configure each Windows client to run the 'net time' command - such as with a startup script, or using a method that runs the command every few hours. Jay Ts > In NT/2k/XP you need to allow your users to set the time (Users Manager). > > > ----- Original Message ----- > From: "Sanjiv Bawa" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]>; "David Busby" <[EMAIL PROTECTED]> > Cc: <[EMAIL PROTECTED]> > 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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On > > Behalf Of Jay Ts > > Sent: Friday, June 14, 2002 8:38 PM > > To: David Busby > > Cc: '[EMAIL PROTECTED]' > > 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 > > [EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba