analyzing full scan in samba
Andrew Bartlett
abartlet at samba.org
Tue Nov 23 14:56:59 MST 2010
On Wed, 2010-11-24 at 00:32 +0300, Matthieu Patou wrote:
> + ldb_debug(ldb, LDB_DEBUG_WARNING, "ldb
> FULL SEARCH: %s BASE: %s\n",
> + expression,
> + ldb_dn_get_linearized(req->op.search.base));
> +
Rather than hard-coding BASE here, please make it one of SUB, ONE or
BASE. That way, we can tell exactly what type of search this is (ONE
and BASE should not cause an indexed search).
Andrew Bartlett
--
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
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20101124/426b13f4/attachment.pgp>
More information about the samba-technical
mailing list