[Samba] Fwd: Internal DNS migrate to Bind9_DLZ

Rowland Penny rpenny at samba.org
Tue Jul 31 11:06:18 UTC 2018


On Tue, 31 Jul 2018 12:59:11 +0200
Majkl Majkl <themajklthe at gmail.com> wrote:

> 2018-07-31 12:40 GMT+02:00 Rowland Penny via samba
> <samba at lists.samba.org>:
> 
> > 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.
> >
> 
> I do not follow.  There is "tkey-gssapi-keytab
> "/usr/local/samba/private/dns.keytab;" in Samba wiki page.
> 
> And Samba 4.8.3  src configure
> ...
> --prefix=PREFIX
>             installation prefix (configuration) [default:
> '/usr/local/samba']
>  ...
> 
> So what do you mean by "everything ends up in /var/lib/samba"?
> 
> Michal
> 

Ah, I was hoping you would spot my deliberate mistake (that's my story
and I am sticking to it) ;-)

Obviously I real meant '/usr/local/samba'
I also checked that twice to make sure I got it right this time ;-)

Rowland





More information about the samba mailing list