summaryrefslogtreecommitdiff
path: root/source3/winbindd/winbindd_msrpc.c
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2018-01-15 12:57:11 +0100
committerRalph Boehme <slow@samba.org>2018-02-10 08:35:16 +0100
commit7fc19747ef346df9cc72bb516b45a8309f462dd8 (patch)
tree97d461f81224804d3d10dfbeefcfbb34fc70cf1e /source3/winbindd/winbindd_msrpc.c
parent8b7bf6d4d81cde099d78cd9cc03aa085cec672d4 (diff)
downloadsamba-7fc19747ef346df9cc72bb516b45a8309f462dd8.tar.gz
s3:rpc_client: pass down lsa_LookupNamesLevel to dcerpc_lsa_lookup_sids_generic()
Bug: https://bugzilla.samba.org/show_bug.cgi?id=13236 Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Ralph Boehme <slow@samba.org>
Diffstat (limited to 'source3/winbindd/winbindd_msrpc.c')
-rw-r--r--source3/winbindd/winbindd_msrpc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/winbindd/winbindd_msrpc.c b/source3/winbindd/winbindd_msrpc.c
index 9bf4354f4e3..bc27a39c08f 100644
--- a/source3/winbindd/winbindd_msrpc.c
+++ b/source3/winbindd/winbindd_msrpc.c
@@ -999,6 +999,7 @@ NTSTATUS winbindd_lookup_sids(TALLOC_CTX *mem_ctx,
unsigned int orig_timeout;
bool use_lookupsids3 = false;
bool retried = false;
+ enum lsa_LookupNamesLevel level = LSA_LOOKUP_NAMES_ALL;
connect:
status = cm_connect_lsat(domain, mem_ctx, &cli, &lsa_policy);
@@ -1024,6 +1025,7 @@ NTSTATUS winbindd_lookup_sids(TALLOC_CTX *mem_ctx,
&lsa_policy,
num_sids,
sids,
+ level,
domains,
names,
types,