Web lists-archives.com

Re: [Samba] File server questions




On Wed, 13 Sep 2017 11:18:58 -0300
Flávio Silveira via samba <samba@xxxxxxxxxxxxxxx> wrote:

> > # Local clock. Note that is not the "localhost" address!
> > server 127.127.1.0
> > fudge  127.127.1.0 stratum 10
> >
> > # Where to retrieve the time from
> > server a.st1.ntp.br iburst prefer
> > server b.st1.ntp.br iburst prefer
> > server c.st1.ntp.br iburst prefer
> > server d.st1.ntp.br iburst prefer
> >
> > driftfile       /var/lib/ntp/ntp.drift
> > logfile         /var/log/ntpstats
> > ntpsigndsocket  /var/lib/samba/ntp_signd/
> >
> > # Access control
> > # Default restriction: Allow clients only to query the time
> > restrict default kod nomodify notrap nopeer mssntp
> >
> > # No restrictions for "localhost"
> > restrict 127.0.0.1
> >
> > # Enable the time sources to only provide time to this host
> > restrict a.st1.ntp.br   mask 255.255.255.255    nomodify notrap
> > nopeer noquery
> > restrict b.st1.ntp.br   mask 255.255.255.255    nomodify notrap
> > nopeer noquery
> > restrict c.st1.ntp.br   mask 255.255.255.255    nomodify notrap
> > nopeer noquery
> > restrict d.st1.ntp.br   mask 255.255.255.255    nomodify notrap
> > nopeer noquery
> >
> > # Interfaces ntp daemon should listen
> >
> > interface listen lo
> > interface listen enp2s0
> >
> > # Ignore IPv6 wildcard
> >
> > interface ignore ipv6
> 

Yes, that should work, it is basically the same as mine, just some of
the lines are in a different order.

Rowland
 


-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba