summaryrefslogtreecommitdiff
path: root/source3/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
commit2b8abc030b1eca43f7c0c05dc96eebeb6c492030 (patch)
treebaaede502f92ed3528fc26793eff4c1adda96ed5 /source3/python
parent79eaa709a05d765673ea0766b1d23a0c60d76b4c (diff)
downloadsamba-2b8abc030b1eca43f7c0c05dc96eebeb6c492030.tar.gz
samba-2b8abc030b1eca43f7c0c05dc96eebeb6c492030.tar.bz2
samba-2b8abc030b1eca43f7c0c05dc96eebeb6c492030.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. (This used to be commit ee2b2d96b60c668e37592c79e86c2fd851e15f69)
Diffstat (limited to 'source3/python')
-rw-r--r--source3/python/py_lsa.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/python/py_lsa.c b/source3/python/py_lsa.c
index 915223a5bb..711641828d 100644
--- a/source3/python/py_lsa.c
+++ b/source3/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;