samba_upgradeprovision: detect dns_backend for the reference provision
authorStefan Metzmacher <metze@samba.org>
Fri, 25 Jan 2013 08:36:47 +0000 (09:36 +0100)
committerAndrew Bartlett <abartlet@samba.org>
Sun, 27 Jan 2013 09:14:22 +0000 (20:14 +1100)
commit58d6d884cf8a8de5a1fa2dfd4a0cbacdff0d2483
tree60243347d4c7a96a5c0f3c42d20b2d6af44f0360
parentb855df254de40d9de0b7f9042564f6d521ab1c5d
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>
source4/scripting/bin/samba_upgradeprovision
source4/scripting/python/samba/upgradehelpers.py