summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2011-04-12 13:32:20 +0200
committerJeremy Allison <jra@samba.org>2011-04-13 14:13:25 -0700
commit32bd64359c85fc90037c1bec0ea476bc6e9c185d (patch)
treefdb17980547b40c1d82e373e4db7902f44ff46a8
parentddfeccc6e40a3e8d8d84ef1b23f9ad3562a44db1 (diff)
downloadsamba-32bd64359c85fc90037c1bec0ea476bc6e9c185d.tar.gz
samba-32bd64359c85fc90037c1bec0ea476bc6e9c185d.tar.bz2
samba-32bd64359c85fc90037c1bec0ea476bc6e9c185d.zip
s3: Add some debug to winbindd_sids_to_xids
Signed-off-by: Jeremy Allison <jra@samba.org>
-rw-r--r--source3/winbindd/winbindd_sids_to_xids.c6
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;