[Samba] Time Server?
Jay Ts
jay at metran.cx
Fri Jun 14 18:43:02 GMT 2002
> 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