summaryrefslogtreecommitdiff
path: root/source4/scripting/python
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-04-10 05:23:17 +0200
committerJelmer Vernooij <jelmer@samba.org>2008-04-10 05:23:17 +0200
commitad8e3e41923e20d401294eccd4da028e0f40c904 (patch)
tree6b39cb15e1b82a7d7a090e9e7c3904fd36916088 /source4/scripting/python
parent12840597c856a6521ee088a5c96e8ffdd1716252 (diff)
downloadsamba-ad8e3e41923e20d401294eccd4da028e0f40c904.tar.gz
samba-ad8e3e41923e20d401294eccd4da028e0f40c904.tar.bz2
samba-ad8e3e41923e20d401294eccd4da028e0f40c904.zip
Add infrastructure for returning ProvisionResult in C provision code.
(This used to be commit 98c3d34eb233be284e8c8994cca337be25c72968)
Diffstat (limited to 'source4/scripting/python')
-rw-r--r--source4/scripting/python/samba/provision.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/scripting/python/samba/provision.py b/source4/scripting/python/samba/provision.py
index c9cdcdb768..ccf67a0b4a 100644
--- a/source4/scripting/python/samba/provision.py
+++ b/source4/scripting/python/samba/provision.py
@@ -1082,7 +1082,7 @@ def provision_become_dc(setup_dir=None,
"""print a message if quiet is not set."""
print text
- provision(setup_dir, message, system_session(), None,
+ return provision(setup_dir, message, system_session(), None,
smbconf=smbconf, targetdir=targetdir, samdb_fill=FILL_DRS, realm=realm,
rootdn=rootdn, domaindn=domaindn, schemadn=schemadn, configdn=configdn, serverdn=serverdn,
domain=domain, hostname=hostname, hostip="127.0.0.1", domainsid=domainsid, machinepass=machinepass, serverrole="domain controller", sitename=sitename);