diff options
-rw-r--r-- | source3/winbindd/winbindd_sids_to_xids.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/source3/winbindd/winbindd_sids_to_xids.c b/source3/winbindd/winbindd_sids_to_xids.c index 7dc95af592..52d473b58f 100644 --- a/source3/winbindd/winbindd_sids_to_xids.c +++ b/source3/winbindd/winbindd_sids_to_xids.c @@ -78,6 +78,8 @@ struct tevent_req *winbindd_sids_to_xids_send(TALLOC_CTX *mem_ctx, return tevent_req_post(req, ev); } + DEBUG(10, ("num_sids: %d\n", (int)state->num_sids)); + state->cached = TALLOC_ZERO_ARRAY(state, struct id_map, state->num_sids); if (tevent_req_nomem(state->cached, req)) { @@ -90,6 +92,10 @@ struct tevent_req *winbindd_sids_to_xids_send(TALLOC_CTX *mem_ctx, } for (i=0; i<state->num_sids; i++) { + + DEBUG(10, ("SID %d: %s\n", (int)i, + sid_string_dbg(&state->sids[i]))); + if (winbindd_sids_to_xids_in_cache(&state->sids[i], &state->cached[i])) { continue; |