summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorMatthieu Patou <mat@matws.net>2011-05-15 16:02:54 +0400
committerMatthieu Patou <mat@samba.org>2011-05-17 00:31:09 +0200
commit2a5ff1513fe07894e0f9f8ee3ac6fd5ea87a4a6d (patch)
tree0976001aa7cd163d7b2bb8fbc7a19755073c9e0a /source4
parentc2ac7473f38a1e61499f6cf01ce9de19bcd3abc6 (diff)
downloadsamba-2a5ff1513fe07894e0f9f8ee3ac6fd5ea87a4a6d.tar.gz
samba-2a5ff1513fe07894e0f9f8ee3ac6fd5ea87a4a6d.tar.bz2
samba-2a5ff1513fe07894e0f9f8ee3ac6fd5ea87a4a6d.zip
s4-python: keep wheel_gid as an integer
Diffstat (limited to 'source4')
-rwxr-xr-xsource4/scripting/python/samba/upgradehelpers.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/scripting/python/samba/upgradehelpers.py b/source4/scripting/python/samba/upgradehelpers.py
index 48f492a7dc..729231e763 100755
--- a/source4/scripting/python/samba/upgradehelpers.py
+++ b/source4/scripting/python/samba/upgradehelpers.py
@@ -342,7 +342,7 @@ def find_provision_key_parameters(samdb, secretsdb, idmapdb, paths, smbconf, lp)
(security.SID_BUILTIN_ADMINISTRATORS),
attrs=["xidNumber"])
if len(res9) == 1:
- names.wheel_gid = res9[0]["xidNumber"]
+ names.wheel_gid = int(str(res9[0]["xidNumber"]))
else:
raise ProvisioningError("Unable to find uid/gid for Domain Admins rid")
return names