From 32bd64359c85fc90037c1bec0ea476bc6e9c185d Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Tue, 12 Apr 2011 13:32:20 +0200 Subject: [PATCH] s3: Add some debug to winbindd_sids_to_xids Signed-off-by: Jeremy Allison --- source3/winbindd/winbindd_sids_to_xids.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/source3/winbindd/winbindd_sids_to_xids.c b/source3/winbindd/winbindd_sids_to_xids.c index 7dc95af5922..52d473b58f8 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; inum_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; -- 2.11.4.GIT