Samba4 AD Time Sync

Solution 1:

I just posted a similar answer over at Super User. In short, we fixed it by adding the correct ntpsigndsocket line in /etc/ntp.conf:

ntpsigndsocket  /var/lib/ntp_signd/

The socket path can be determined via:

% sudo lsof -Un | grep signd
samba       525            root   23u  unix 0x0000000029f51b41      0t0 15061 /var/lib/samba/ntp_signd/socket type=STREAM

We fixed the windows member by stopping the time provider service, re-registering it and restarting the service again:

net stop w32time
w32tm /unregister
w32tm /register
net start w32time

The domain controller should then be shown with w32tm /query /source.

Credit and Kudos go to the user mfoley at LinuxQuestions.org. Thx!