summaryrefslogtreecommitdiff
path: root/source3/utils/net_rpc_rights.c
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/utils/net_rpc_rights.c
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/utils/net_rpc_rights.c')
-rw-r--r--source3/utils/net_rpc_rights.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/utils/net_rpc_rights.c b/source3/utils/net_rpc_rights.c
index 5c999e4cb0..4189f20658 100644
--- a/source3/utils/net_rpc_rights.c
+++ b/source3/utils/net_rpc_rights.c
@@ -76,7 +76,7 @@ static NTSTATUS name_to_sid(struct rpc_pipe_client *pipe_hnd,
return result;
result = rpccli_lsa_lookup_names(pipe_hnd, mem_ctx, &pol, 1, &name,
- NULL, &sids, &sid_types);
+ NULL, 1, &sids, &sid_types);
if ( NT_STATUS_IS_OK(result) )
sid_copy( sid, &sids[0] );