Alexei Rozenvaser
2018-Jun-03 14:37 UTC
[Samba] chrony configuration for secondary samba DC
The output is: alexei at ubuntu-dc:~$ sudo samba -b | grep 'SIGND' NTP_SIGND_SOCKET_DIR: /var/lib/samba/ntp_signd On Sun, Jun 3, 2018 at 5:32 PM Rowland Penny via samba <samba at lists.samba.org> wrote:> > On Sun, 3 Jun 2018 17:11:47 +0300 > Alexei Rozenvaser <alexei.roz at gmail.com> wrote: > > > On Sun, Jun 3, 2018 at 4:51 PM Rowland Penny via samba > > <samba at lists.samba.org> wrote: > > > > > > On Sun, 3 Jun 2018 16:29:04 +0300 > > > Alexei Rozenvaser via samba <samba at lists.samba.org> wrote: > > > > > > > Hi > > > > > > > > I'm running samba 4.7.6 on ubuntu 18.04 as (backup / secondary) > > > > domain controller > > > > > > No your not, you are just running Samba as another DC, all DCs are > > > equal except for the FSMO roles and they can be on any DC. > > > > > >>> > > >>>Yes, you are right. That exactly what i meant. > > >>> > > > >that joined to an Existing Active Directory (Windows > > > > 2012R2 server). > > > > The question is about Time Synchronization across the domain. > > > > How should I configure chrony v3.2 in order to provide time > > > > synchronization: > > > > > > apt-get purge chrony > > > apt-get install ntp > > > > > > then read this: > > > > > > https://wiki.samba.org/index.php/Time_Synchronisation > > > > > > Rowland > > > > > >>> > > >>>I read this article. > > >>>But unfortunately it applies to ntpd only. > > >>>Don't you think it better to study how to configure chrony, since > > >>>it become the default ubunt's NTP server? > > >>> > > > > > It might be Ubuntu's default time server, but it will not work on a > Samba DC, you must use ntp. > Try running 'sudo samba -b | grep 'SIGND', what are the first three > letters in the output ? > > Rowland > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba-- Alexei Rozenvaser
On Sun, 3 Jun 2018 17:37:45 +0300 Alexei Rozenvaser <alexei.roz at gmail.com> wrote:> The output is: > alexei at ubuntu-dc:~$ sudo samba -b | grep 'SIGND' > NTP_SIGND_SOCKET_DIR: /var/lib/samba/ntp_signdFirst three letters are NTP and at the moment, Samba only supports the use of ntp, whilst other time servers may claim to work with a Samba DC, they are not supported. Rowland
Am 03.06.2018 um 16:48 schrieb Rowland Penny via samba:> On Sun, 3 Jun 2018 17:37:45 +0300 > Alexei Rozenvaser <alexei.roz at gmail.com> wrote: > >> The output is: >> alexei at ubuntu-dc:~$ sudo samba -b | grep 'SIGND' >> NTP_SIGND_SOCKET_DIR: /var/lib/samba/ntp_signd > > First three letters are NTP and at the moment, Samba only supports the > use of ntp, whilst other time servers may claim to work with a Samba > DC, they are not supportedplease don't confuse ntp as protocol and ntpd as implementation "Samba only supports the use of ntp" is nonsense what pieces of the protocol does samba need so that as example http://www.openntpd.org/ is not a drop-in replacement?
Alexei Rozenvaser
2018-Jun-03 15:02 UTC
[Samba] chrony configuration for secondary samba DC
But according to following command output chrony on my samba dc already serves the windows clients: alexei at ubuntu-dc:~$ sudo chronyc clients Hostname NTP Drop Int IntL Last Cmd Drop Int Last ==============================================================================192.168.0.45 4 0 7 - 501 0 0 - - 192.168.0.72 4 0 7 - 462 0 0 - - localhost 0 0 - - - 2 0 9 4 192.168.0.87 1 0 - - 65 0 0 - - On Sun, Jun 3, 2018 at 5:48 PM Rowland Penny via samba <samba at lists.samba.org> wrote:> > On Sun, 3 Jun 2018 17:37:45 +0300 > Alexei Rozenvaser <alexei.roz at gmail.com> wrote: > > > The output is: > > alexei at ubuntu-dc:~$ sudo samba -b | grep 'SIGND' > > NTP_SIGND_SOCKET_DIR: /var/lib/samba/ntp_signd > > First three letters are NTP and at the moment, Samba only supports the > use of ntp, whilst other time servers may claim to work with a Samba > DC, they are not supported. > > Rowland > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba-- Alexei Rozenvaser