summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLukasz Zalewski <lukas@eecs.qmul.ac.uk>2010-06-23 10:05:50 +0100
committerJelmer Vernooij <jelmer@samba.org>2010-06-23 14:49:02 +0200
commit740c97b513dfb43342eda700362f4b59de5d5b83 (patch)
tree7eccc5ee15c3633b82877a14ad3427d5f1ac6e4a
parentc5d07d2a1a85f8ebc023d5647752ca36210bbe2b (diff)
downloadsamba-740c97b513dfb43342eda700362f4b59de5d5b83.tar.gz
samba-740c97b513dfb43342eda700362f4b59de5d5b83.tar.bz2
samba-740c97b513dfb43342eda700362f4b59de5d5b83.zip
Fix to undo nasty hack for for grouptype conversion
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
-rw-r--r--source4/scripting/python/samba/samdb.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/scripting/python/samba/samdb.py b/source4/scripting/python/samba/samdb.py
index 6d49bddfb3..ef31d28a8f 100644
--- a/source4/scripting/python/samba/samdb.py
+++ b/source4/scripting/python/samba/samdb.py
@@ -130,7 +130,7 @@ pwdLastSet: 0
"objectClass": "group"}
if grouptype is not None:
- ldbmessage["groupType"] = "%d" % ((grouptype)-2**32)
+ ldbmessage["groupType"] = "%d" % grouptype
if description is not None:
ldbmessage["description"] = description