From 3d4d799eee88ad4226c18034fabb571fb91011e9 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Fri, 2 Jun 2006 23:58:02 +0000 Subject: r16016: Add debug to be symetrical with reading from cache. Jeremy. (This used to be commit da26565a2e85dc36b283f6b81378a706f3ae5f26) --- source3/passdb/lookup_sid.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'source3/passdb') diff --git a/source3/passdb/lookup_sid.c b/source3/passdb/lookup_sid.c index 751fa597c0..02b83f1965 100644 --- a/source3/passdb/lookup_sid.c +++ b/source3/passdb/lookup_sid.c @@ -1013,6 +1013,10 @@ void store_gid_sid_cache(const DOM_SID *psid, gid_t gid) pc->gid = gid; sid_copy(&pc->sid, psid); DLIST_ADD(gid_sid_cache_head, pc); + + DEBUG(3,("store_gid_sid_cache: gid %u in cache -> %s\n", (unsigned int)gid, + sid_string_static(psid))); + n_gid_sid_cache++; } -- cgit