Project

General

Profile

Tâche #29743

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 over 1 year ago. Updated about 1 year ago.

Status:
Fermé
Priority:
Normal
Assigned To:
Start date:
03/18/2020
Due date:
% Done:

100%

Remaining (hours):
0.0

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 over 1 year ago

Ajout template 'named.conf.dlz' + dicos

REF #29743

Revision 72ce27ff (diff)
Added by Benjamin Bohard about 1 year ago

Add samba-dlz template to debsum exceptions.

Ref #29743

History

#1 Updated by Joël Cuissinat over 1 year ago

  • Parent task set to #29652

#2 Updated by Joël Cuissinat over 1 year ago

  • Description updated (diff)

#3 Updated by Gilles Grandgérard over 1 year 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 over 1 year 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 over 1 year ago

  • Status changed from Nouveau to Résolu

#6 Updated by Joël Cuissinat over 1 year ago

  • Assigned To set to Gilles Grandgérard

#7 Updated by Joël Cuissinat over 1 year ago

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

#8 Updated by Benjamin Bohard about 1 year ago

Le template named.conf.dlz pointant vers la version 9.12 permet bien d’utiliser le serveur named avec samba.
Le dernier signalement en date sur les listes samba date du 10 septembre, en réponse auquel il a bien été confirmé que la version 9.12 fonctionne avec named 9.16. Un bug devait être soumis dans la foulée mais pas de trace retrouvée sur bugzilla.

#9 Updated by Benjamin Bohard about 1 year ago

  • Project changed from Distribution EOLE to EOLE AD DC
  • Status changed from Nouveau to Résolu

#10 Updated by Joël Cuissinat about 1 year ago

  • Assigned To set to Benjamin Bohard
  • % Done changed from 0 to 100

#11 Updated by Joël Cuissinat about 1 year ago

  • Status changed from Résolu to Fermé
  • Remaining (hours) set to 0.0

Also available in: Atom PDF