summaryrefslogtreecommitdiff
path: root/source3/python
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2007-06-27 11:42:17 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:23:38 -0500
commit7eb828135bd7407851a10c32d57c404ecb030140 (patch)
treef14aa962258c8927b30ce8a3131adb2c0e98c2cc /source3/python
parentd4a2898943a67e5612b0b60ce7eb1ccf28da8efd (diff)
downloadsamba-7eb828135bd7407851a10c32d57c404ecb030140.tar.gz
samba-7eb828135bd7407851a10c32d57c404ecb030140.tar.bz2
samba-7eb828135bd7407851a10c32d57c404ecb030140.zip
r23627: Allow to pass down the lookup-level to rpccli_lsa_lookup_names().
Guenther (This used to be commit e9a7512a9f630340004913f1379452eea8a9b6ae)
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 39abc60e25..7404700031 100644
--- a/source3/python/py_lsa.c
+++ b/source3/python/py_lsa.c
@@ -187,7 +187,7 @@ static PyObject *lsa_lookup_names(PyObject *self, PyObject *args)
ntstatus = rpccli_lsa_lookup_names(
hnd->cli, mem_ctx, &hnd->pol, num_names, names,
- NULL, &sids, &name_types);
+ NULL, 1, &sids, &name_types);
if (!NT_STATUS_IS_OK(ntstatus) && NT_STATUS_V(ntstatus) != 0x107) {
PyErr_SetObject(lsa_ntstatus, py_ntstatus_tuple(ntstatus));