]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
provision: Add support for BIND 9.11.x
authorAmitay Isaacs <amitay@gmail.com>
Mon, 26 Sep 2016 14:51:03 +0000 (00:51 +1000)
committerKarolin Seeger <kseeger@samba.org>
Mon, 2 Jan 2017 10:56:50 +0000 (11:56 +0100)
BUG: https://bugzilla.samba.org/show_bug.cgi?id=12366

Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Fri Oct 28 03:42:25 CEST 2016 on sn-devel-144

(cherry picked from commit 2959c8888d46902e140963ed4190d23a7609b8da)

Autobuild-User(v4-4-test): Karolin Seeger <kseeger@samba.org>
Autobuild-Date(v4-4-test): Thu Nov  3 12:29:19 CET 2016 on sn-devel-144

python/samba/provision/sambadns.py
source4/setup/named.conf.dlz

index a3931813a653d56ac2afd0579f20c77697c07038..ab596ce2dc05dbfd69eb2c8daaf734ad0336d252 100644 (file)
@@ -923,12 +923,15 @@ def create_named_conf(paths, realm, dnsdomain, dns_backend, logger):
         bind9_8 = '#'
         bind9_9 = '#'
         bind9_10 = '#'
+        bind9_11 = '#'
         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.7') != -1:
             raise ProvisioningError("DLZ option incompatible with BIND 9.7.")
         else:
@@ -938,7 +941,8 @@ def create_named_conf(paths, realm, dnsdomain, dns_backend, logger):
                     "MODULESDIR" : samba.param.modules_dir(),
                     "BIND9_8" : bind9_8,
                     "BIND9_9" : bind9_9,
-                    "BIND9_10" : bind9_10
+                    "BIND9_10" : bind9_10,
+                    "BIND9_11" : bind9_11
                     })
 
 
index 460d2ca6420fd718de9230809bb3afe4c5d81f26..215af5a17f0c7c3d532d91a69934b564ffc75c63 100644 (file)
@@ -18,5 +18,8 @@ dlz "AD DNS Zone" {
 
     # For BIND 9.10.x
     ${BIND9_10} database "dlopen ${MODULESDIR}/bind9/dlz_bind9_10.so";
+
+    # For BIND 9.11.x
+    ${BIND9_11} database "dlopen ${MODULESDIR}/bind9/dlz_bind9_11.so";
 };