Hi,>No, you shouldn't have to, have you followed this first:I followed, but there are instructions in this tutorial to configure Bind9_DLZ first, as below: - Set up and configure the BIND9_DLZ back end. For details, see BIND9_DLZ Back End <https://wiki.samba.org/index.php/BIND9_DLZ_DNS_Back_End>.> What version of Samba is this ?Samba 4.10.7>Yours will probably be '/var/lib/samba'No, there aren't in my DC (I have searched with find / -name <file>). Will files ( "/usr/local/samba/bind-dns/named.conf" and "dns.keytab" ) be created after I run the command samba_upgradedns --dns-backend=BIND9_DLZ ? Regards, M?rcio Bacci m seg, 2 de set de 2019 ?s 04:38, Rowland penny via samba < samba at lists.samba.org> escreveu:> On 01/09/2019 23:28, Marcio Demetrio Bacci wrote: > > Hi, > > > > I'm folowing the tutorial: > > https://wiki.samba.org/index.php/BIND9_DLZ_DNS_Back_End > > > > But, the follows file there isn't in my DC, so can I to create it > > manually? > > No, you shouldn't have to, have you followed this first: > > https://wiki.samba.org/index.php/Changing_the_DNS_Back_End_of_a_Samba_AD_DC > > What version of Samba is this ? > > Earlier versions placed the files in /usr/local/samba/private, but this > path is based on a self compiled Samba version using the default prefix > '/usr/local/samba'|| > > Yours will probably be '/var/lib/samba' > > Rowland > > > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba >
On 02/09/2019 11:11, Marcio Demetrio Bacci wrote:> > Hi, > > >No, you shouldn't have to, have you followed this first: > I followed, but there are instructions in this tutorial to configure > Bind9_DLZ first, as below: > > * Set up and configure the |BIND9_DLZ|?back end. For details, see > BIND9_DLZ Back End > <https://wiki.samba.org/index.php/BIND9_DLZ_DNS_Back_End>. >I will have a look and alter it if required.> > > What version of Samba is this ? > Samba 4.10.7 > > >Yours will probably be '/var/lib/samba' > No, there aren't in my DC (I have searched with find / -name <file>).If you were running a DC using the internal dns server and haven't upgraded to Bind9 yet, then there will be no Samba Bind9 related files & directories yet, they get created by the dns server upgrade and they will be created in /var/lib/samba/bind-dns> > ?Will files ( "/usr/local/samba/bind-dns/named.conf" and "dns.keytab"? > ) be created?after I run the command samba_upgradedns > --dns-backend=BIND9_DLZ ?Yes, but not at that path ;-) Rowland
Hi,
Failed to change DNS:
samba_upgradedns --dns-backend=BIND9_DLZ
Reading domain information
DNS accounts already exist
No zone file /var/lib/samba/bind-dns/dns/EMPRESA.COM.BR.zone
DNS records will be automatically created
DNS partitions already exist
Adding dns-samba4-dc1 account
Failed to create link /var/lib/samba/private/dns.keytab ->
/var/lib/samba/bind-d
ns/dns.keytab: No such file or directory
Failed to chown /var/lib/samba/bind-dns to bind gid 121
Failed to chown /var/lib/samba/bind-dns/dns.keytab to bind gid 121
Traceback (most recent call last):
File "/usr/sbin/samba_upgradedns", line 533, in <module>
create_dns_dir(logger, paths)
File "/usr/lib/python3/dist-packages/samba/provision/sambadns.py",
line
704, i
n create_dns_dir
os.mkdir(dns_dir, 0o770)
FileNotFoundError: [Errno 2] No such file or directory:
'/var/lib/samba/bind-dns
Regards,
M?rcio Bacci
Em seg, 2 de set de 2019 ?s 07:31, Rowland penny via samba <
samba at lists.samba.org> escreveu:
> On 02/09/2019 11:11, Marcio Demetrio Bacci wrote:
> >
> > Hi,
> >
> > >No, you shouldn't have to, have you followed this first:
> > I followed, but there are instructions in this tutorial to configure
> > Bind9_DLZ first, as below:
> >
> > * Set up and configure the |BIND9_DLZ| back end. For details, see
> > BIND9_DLZ Back End
> > <https://wiki.samba.org/index.php/BIND9_DLZ_DNS_Back_End>.
> >
> I will have a look and alter it if required.
> >
> > > What version of Samba is this ?
> > Samba 4.10.7
> >
> > >Yours will probably be '/var/lib/samba'
> > No, there aren't in my DC (I have searched with find / -name
<file>).
> If you were running a DC using the internal dns server and haven't
> upgraded to Bind9 yet, then there will be no Samba Bind9 related files
&
> directories yet, they get created by the dns server upgrade and they
> will be created in /var/lib/samba/bind-dns
> >
> > Will files ( "/usr/local/samba/bind-dns/named.conf" and
"dns.keytab"
> > ) be created after I run the command samba_upgradedns
> > --dns-backend=BIND9_DLZ ?
>
> Yes, but not at that path ;-)
>
> Rowland
>
>
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions: https://lists.samba.org/mailman/options/samba
>