[Samba] Samba4 Windows Client Time Sync Issue

Marco Shmerykowsky PE marco at sce-engineers.com
Fri Jun 23 15:32:38 UTC 2023


I just realized that some of my Windows 10 clients do
not appear to be syncing the time correctly.

I setup NTP to run on my Netgate PFSense server.  It is
using pfsense.pool.ntp.org Time Servers.  I configured NTP
on my Samba servers to point to back to the PFSense Server.

NTP on the samba servers have the following ntp.conf files:

# /etc/ntp.conf, configuration for ntpd; see ntp.conf(5) for help

driftfile /var/lib/ntp/ntp.drift

statistics loopstats peerstats clockstats
filegen loopstats file loopstats type day enable
filegen peerstats file peerstats type day enable
filegen clockstats file clockstats type day enable

server PFSENSE-SERVER iburst

restrict -4 default kod notrap nomodify nopeer noquery limited
restrict -6 default kod notrap nomodify nopeer noquery limited

restrict 127.0.0.1
restrict ::1

restrict source notrap nomodify noquery

Should this be working? If not what should I be correcting?

Thanks.



More information about the samba mailing list