[Samba] BIND9 failing
L.P.H. van Belle
belle at bazuin.nl
Mon Oct 12 14:36:02 UTC 2020
Hai,
I'll reply later on other mails guys, but im in the last phase
of my servers move/merge and that has prio now.
# create the folder the the correct group and rights.
install -d /var/lib/samba/bind-dns -o root -g bind -m 660
# to be save we set the dns subfolder also.
chgrp bind /var/lib/samba/bind-dns/dns
# and we set the keytab file to be soure.
chmod 640 /var/lib/samba/bind-dns/dns.keytab
chgrp bind /var/lib/samba/bind-dns/dns.keytab
bind.name.options
// Allow Dynamic updates for Samba Bind_DLZ
tkey-gssapi-keytab "/var/lib/samba/bind-dns/dns.keytab";
auth-nxdomain yes;
minimal-responses yes;
And
/etc/bind/named.conf.local
// at install debian already sets the correct bind9.XX version in this file below.
include "/var/lib/samba/bind-dns/named.conf";
Greetz,
Louis
> -----Oorspronkelijk bericht-----
> Van: samba [mailto:samba-bounces at lists.samba.org] Namens
> Rowland penny via samba
> Verzonden: maandag 12 oktober 2020 16:25
> Aan: samba at lists.samba.org
> Onderwerp: Re: [Samba] BIND9 failing
>
> On 12/10/2020 15:17, Robert Wooden via samba wrote:
> > I am working towards joining my second DC to the first.
> >
> > If I am understanding:
> >
> https://wiki.samba.org/index.php/Joining_a_Samba_DC_to_an_Exis
> ting_Active_Directory
> > correctly I am to get bind9 working properly before the
> join should happen.
> >
> > I am getting this:
> >
> >> root at dc2:~# systemctl status bind9
> >>
> >> ??? bind9.service - BIND Domain Name Server
> >>
> >> Loaded: loaded (/lib/systemd/system/bind9.service;
> enabled; vendor preset:
> >> enabled)
> >>
> >> Active: failed (Result: exit-code) since Mon 2020-10-12
> 08:53:06 CDT; 2min
> >> 38s ago
> >>
> >> Docs: man:named(8)
> >>
> >> Process: 560 ExecStart=/usr/sbin/named $OPTIONS (code=exited,
> >> status=1/FAILURE)
> >>
> >>
> >> Oct 12 08:53:06 dc2 named[561]: samba_dlz: Failed to
> connect to Failed to
> >> connect to */var/lib/samba/private/dns/sam.ldb*: Unable to open tdb
> >> '/var/lib/samba/private/dns/sam.ldb': No such file or
> directory: Operations
> >> error
> >>
> var/lib/samba/private/dns has been replaced by
> /var/lib/samba/bind-dns/dns
>
> Rowland
>
>
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions: https://lists.samba.org/mailman/options/samba
>
>
More information about the samba
mailing list