[Samba] Problems with Internal DNS Samba 4
Marcio Demetrio Bacci
marciobacci at gmail.com
Mon Sep 2 11:07:43 UTC 2019
Failed to change DNS:
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 ->
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>
File "/usr/lib/python3/dist-packages/samba/provision/sambadns.py", line
FileNotFoundError: [Errno 2] No such file or directory:
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 ;-)
> 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