aboutsummaryrefslogtreecommitdiffstats
path: root/main/samba/bind-9.12.patch
blob: 1a82231a06068c681a70202a5f6fd8c2b5450867 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
--- a/python/samba/provision/sambadns.py
+++ b/python/samba/provision/sambadns.py
@@ -943,7 +943,8 @@
             bind9_9 = ''
         elif bind_info.upper().find('BIND 9.10') != -1:
             bind9_10 = ''
-        elif bind_info.upper().find('BIND 9.11') != -1:
+        elif bind_info.upper().find('BIND 9.11') != -1 \
+            or bind_info.upper().find('BIND 9.12') != -1:
             bind9_11 = ''
         elif bind_info.upper().find('BIND 9.7') != -1:
             raise ProvisioningError("DLZ option incompatible with BIND 9.7.")
--- a/source4/setup/named.conf.dlz
+++ b/source4/setup/named.conf.dlz
@@ -19,7 +19,7 @@
     # For BIND 9.10.x
     ${BIND9_10} database "dlopen ${MODULESDIR}/bind9/dlz_bind9_10.so";
 
-    # For BIND 9.11.x
+    # For BIND 9.11.x, 9.12.x
     ${BIND9_11} database "dlopen ${MODULESDIR}/bind9/dlz_bind9_11.so";
 };