Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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?

share|improve this question

3 Answers 3

up vote 3 down vote accepted

You can use the "net" command from the linux box:

net time set -S <server>
share|improve this answer

PDC (Primary Domain Controller) works as a NTP server - you can simply point your Linux box to it. If you want to configure it outside of Active Directory, the process is a bit different: http://www.techrepublic.com/blog/datacenter/configure-a-standalone-ntp-server-in-windows-server/3869

Cheers. siupakabras

share|improve this answer

Yes, a Linux client's ntpd (or other NTP clients like ntpdate) has no problem syncing its clock with the NTP server mode of the Windows Time Service.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.