summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2006-06-02 23:58:02 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:17:17 -0500
commit3d4d799eee88ad4226c18034fabb571fb91011e9 (patch)
tree8a70b730eed0d359e639e7c11ad5807f3860a8e9 /source3
parentd7dbf378250d1053758228ed8113716819c92493 (diff)
downloadsamba-3d4d799eee88ad4226c18034fabb571fb91011e9.tar.gz
samba-3d4d799eee88ad4226c18034fabb571fb91011e9.tar.bz2
samba-3d4d799eee88ad4226c18034fabb571fb91011e9.zip
r16016: Add debug to be symetrical with reading from
cache. Jeremy. (This used to be commit da26565a2e85dc36b283f6b81378a706f3ae5f26)
Diffstat (limited to 'source3')
-rw-r--r--source3/passdb/lookup_sid.c4
1 files changed, 4 insertions, 0 deletions
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++;
}