[Samba] Time Server?
sbawa at tabmaster.com
Fri Jun 14 21:56:02 GMT 2002
This works fine with Win98, but does not work with NT/2k/XP because of a
permissions problem. Any way to get around that?
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:
time server = yes
logon script = logon.bat
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 at jayts.cx
To unsubscribe from this list go to the following URL and read the
More information about the samba