provision: setup names.dns_backend
commitb855df254de40d9de0b7f9042564f6d521ab1c5d
authorStefan Metzmacher <metze@samba.org>
Fri, 25 Jan 2013 08:36:47 +0000 (25 09:36 +0100)
committerAndrew Bartlett <abartlet@samba.org>
Sun, 27 Jan 2013 09:14:22 +0000 (27 20:14 +1100)
treecff28b3a15eb9389c71fdbb606ec8a91d2d048b2
parent4752731c2eb4abeb0b5da3e33aa3096786301a19
provision: setup names.dns_backend

If we have a DomainDnsZone partition:
 - we use BIND9_DLZ as backend if a dns-<netbiosname> account is available
 - otherwise, we use SAMBA_INTERNAL
else:
 - we use BIND9_FLATFILE if a dns or dns-<netbiosname> account is available
 - otherwise, we use NONE

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source4/scripting/python/samba/provision/__init__.py