From 19d06f27688b0931624911d15d26dbabaa39deb1 Mon Sep 17 00:00:00 2001 From: Ralph Boehme Date: Thu, 21 Feb 2019 18:40:20 +0100 Subject: winbindd: update xid in wb_xids2sids_state->xids with what we got In preparation of priming the idmap cache in the top-level wb_xids2sids_done(), not in the per-idmap-domain callback wb_xids2sids_dom_done(). Bug: https://bugzilla.samba.org/show_bug.cgi?id=13802 Signed-off-by: Ralph Boehme Reviewed-by: Volker Lendecke (cherry picked from commit 7f23ef7b2cf7bd6e8dc087aa15137292b421a689) --- source3/winbindd/wb_xids2sids.c | 1 + 1 file changed, 1 insertion(+) diff --git a/source3/winbindd/wb_xids2sids.c b/source3/winbindd/wb_xids2sids.c index ae7dbfd4ec2..6555d64f8e2 100644 --- a/source3/winbindd/wb_xids2sids.c +++ b/source3/winbindd/wb_xids2sids.c @@ -366,6 +366,7 @@ static void wb_xids2sids_dom_done(struct tevent_req *subreq) } sid_copy(&state->all_sids[i], &state->dom_sids[dom_sid_idx]); + *id = state->dom_xids[dom_sid_idx]; /* * Prime the cache after an xid2sid call. It's -- cgit v1.2.1