analyzing full scan in samba
abartlet at samba.org
Tue Nov 23 17:00:26 MST 2010
On Tue, 2010-11-23 at 18:53 -0500, simo wrote:
> On Wed, 2010-11-24 at 00:32 +0300, Matthieu Patou wrote:
> > @@ -582,7 +582,10 @@ int ltdb_search(struct ltdb_context *ctx)
> > /* useful for debugging when slow
> > performance
> > * is caused by unindexed searches */
> > char *expression =
> > ldb_filter_from_tree(ctx, ctx->tree);
> > - ldb_debug(ldb, LDB_DEBUG_WARNING, "ldb
> > FULL SEARCH: %s\n", expression);
> > + ldb_debug(ldb, LDB_DEBUG_WARNING, "ldb
> > FULL SEARCH: %s BASE: %s\n",
> > + expression,
> > + ldb_dn_get_linearized(req->op.search.base));
> > +
> Are we sure LDB_DEBUG_WARNING is right here ?
> I would think LDB_DEBUG_TRACE is the right one.
It's correct, as it is only enabled when an environment variable is set,
specifically asking for this to be called to attention.
Andrew Bartlett http://samba.org/~abartlet/
Authentication Developer, Samba Team http://samba.org
Samba Developer, Cisco Inc.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 190 bytes
Desc: This is a digitally signed message part
More information about the samba-technical