summaryrefslogtreecommitdiff
path: root/source3/nsswitch
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/nsswitch
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/nsswitch')
-rw-r--r--source3/nsswitch/winbindd_rpc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/nsswitch/winbindd_rpc.c b/source3/nsswitch/winbindd_rpc.c
index 03aa42012e..7899d62fea 100644
--- a/source3/nsswitch/winbindd_rpc.c
+++ b/source3/nsswitch/winbindd_rpc.c
@@ -290,7 +290,7 @@ NTSTATUS msrpc_name_to_sid(struct winbindd_domain *domain,
return result;
result = rpccli_lsa_lookup_names(cli, mem_ctx, &lsa_policy, 1,
- (const char**) &full_name, NULL, &sids, &types);
+ (const char**) &full_name, NULL, 1, &sids, &types);
if (!NT_STATUS_IS_OK(result))
return result;