Web lists-archives.com

Re: [Samba] Is possible use BIND9 as DNS Back End on a new Samba DC?




On Wed, 17 Apr 2019 15:02:04 -0300
Igor Sousa <igorvolt@xxxxxxxxx> wrote:

> Rowland,
> 
> My configure line is ./configure --enable-debug --enable-selftest
> --with-systemd.
> 
> A hour ago, I ignored the inconsistency that I reported in the first
> e-mail of this topic and I proceeded as described at topic "Joining a
> Samba DC to an Existing Active Directory" and I joined new DC with
> command:
> 
> samba-tool domain join mydomain.com DC -U"MYDOMAIN\administrator"
> --dns-backend=BIND9_DLZ
> 
> I've looked the output command and new DC seemly joined to
> mydomain.com. I've checked out /usr/local/samba/bind-dns/named.conf
> and, now, there is this file. But, when I've added 'include
> "/usr/local/samba/bind-dns/named.con"' into my BIND named.conf file,
> the named service has not started.
> 
> I've got the following journalctl -xe output when it said
> "/etc/named.conf:59: open: /usr/local/samba/bind-dns/named.conf:
> permission denied". The file exists and I've tired to change
> permissions of this file to own to root:named, but journalctl -xe
> still shows the same error.
> 

The permissions should be:

ls -lad /usr/local/samba/bind-dns/
drwxrwx---. 3 root named 70 Apr 17 16:39 /usr/local/samba/bind-dns/

ls -la /usr/local/samba/bind-dns/

drwxrwx---.  3 root named   38 Apr 17 16:39 dns
-rw-r-----.  2 root named  797 Apr 17 16:39 dns.keytab
-rw-r--r--.  1 root root   830 Apr 17 16:39 named.conf
-rw-r--r--.  1 root root  2096 Apr 17 16:39 named.txt

Can you post /etc/named.conf

Rowland


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