[Samba] Fwd: Internal DNS migrate to Bind9_DLZ

Rowland Penny rpenny at samba.org
Tue Jul 31 10:40:41 UTC 2018


On Tue, 31 Jul 2018 12:30:32 +0200
Michal via samba <samba at lists.samba.org> wrote:

> >
> > > > /etc/named.conf
> > > > # Global Configuration Options
> > > >
> > > > include "/var/lib/samba/bind-dns/named.conf";
> > > >
> > > > options {
> > > >
> > > >     dump-file   "/var/named/data/cache_dump.db";
> > > >     statistics-file "/var/named/data/named_stats.txt";
> > > >     memstatistics-file "/var/named/data/named_mem_stats.txt";
> > > >     auth-nxdomain yes;
> > > >     directory "/var/named";
> > > >     notify no;
> > > >     empty-zones-enable no;
> > > >     tkey-gssapi-keytab "/var/lib/samba/bind-dns/dns.keytab";
> > > >
> > >
> > > /var/lib/samba...?
> > > Do you have the file in there? I have
> > > /usr/local/samba/bind-dns/dns.keytab
> > >
> > > Michal
> >
> > AGGHHHH
> >
> > Did you compile Samba yourself ?
> > If not, then /var/lib/samba will probably be the correct path.
> >
> 
> 
> https://wiki.samba.org/index.php/BIND9_DLZ_DNS_Back_End
> 
> options {
>      [...]
>      tkey-gssapi-keytab "/usr/local/samba/private/dns.keytab";
>      [...]
> };
> 
> Michal

All the paths on the Samba wiki refer to self compiled versions of
Samba, where the 'PREFIX' isn't set with 'configure'. This means that,
by default, everything ends up in '/var/lib/samba'

If you use distro Samba packages, then the Samba packages can be, and
usually are, anywhere.

Rowland



More information about the samba mailing list