[Samba] Centos 7 AD domain provision won't create named.conf

Kacper Wirski kacper.wirski at gmail.com
Tue Jul 3 08:08:44 UTC 2018


I think the author meant named.conf that is to be "included" into to 
main named.conf. And he's right, that in samba 4.8.3 all bind related 
files are not in /samba/private, as it used to, but rather in 
/samba/bind-dns (named.keytab, named.conf that is to be included and all 
other bind related files).

So he's right, that file "named.conf" that used to appear in 
samba/private/ no longer appears there, as it was previously :).

Unless he meant full named.conf, than of course it should be in 
/etc/named.conf on centos and you ought to manually add the include line 
and tkey... line for secure updates.



W dniu 03.07.2018 o 10:04, Rowland Penny via samba pisze:
> On Mon, 2 Jul 2018 16:45:09 -0700
> Alberto Moreno via samba <samba at lists.samba.org> wrote:
>> Hi guys.
>> I'm preparing my migration from samab NT4 style to AD.
>> I had follow some papers about, exist 1 step that I still don't if is
>> right or don't.
>> A lot of site show that once we run the command:
>> samba-tool domain provision ...
>> using BIND9_DLZ
>> This step will create a named.conf inside ./private/named.conf
> Close, but wrong ;-)
> What webpage are you following ?
> Whichever it is, STOP and read this:
> https://wiki.samba.org/index.php/Setting_up_Samba_as_an_Active_Directory_Domain_Controller
> and this:
> https://wiki.samba.org/index.php/Setting_up_a_BIND_DNS_Server
> Yes, a 'named.conf' is created, but it is NOT the main named.conf, it
> is one that needs to be included in your main named.conf.
> Towards the end of the provision command output, you should find a line
> similar to this:
> See /var/lib/samba/private/named.conf for an example configuration
> include file for BIND
> This will show you where the file is and you will need to add a line to
> your named conf files:
> include "/var/lib/samba/private/named.conf";
> Rowland

More information about the samba mailing list