Add a debug message: show the sid lookup_sid() was called for.
authorMichael Adam <obnox@samba.org>
Fri, 25 Jan 2008 00:40:01 +0000 (01:40 +0100)
committerMichael Adam <obnox@samba.org>
Fri, 25 Jan 2008 00:42:22 +0000 (01:42 +0100)
Michael
(This used to be commit 6c7c6c3f85a4bd171c62031b2b8e59d3f7054061)

source3/passdb/lookup_sid.c

index 3c54cb56fe81afb38b559645b1d5b28fd0fe0268..c954c776b6a55ddb94ff572d0cbdd68bcfbc29e1 100644 (file)
@@ -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;