diff options
author | Andrew Tridgell <tridge@samba.org> | 2004-05-09 00:42:35 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:51:49 -0500 |
commit | 0ea5d1fde7b64078844f07abf0aa370955d2a9f6 (patch) | |
tree | 8a2d0b409ed65b8107c423ca8b12f4b0b40d475a | |
parent | 1d5c2c364e3fab4d10ccc3765cbb467095229b84 (diff) | |
download | samba-0ea5d1fde7b64078844f07abf0aa370955d2a9f6.tar.gz samba-0ea5d1fde7b64078844f07abf0aa370955d2a9f6.tar.bz2 samba-0ea5d1fde7b64078844f07abf0aa370955d2a9f6.zip |
r596: log all ldb searches at level 4 in samdb
(This used to be commit defaf0d817a7c207da59692245aa65bc30c9bd19)
-rw-r--r-- | source4/rpc_server/samr/samdb.c | 2 |
1 files changed, 2 insertions, 0 deletions
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; |