mirror of
https://github.com/samba-team/samba.git
synced 2025-09-17 05:44:20 +03:00
s4-dns: Add support for BIND 9.10
Signed-off-by: Amitay Isaacs <amitay@gmail.com> Reviewed-by: Matthieu Patou <mat@matws.net> Autobuild-User(master): Amitay Isaacs <amitay@samba.org> Autobuild-Date(master): Sat Oct 25 05:42:19 CEST 2014 on sn-devel-104
This commit is contained in:
committed by
Amitay Isaacs
parent
aeb6ad8a9c
commit
faa3423d1a
@@ -921,10 +921,13 @@ def create_named_conf(paths, realm, dnsdomain, dns_backend, logger):
|
||||
cwd='.').communicate()[0]
|
||||
bind9_8 = '#'
|
||||
bind9_9 = '#'
|
||||
bind9_10 = '#'
|
||||
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.7') != -1:
|
||||
raise ProvisioningError("DLZ option incompatible with BIND 9.7.")
|
||||
else:
|
||||
@@ -933,7 +936,8 @@ def create_named_conf(paths, realm, dnsdomain, dns_backend, logger):
|
||||
"NAMED_CONF": paths.namedconf,
|
||||
"MODULESDIR" : samba.param.modules_dir(),
|
||||
"BIND9_8" : bind9_8,
|
||||
"BIND9_9" : bind9_9
|
||||
"BIND9_9" : bind9_9,
|
||||
"BIND9_10" : bind9_10
|
||||
})
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user