summaryrefslogtreecommitdiff
path: root/python/samba/upgrade.py
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2014-08-11 11:23:57 +1200
committerAndrew Bartlett <abartlet@samba.org>2014-09-01 00:36:42 +0200
commit964e412ead6af1ef2ccfba351161e9a865a251ac (patch)
tree1f19984ed871e6683b809ffc5beeffb176df4489 /python/samba/upgrade.py
parentc9f613f60ddf61f27ff67a7bbef8b93022099335 (diff)
downloadsamba-964e412ead6af1ef2ccfba351161e9a865a251ac.tar.gz
python: Use the security.dom_sid type for ctx.domsid in join.py and provision
Change-Id: I1266f77184d68aae6a39a73bac8a432fdd707b2e Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org> Reviewed-By: Jelmer Vernooij <jelmer@samba.org>
Diffstat (limited to 'python/samba/upgrade.py')
-rw-r--r--python/samba/upgrade.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/samba/upgrade.py b/python/samba/upgrade.py
index 11a66a61161..94b77323124 100644
--- a/python/samba/upgrade.py
+++ b/python/samba/upgrade.py
@@ -725,7 +725,7 @@ Please fix this account before attempting to upgrade again
# Do full provision
result = provision(logger, session_info,
targetdir=targetdir, realm=realm, domain=domainname,
- domainsid=str(domainsid), next_rid=next_rid,
+ domainsid=domainsid, next_rid=next_rid,
dc_rid=machinerid, adminpass = adminpass,
dom_for_fun_level=dsdb.DS_DOMAIN_FUNCTION_2003,
hostname=netbiosname.lower(), machinepass=machinepass,