git.samba.org
/
ddiss
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c2ac747
)
s4-python: keep wheel_gid as an integer
author
Matthieu Patou
<mat@matws.net>
Sun, 15 May 2011 12:02:54 +0000
(16:02 +0400)
committer
Matthieu Patou
<mat@samba.org>
Mon, 16 May 2011 22:31:09 +0000
(
00:31
+0200)
source4/scripting/python/samba/upgradehelpers.py
patch
|
blob
|
history
diff --git
a/source4/scripting/python/samba/upgradehelpers.py
b/source4/scripting/python/samba/upgradehelpers.py
index 48f492a7dc36ca5f23fd239a12bb15643d678a66..729231e7630891bf68495ac5cf0b17158faa9cea 100755
(executable)
--- 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