Um, don't know where my original reply went to ! but... Thanks. I've set that up but it doesn't seem to be doing anything :-(
I found other, very similar instructions on the 'net... Under "my computer", "manage", "services & applications", "services" made sure that Windows Time was set to start automatically. Then in a DOS box ran the following commands net stop "Windows Time" net time /setsntp:172.16.15.4 (my samba server) net start "Windows Time" Still no errors but hasn't yet synchronised the time with the server. In Samba I have in the Globals section:- map to guest = Bad Password guest account = nobody Is that right ? I *can* use the DOS command: net time \\172.16.15.4 /SET /y and the clock does sync to the server. Thanks Mike ----- Original Message ----- From: "Malcolm Baldridge" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, April 28, 2004 1:26 AM Subject: Re: [Samba] Re: Time server > This will not automatically work against Samba, as we mimic NT4, which > didn't know about NTP. > > But you can manually configure the NTP server on the client, and run an > NTP server on your PDC if you wish. The Microsoft time services are substandard and do not implement a full NTP time management protocol. It's best to leave that to a real implementation like the xntpd-4 (or equivalent commercialised NT/2000 products built on similar technology). If you want to use the W32Time services, use them as clients. The default (under 2000) is to resync the time periodically in increasing intervals, settling in at about 3 syncs/day, I believe. Simple recipe to configure Windows servers to use it: net stop w32time net time /setsntp: dns-name-of-real-ntp-server (or it's ip#) w32time -s (hit Control-C if it doesn't return after 4 or 5 seconds) w32time -s (yes, sometimes it takes a couple of tries to get the time locked down) net start w32time Then make sure in the Services control panel that the Windows Time Service is configured to auto-start. Thereafter, it will resync every 45 minutes until the error is under 1 second, and then resync every 8 hours from that point forward. No clock-skew adjustments or other time conditioning is attempted, unlike a real NTP implementation. The MS W32time service seems to only care about one-second accuracy. Be aware of this if you "chain" time services as this jitter will accumulate. =MB= -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.659 / Virus Database: 423 - Release Date: 16/04/2004 -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
