diff options
author | Lukasz Zalewski <lukas@eecs.qmul.ac.uk> | 2010-06-23 10:05:50 +0100 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2010-06-23 14:49:02 +0200 |
commit | 740c97b513dfb43342eda700362f4b59de5d5b83 (patch) | |
tree | 7eccc5ee15c3633b82877a14ad3427d5f1ac6e4a /source4/scripting/python | |
parent | c5d07d2a1a85f8ebc023d5647752ca36210bbe2b (diff) | |
download | samba-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>
Diffstat (limited to 'source4/scripting/python')
-rw-r--r-- | source4/scripting/python/samba/samdb.py | 2 |
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 |