summaryrefslogtreecommitdiff
path: root/source4/rpc_server
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2017-03-20 12:56:00 +0100
committerRalph Boehme <slow@samba.org>2018-02-21 14:19:18 +0100
commit3909f8fcfe6b82575ad8974acacde3270ce849fe (patch)
treeee15bbd8d9fe21877885098e0912118942184ad5 /source4/rpc_server
parent76868818e8b98a0cd4881d319e0735de5091b8b1 (diff)
downloadsamba-3909f8fcfe6b82575ad8974acacde3270ce849fe.tar.gz
s4:rpc_server/lsa: use LSA_LOOKUP_OPTION_SEARCH_ISOLATED_NAMES/LSA_CLIENT_REVISION_1 in compat code
Bug: https://bugzilla.samba.org/show_bug.cgi?id=13286 Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Ralph Boehme <slow@samba.org>
Diffstat (limited to 'source4/rpc_server')
-rw-r--r--source4/rpc_server/lsa/lsa_lookup.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source4/rpc_server/lsa/lsa_lookup.c b/source4/rpc_server/lsa/lsa_lookup.c
index f54b118b5e8..d0361417ef9 100644
--- a/source4/rpc_server/lsa/lsa_lookup.c
+++ b/source4/rpc_server/lsa/lsa_lookup.c
@@ -797,8 +797,8 @@ NTSTATUS dcesrv_lsa_LookupSids(struct dcesrv_call_state *dce_call, TALLOC_CTX *m
r2.in.names = NULL;
r2.in.level = r->in.level;
r2.in.count = r->in.count;
- r2.in.lookup_options = 0;
- r2.in.client_revision = 0;
+ r2.in.lookup_options = LSA_LOOKUP_OPTION_SEARCH_ISOLATED_NAMES;
+ r2.in.client_revision = LSA_CLIENT_REVISION_1;
r2.out.count = r->out.count;
r2.out.names = NULL;
r2.out.domains = r->out.domains;
@@ -1124,8 +1124,8 @@ NTSTATUS dcesrv_lsa_LookupNames(struct dcesrv_call_state *dce_call, TALLOC_CTX *
r2.in.sids = NULL;
r2.in.level = r->in.level;
r2.in.count = r->in.count;
- r2.in.lookup_options = 0;
- r2.in.client_revision = 0;
+ r2.in.lookup_options = LSA_LOOKUP_OPTION_SEARCH_ISOLATED_NAMES;
+ r2.in.client_revision = LSA_CLIENT_REVISION_1;
r2.out.count = r->out.count;
r2.out.domains = r->out.domains;