mirror of
https://github.com/samba-team/samba.git
synced 2025-09-04 09:44:20 +03:00
provision: Add support for BIND 9.11.x
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
This commit is contained in:
committed by
Jeremy Allison
parent
c8c330d5f4
commit
2959c8888d
@@ -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
|
||||
})
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user