21Nov/120
Linux ntpd Sync with Windows 2008
Debian squeeze comes with ntpĀ 4.2.6p2 which doesn't work with Windows 2008 R2 servers as seen in this bug. To fix this update to a newer version such as 4.2.7p326. Tried running version 4.2.6p5 but was receiving segfaults while running debian 6.0.4 squeeze with kernel 2.6.32-5-amd64.
sudo apt-get remove ntp ntpdate wget http://archive.ntp.org/ntp4/ntp-dev/ntp-dev-4.2.7p326.tar.gz tar xzvf ntp-dev-4.2.7p326.tar.gz cd ntp-dev-4.2.7p326/ ./configure --enable-clockctl sudo make && make install
You then just need to setup your init script to start ntpd.