From 159938d734eebe2672652d69ab7cd68d1c1109c0 Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Wed, 30 May 2007 22:40:26 +0000 Subject: r23253: Add some debugging output. (This used to be commit bd90573fbb3ff243f343fcfc61b6228aa70b13e3) --- source3/nsswitch/winbindd_ads.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'source3/nsswitch/winbindd_ads.c') diff --git a/source3/nsswitch/winbindd_ads.c b/source3/nsswitch/winbindd_ads.c index 6aa0947ffc..a62a436f78 100644 --- a/source3/nsswitch/winbindd_ads.c +++ b/source3/nsswitch/winbindd_ads.c @@ -1014,11 +1014,16 @@ static NTSTATUS lookup_groupmem(struct winbindd_domain *domain, (*num_names)++; } else { + DEBUG(10, ("ads: lookup_groupmem: sid %s not found in cache\n", + sid_string_static(&sid))); sid_copy(&(sid_mem_nocache)[num_nocache], &sid); num_nocache++; } } - + + DEBUG(10, ("ads: lookup_groupmem: %d sids found in cache, " + "%d left for lsa_lookupsids\n", *num_names, num_nocache)); + /* handle sids not resolved from cache by lsa_lookup_sids */ if (num_nocache > 0) { -- cgit