summaryrefslogtreecommitdiff
path: root/source4/scripting/python
diff options
context:
space:
mode:
authorAmitay Isaacs <amitay@gmail.com>2011-08-18 15:17:40 +1000
committerAndrew Bartlett <abartlet@samba.org>2011-08-19 16:35:05 +1000
commitdfa1c751c68596f858b0e3094c26b7acdec1aa2c (patch)
tree2fbf395a7c50df35ac661a9f8102ec954df5aca8 /source4/scripting/python
parent57b9f1b5025f2b521e6d8bcb25762b223b83ace4 (diff)
downloadsamba-dfa1c751c68596f858b0e3094c26b7acdec1aa2c.tar.gz
samba-dfa1c751c68596f858b0e3094c26b7acdec1aa2c.tar.bz2
samba-dfa1c751c68596f858b0e3094c26b7acdec1aa2c.zip
provision: Add idmap database handle to the result of provision
It is required in s3_upgrade script to migrate idmap database from s3 to s4. Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source4/scripting/python')
-rw-r--r--source4/scripting/python/samba/provision/__init__.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/scripting/python/samba/provision/__init__.py b/source4/scripting/python/samba/provision/__init__.py
index 1b32a41059..c414bd08f0 100644
--- a/source4/scripting/python/samba/provision/__init__.py
+++ b/source4/scripting/python/samba/provision/__init__.py
@@ -437,6 +437,7 @@ class ProvisionResult(object):
self.domaindn = None
self.lp = None
self.samdb = None
+ self.idmap = None
def check_install(lp, session_info, credentials):
@@ -1904,6 +1905,7 @@ def provision(logger, session_info, credentials, smbconf=None,
result.paths = paths
result.lp = lp
result.samdb = samdb
+ result.idmap = idmap
return result