Sunday, October 26, 2014

centos7 - CentOS 7 ntpd not synchronize with AD domain controller

i've a problem with time syncronization of a CentOS 7 host with a Windows 2008 R2 Domain controller.
If I use the command ntpdate -u host.domain
the synchronization is ok.
But using ntpd the time is always the same, here the result of the command ntpq -p:




 10.10.10.221    .LOCL.           1 u   65   64  377    1.740  965414.   4.054
10.10.10.220 10.10.10.221 2 u 62 64 377 1.912 965408. 12.899


and the ntp.conf is the following:




driftfile /var/lib/ntp/drift
restrict default nomodify notrap nopeer noquery
restrict 127.0.0.1

restrict ::1
server 10.10.10.221 iburst prefer
server 10.10.10.220 iburst
includefile /etc/ntp/crypto/pw
keys /etc/ntp/keys
disable monitor
logfile /var/log/ntp.log

No comments:

Post a Comment

linux - How to SSH to ec2 instance in VPC private subnet via NAT server

I have created a VPC in aws with a public subnet and a private subnet. The private subnet does not have direct access to external network. S...