summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2007-05-30 22:40:26 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:23:00 -0500
commit159938d734eebe2672652d69ab7cd68d1c1109c0 (patch)
treee35853417e9b2f8636773d2e418b0de448ca0130 /source3
parent55e50c8470af2beecc3244aa94247eed1d629fe6 (diff)
downloadsamba-159938d734eebe2672652d69ab7cd68d1c1109c0.tar.gz
samba-159938d734eebe2672652d69ab7cd68d1c1109c0.tar.bz2
samba-159938d734eebe2672652d69ab7cd68d1c1109c0.zip
r23253: Add some debugging output.
(This used to be commit bd90573fbb3ff243f343fcfc61b6228aa70b13e3)
Diffstat (limited to 'source3')
-rw-r--r--source3/nsswitch/winbindd_ads.c7
1 files changed, 6 insertions, 1 deletions
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) {