Jun 8, 2012
tom

Sync Linux to Windows 2003/2008 Natively

Question

Without using any external packages for Windows, can Linux synchronise it’s clock to a Windows 03/08 Server natively? I’ve tried it using various NTP packages for Windows but would like to use just Windows software for this.

EDIT: I’ve tried the below however it doesn’t work. I’ve put TimeSource in /etc/hosts, stated server TimeSource in /etc/ntp.conf however when I do a service ntpd start it doesn’t sync (it’s 3 minutes out at the minute). I then stopped the NTPD and did a ntpdate TimeSource, thinking it would sync and then I’d start the NTPD once it’s got the time, and it says: no server suitable for synchronization found. Though I can ping it. Any thoughts?

Asked by user26753

Answer

You can use the “net” command from the linux box:

net time set -S <server>
Answered by wazoox

No related posts.

Leave a comment