[Samba] Time synchronization issues in Samba 4

Rowland penny rpenny at samba.org
Tue Aug 4 18:04:56 UTC 2020


On 04/08/2020 18:59, Michael Jones via samba wrote:
> I use systemd-timesyncd to sync time with the rest of the internet.
This is not supported by Samba
>
> Then, I use ntpd to allow my samba4 dc to share it's time with joined
> domain members.
>
> Most likely my ntpd.conf is horribly insecure and broken, but it's what I
> was able to figure out.
>
> /etc/ntpd.conf:
>
> # This bizarre rule makes ntp fall back to reading from the
> # bios clock if no network connection is available.
> server 127.127.1.0
> fudge 127.127.1.0 stratum 10
>
> # Access control
> # Default restriction: Allow clients only to query the time
> restrict default nomodify notrap nopeer mssntp
>
> # No restrictions for "localhost"
> restrict 127.0.0.1
>
> # Storage
> driftfile /var/lib/ntp/ntp.drift
> logfile/var/log/ntp
> ntpsigndsocket /var/lib/samba/ntp_signd
>
You do not seem to have set any external ntp servers.

Rowland





More information about the samba mailing list