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)
committerStefan Metzmacher <metze@samba.org>
Sat, 26 Jan 2013 14:29:58 +0000 (15:29 +0100)
commitda4533240c1dde5ec04a2dc78400c49704eba0af
tree2d46a0cb00ec4864b31d0f638b663187880d235a
parent270c8f75a66ad3b02c63f9d751e67875b0b49f63
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>
source4/scripting/bin/samba_upgradeprovision
source4/scripting/python/samba/upgradehelpers.py