git.samba.org
/
kai
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f8bf4fc
)
winbindd: update xid in wb_xids2sids_state->xids with what we got
author
Ralph Boehme
<slow@samba.org>
Thu, 21 Feb 2019 17:40:20 +0000
(18:40 +0100)
committer
Volker Lendecke
<vl@samba.org>
Sat, 23 Feb 2019 06:54:09 +0000
(07:54 +0100)
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 <slow@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
source3/winbindd/wb_xids2sids.c
patch
|
blob
|
history
diff --git
a/source3/winbindd/wb_xids2sids.c
b/source3/winbindd/wb_xids2sids.c
index 3c72d9447a282965ca8945849abd65ea9dd84984..c088560adecfce2312ef6c08f3cb84e0fa9e8ebd 100644
(file)
--- a/
source3/winbindd/wb_xids2sids.c
+++ b/
source3/winbindd/wb_xids2sids.c
@@
-369,6
+369,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