summaryrefslogtreecommitdiffstats
path: root/source4/scripting/python/samba/upgradehelpers.py
diff options
context:
space:
mode:
authorKai Blin <kai@samba.org>2011-10-15 13:54:45 +0200
committerKai Blin <kai@samba.org>2011-10-17 09:51:12 +0200
commit8c076862ad0b1b14bb6addef323c5678368051af (patch)
tree279f533395f179f903c49ae3e92739c184f986d5 /source4/scripting/python/samba/upgradehelpers.py
parentd58f266d19750484b72ad0e18de3e83c88e81169 (diff)
downloadsamba-8c076862ad0b1b14bb6addef323c5678368051af.tar.gz
samba-8c076862ad0b1b14bb6addef323c5678368051af.tar.xz
samba-8c076862ad0b1b14bb6addef323c5678368051af.zip
s4 provision: DNS backend should be set by caller
Autobuild-User: Kai Blin <kai@samba.org> Autobuild-Date: Mon Oct 17 09:51:12 CEST 2011 on sn-devel-104
Diffstat (limited to 'source4/scripting/python/samba/upgradehelpers.py')
-rwxr-xr-xsource4/scripting/python/samba/upgradehelpers.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/scripting/python/samba/upgradehelpers.py b/source4/scripting/python/samba/upgradehelpers.py
index 9034140195..043f629ce5 100755
--- a/source4/scripting/python/samba/upgradehelpers.py
+++ b/source4/scripting/python/samba/upgradehelpers.py
@@ -256,6 +256,7 @@ def newprovision(names, creds, session, smbconf, provdir, logger):
shutil.rmtree(provdir)
os.mkdir(provdir)
logger.info("Provision stored in %s", provdir)
+ dns_backend="BIND9_FLATFILE"
provision(logger, session, creds, smbconf=smbconf,
targetdir=provdir, samdb_fill=FILL_FULL, realm=names.realm,
domain=names.domain, domainguid=names.domainguid,
@@ -268,7 +269,7 @@ def newprovision(names, creds, session, smbconf, provdir, logger):
serverrole="domain controller", ldap_backend_extra_port=None,
backend_type=None, ldapadminpass=None, ol_mmr_urls=None,
slapd_path=None, setup_ds_path=None, nosync=None,
- dom_for_fun_level=names.domainlevel,
+ dom_for_fun_level=names.domainlevel, dns_backend=dns_backend,
ldap_dryrun_mode=None, useeadb=True)