samba_upgradeprovision: detect dns_backend for the reference provision
commita60792c1e230abef57ed568ea467b9cf98294cb4
authorStefan Metzmacher <metze@samba.org>
Fri, 25 Jan 2013 08:36:47 +0000 (25 09:36 +0100)
committerKarolin Seeger <kseeger@samba.org>
Mon, 28 Jan 2013 10:07:23 +0000 (28 11:07 +0100)
treeef5a4ae72be6cb93a3437fdd0fff0f89549f3142
parent41af100908ceb4a842cf242ea31168763ec183b0
samba_upgradeprovision: detect dns_backend for the reference provision

If we have a DomainDnsZone partition, we use BIND9_DLZ as backend
and fix errors in the ForestDnsZone and DomainDnsZone partitions.
Note: this should work fine also for SAMBA_INTERNAL.

If the current setup doesn't use dns specific partitions (e.g. alpha13 setups)
we pass dns_backend=BIND9_FLATFILE.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
(cherry picked from commit 58d6d884cf8a8de5a1fa2dfd4a0cbacdff0d2483)
source4/scripting/bin/samba_upgradeprovision
source4/scripting/python/samba/upgradehelpers.py