From 0ea5d1fde7b64078844f07abf0aa370955d2a9f6 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sun, 9 May 2004 00:42:35 +0000 Subject: r596: log all ldb searches at level 4 in samdb (This used to be commit defaf0d817a7c207da59692245aa65bc30c9bd19) --- source4/rpc_server/samr/samdb.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source4/rpc_server/samr/samdb.c b/source4/rpc_server/samr/samdb.c index fc82303f13..d9c4c40008 100644 --- a/source4/rpc_server/samr/samdb.c +++ b/source4/rpc_server/samr/samdb.c @@ -120,6 +120,8 @@ int samdb_search_v(void *ctx, count = ldb_search(sam_ctx->ldb, basedn, LDB_SCOPE_SUBTREE, expr, attrs, res); + DEBUG(4,("samdb_search_v: %s %s -> %d\n", basedn?basedn:"NULL", expr, count)); + free(expr); return count; -- cgit