summaryrefslogtreecommitdiffstats
path: root/source/python
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2006-06-28 21:30:21 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:19:05 -0500
commitee2b2d96b60c668e37592c79e86c2fd851e15f69 (patch)
treea4725d5e4138b64c5bb77381756f154d99df4365 /source/python
parentd354b430ff0473764db8ea492a68d10946dadc23 (diff)
downloadsamba-ee2b2d96b60c668e37592c79e86c2fd851e15f69.tar.gz
samba-ee2b2d96b60c668e37592c79e86c2fd851e15f69.tar.xz
samba-ee2b2d96b60c668e37592c79e86c2fd851e15f69.zip
r16644: Fix bug #3887 reported by jason@ncac.gwu.edu
by converting the lookup_XX functions to correctly return SID_NAME_TYPE enums. Jeremy.
Diffstat (limited to 'source/python')
-rw-r--r--source/python/py_lsa.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/python/py_lsa.c b/source/python/py_lsa.c
index 915223a5bb7..711641828d6 100644
--- a/source/python/py_lsa.c
+++ b/source/python/py_lsa.c
@@ -147,7 +147,7 @@ static PyObject *lsa_lookup_names(PyObject *self, PyObject *args)
const char **names;
DOM_SID *sids;
TALLOC_CTX *mem_ctx = NULL;
- uint32 *name_types;
+ enum SID_NAME_USE *name_types;
if (!PyArg_ParseTuple(args, "O", &py_names))
return NULL;