summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2008-01-25 01:40:01 +0100
committerMichael Adam <obnox@samba.org>2008-01-25 01:42:22 +0100
commit60daaeeb3446729b7b668bb7a03a97bbf02ad20a (patch)
tree8f8238822209a2385c394fdcd6ea51b7f83359a7
parent9912f82067a4cb2e393eb81504fa4312ebfa0cd5 (diff)
downloadsamba-60daaeeb3446729b7b668bb7a03a97bbf02ad20a.tar.gz
samba-60daaeeb3446729b7b668bb7a03a97bbf02ad20a.tar.bz2
samba-60daaeeb3446729b7b668bb7a03a97bbf02ad20a.zip
Add a debug message: show the sid lookup_sid() was called for.
Michael (This used to be commit 6c7c6c3f85a4bd171c62031b2b8e59d3f7054061)
-rw-r--r--source3/passdb/lookup_sid.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/passdb/lookup_sid.c b/source3/passdb/lookup_sid.c
index 3c54cb56fe..c954c776b6 100644
--- a/source3/passdb/lookup_sid.c
+++ b/source3/passdb/lookup_sid.c
@@ -925,6 +925,8 @@ bool lookup_sid(TALLOC_CTX *mem_ctx, const DOM_SID *sid,
TALLOC_CTX *tmp_ctx;
bool ret = false;
+ DEBUG(10, ("lookup_sid called for SID '%s'\n", sid_string_dbg(sid)));
+
if (!(tmp_ctx = talloc_new(mem_ctx))) {
DEBUG(0, ("talloc_new failed\n"));
return false;