Project

General

Profile

Tâche #29743

EOLE AD DC - Scénario #29810: Mettre à niveau la configuration bind9 pour Seth 2.8.0

Seth 2.8 : problèmes avec le backend Bind ?

Added by Joël Cuissinat 20 days ago. Updated 11 days ago.

Status:
Nouveau
Priority:
Normal
Assigned To:
-
Target version:
-
Start date:
03/18/2020
Due date:
% Done:

0%

Remaining (hours):

Description

https://dev-eole.ac-dijon.fr/jenkins/job/2.8.0/job/test-instance-acadc1-2.8.0-amd64/lastSuccessfulBuild/console

23:02:11             * Mise à jour du backend DNS
23:02:11             Reading domain information
23:02:11             DNS accounts already exist
23:02:11             No zone file /var/lib/samba/bind-dns/dns/DOMSETH.AC-TEST.FR.zone
23:02:11             /usr/sbin/samba_upgradedns:338: DeprecationWarning: The 'warn' method is deprecated, use 'warning' instead
23:02:11               logger.warn("DNS records will be automatically created")
23:02:11             DNS records will be automatically created
23:02:11             DNS partitions already exist
23:02:11             Adding dns-dc1 account
23:02:11             BIND version unknown, please modify /var/lib/samba/bind-dns/named.conf manually.
23:02:11             See /var/lib/samba/bind-dns/named.conf for an example configuration include file for BIND
23:02:11             and /var/lib/samba/bind-dns/named.txt for further documentation required for secure DNS updates
23:02:11             Finished upgrading DNS

Le diagnose signale une erreur :

DNS AD :
.         Enregistrements SRV => Erreur (Vérifier 'Nom DNS du réseau local')
.   Résolution dc1.domseth.ac-test.fr => Ok

Associated revisions

Revision 05bcc7d2 (diff)
Added by gilles.grandgerard 18 days ago

Ajout template 'named.conf.dlz' + dicos

REF #29743

History

#1 Updated by Joël Cuissinat 20 days ago

  • Parent task set to #29652

#2 Updated by Joël Cuissinat 18 days ago

  • Description updated (diff)

#3 Updated by Gilles Grandgérard 18 days ago

dans git samba : samba/python/samba/provision/sambadns.py


elif dns_backend == "BIND9_DLZ":
        bind_info = subprocess.Popen(['named -V'], shell=True,
                                     stdout=subprocess.PIPE,
                                     stderr=subprocess.STDOUT,
                                     cwd='.').communicate()[0]
        bind_info = get_string(bind_info)
        bind9_8 = '#'
        bind9_9 = '#'
        bind9_10 = '#'
        bind9_11 = '#'
        bind9_12 = '#'
        if bind_info.upper().find('BIND 9.8') != -1:
            bind9_8 = ''
        elif bind_info.upper().find('BIND 9.9') != -1:
            bind9_9 = ''
        elif bind_info.upper().find('BIND 9.10') != -1:
            bind9_10 = ''
        elif bind_info.upper().find('BIND 9.11') != -1:
            bind9_11 = ''
        elif bind_info.upper().find('BIND 9.12') != -1:
            bind9_12 = ''
        elif bind_info.upper().find('BIND 9.7') != -1:
            raise ProvisioningError("DLZ option incompatible with BIND 9.7.")
        else:
            logger.warning("BIND version unknown, please modify %s manually." % paths.namedconf)
        setup_file(setup_path("named.conf.dlz"), paths.namedconf, {
                    "NAMED_CONF": paths.namedconf,
                    "MODULESDIR": samba.param.modules_dir(),
                    "BIND9_8": bind9_8,
                    "BIND9_9": bind9_9,
                    "BIND9_10": bind9_10,
                    "BIND9_11": bind9_11,
                    "BIND9_12": bind9_12

                    })

A ce jour : bind 9.16 n'est pas compatible samba 4.11

#4 Updated by Gilles Grandgérard 18 days ago

test avec un nouveau template 'named.conf.dlz' qui utilise dls 9.12
ok

A faire :
- debsums en erreur !
- mise à jour des dicos zephir
- remonter l'info Samba team + Ubuntu

#5 Updated by Gilles Grandgérard 18 days ago

  • Status changed from Nouveau to Résolu

#6 Updated by Joël Cuissinat 13 days ago

  • Assigned To set to Gilles Grandgérard

#7 Updated by Joël Cuissinat 11 days ago

  • Status changed from Résolu to Nouveau
  • Assigned To deleted (Gilles Grandgérard)
  • Parent task changed from #29652 to #29810

Also available in: Atom PDF