r23253: Add some debugging output.
authorMichael Adam <obnox@samba.org>
Wed, 30 May 2007 22:40:26 +0000 (22:40 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 17:23:00 +0000 (12:23 -0500)
(This used to be commit bd90573fbb3ff243f343fcfc61b6228aa70b13e3)

source3/nsswitch/winbindd_ads.c

index 6aa0947ffcd322458f8f7a2cb2175f9e87bb9a64..a62a436f788d2d85d4135507ba02f220ef09e657 100644 (file)
@@ -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) {