[Samba] NTP and FreeBSD jails

Robert Marcano robert at marcanoonline.com
Thu Jul 30 21:23:45 UTC 2020

On 7/30/20 5:00 PM, James B. Byrne via samba wrote:
> FreeBSD-12.1p7
> Samab-4.10.15 running in FreeBSD Jail
> I just wish to ensure that my conclusion respecting Samba, FreeBSD Jails, and
> NTP is correct.
> 1.  Unless configured otherwise Windows domain clients will query and obtain
> their time from the samba_server DC.
> 2.  Samba_server obtains its time from the OS, in this case a FreeBSD Jail.
> 3.  FreeBSD Jails get their time from their host.
> 4.  If the host is running ntpd then this has the same effect as if ntpd was
> running alongside the samba_server.
> Is this reasoning correct?

Yeah. I think it is OK, I run Samba DCs on Linux containers. I don't run 
the NTP server on the container, It is running on the host, but it is 
configured to read the Samba provided socket for signing the time (as 
Roland pointed to you to 

Make sure that the host NTP server is bound to the same IP (in addition 
of any other you want) where you are exposing the Samba DC server 
container. For example if my host has IP address of and I 
expose the Samba DC container with then I have to make 
sure the NTP server is bound to and not only to the host IP.

More information about the samba mailing list