diff options
author | Matthieu Patou <mat@matws.net> | 2011-05-15 16:02:54 +0400 |
---|---|---|
committer | Matthieu Patou <mat@samba.org> | 2011-05-17 00:31:09 +0200 |
commit | 2a5ff1513fe07894e0f9f8ee3ac6fd5ea87a4a6d (patch) | |
tree | 0976001aa7cd163d7b2bb8fbc7a19755073c9e0a /source4 | |
parent | c2ac7473f38a1e61499f6cf01ce9de19bcd3abc6 (diff) | |
download | samba-2a5ff1513fe07894e0f9f8ee3ac6fd5ea87a4a6d.tar.gz samba-2a5ff1513fe07894e0f9f8ee3ac6fd5ea87a4a6d.tar.bz2 samba-2a5ff1513fe07894e0f9f8ee3ac6fd5ea87a4a6d.zip |
s4-python: keep wheel_gid as an integer
Diffstat (limited to 'source4')
-rwxr-xr-x | source4/scripting/python/samba/upgradehelpers.py | 2 |
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 |