1
0
mirror of https://github.com/samba-team/samba.git synced 2025-07-19 04:59:10 +03:00

s4-python: keep wheel_gid as an integer

This commit is contained in:
Matthieu Patou
2011-05-15 16:02:54 +04:00
committed by Matthieu Patou
parent c2ac7473f3
commit 2a5ff1513f

View File

@ -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