[Samba] ntp and samba43 on FreeBSD-103.
rpenny at samba.org
Wed Feb 8 16:20:10 UTC 2017
On Wed, 8 Feb 2017 10:47:25 -0500
"James B. Byrne via samba" <samba at lists.samba.org> wrote:
> On Tue, February 7, 2017 13:06, James B. Byrne wrote:
> > In any case, we have resolved most of these issues. In dealing with
> > this I ran across
> > https://wiki.samba.org/index.php/Time_Synchronisation which
> > contains this instruction:
> > Set up the ntpd.conf File on a DC
> > . . .
> > ntpsigndsocket /usr/local/samba/var/lib/ntp_signd/
> > Now, on the FreeBSD host I see this instead:
> > # sockstat | grep ntp
> > root ntpd 6229 3 dgram -> /var/run/logpriv
> > root ntpd 6229 20 udp6 *:123 *:*
> > root ntpd 6229 21 udp4 *:123 *:*
> > root ntpd 6229 22 udp4 192.168.8.65:123 *:*
> > root ntpd 6229 23 udp6 ::1:123 *:*
> > root ntpd 6229 24 udp6 fe80::1%lo0:123 *:*
> > root ntpd 6229 25 udp4 127.0.0.1:123 *:*
> > root samba 766 24 stream /var/run/samba4/ntp_signd/socket
> > So I altered /etc/ntp.conf as follows:
> > ntpsigndsocket /var/run/samba4/ntp_signd/
> > However, as I have no idea what this does or how (or even if) al
> > this works I would like to have this setup explained to me.
> I feel that I am in the realm of the cargo cult with respect to MS,
> Samba and ntp. Is there a reference that someone can point me to that
> explains what ntpsigndsocket actually accomplishes; as in how is the
> socket used and by what?
> Obviously it is tying Samba and ntp together somehow but I do not
> understand what this accomplishes. If the setting is not placed in
> ntp.conf then what are the implications? Is the directory used
> arbitrary configured in the Samba build or is it configurable? if so
> how and where; smb4.conf?
Try reading the Samba wiki page:
To find out just where your ntp socket dir is, run 'samba -b' and
look at the line that starts 'NTP_SIGND_SOCKET_DIR'
The location is set when Samba is compiled from options passed to
More information about the samba