summaryrefslogtreecommitdiff
path: root/source3/winbindd/winbindd_getusersids.c
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2017-01-03 14:54:46 +0000
committerVolker Lendecke <vl@samba.org>2017-01-04 12:22:12 +0100
commitbb050bfd88e34c9d922ac2c26ab4cefc1bd07543 (patch)
tree8ce9af1152dd748fd802b566fdab7444b9aee8d5 /source3/winbindd/winbindd_getusersids.c
parenta8ab48ee193f68217e7c53b71bf6c57d2d15f8d7 (diff)
downloadsamba-bb050bfd88e34c9d922ac2c26ab4cefc1bd07543.tar.gz
winbind: Add "expand_local_aliases" to wb_gettoken
I hate passing down booleans, but we have the "domain_groups_only" parameter in wbcLookupUserSids which we need to keep for API compatibility. To make sure we use as few code paths as possible, this basically passes down this flag. Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Uri Simchoni <uri@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
Diffstat (limited to 'source3/winbindd/winbindd_getusersids.c')
-rw-r--r--source3/winbindd/winbindd_getusersids.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/winbindd/winbindd_getusersids.c b/source3/winbindd/winbindd_getusersids.c
index 6b5510ad5a5..d6995c4390a 100644
--- a/source3/winbindd/winbindd_getusersids.c
+++ b/source3/winbindd/winbindd_getusersids.c
@@ -55,7 +55,7 @@ struct tevent_req *winbindd_getusersids_send(TALLOC_CTX *mem_ctx,
return tevent_req_post(req, ev);
}
- subreq = wb_gettoken_send(state, ev, &state->sid);
+ subreq = wb_gettoken_send(state, ev, &state->sid, true);
if (tevent_req_nomem(subreq, req)) {
return tevent_req_post(req, ev);
}