From 740c97b513dfb43342eda700362f4b59de5d5b83 Mon Sep 17 00:00:00 2001 From: Lukasz Zalewski Date: Wed, 23 Jun 2010 10:05:50 +0100 Subject: Fix to undo nasty hack for for grouptype conversion Signed-off-by: Jelmer Vernooij --- source4/scripting/python/samba/samdb.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/scripting') 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 -- cgit