1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00
samba-mirror/lib
Andrew Bartlett ef240aaca0 ldb: Intersect the index from SCOPE_ONELEVEL with the index for the search expression
This helps ensure we do not have to scan all objects at this level
which could be very many (one per DNS zone entry).

However, due to the O(n*m) behaviour in list_intersect() for older
databases, we only do this in the GUID index mode, leaving the behaviour
unchanged for existing callers that do not specify the GUID index mode.

NOTE WELL: the behaviour of disallowDNFilter is enforced
in the index code, so this fixes SCOPE_ONELEVEL to also
honour disallowDNFilter, hence the additional tests.

The change to select the SUBTREE index in the absense of
the ONELEVEL index enforces this.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=13191

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
2017-12-20 04:22:09 +01:00
..
addns wscript: remove executable bits for all wscript* files 2017-01-11 20:21:01 +01:00
afs waf: add --with-fake-kaserver option 2014-06-04 20:09:38 +02:00
async_req lib/async_req/async_sock.c set socket close on exec 2017-12-18 04:38:19 +01:00
compression lib/compression/tests: add missing #include "torture/local/proto.h" 2014-04-02 09:03:44 +02:00
crypto lib/crypto: remove unused code 2017-11-22 10:20:20 +01:00
dbwrap dbwrap: Simplify dbwrap_unmarshall_fn 2017-08-16 00:27:10 +02:00
krb5_wrap krb5_wrap: ADDRTYPE_INET6 is available in all supported MIT versions 2017-10-11 08:30:13 +02:00
ldb ldb: Intersect the index from SCOPE_ONELEVEL with the index for the search expression 2017-12-20 04:22:09 +01:00
ldb-samba ldb-samba: use ldap enum instead of ldb enum 2017-11-22 10:20:20 +01:00
param docs-xml: remove unused "map untrusted to domain" option 2017-12-13 20:34:23 +01:00
pthreadpool pthreadpool: Fix deadlock 2017-12-13 04:46:12 +01:00
replace lib/replace: apply readline -Wstrict-prototypes workaround 2017-11-24 05:16:10 +01:00
smbconf Correct "occured" typos. 2017-02-22 08:26:21 +01:00
socket Add explicit dependency on samba-debug from libinterfaces and libserverrole. 2017-01-23 08:26:43 +01:00
talloc waf: disable-python - fix talloc wscript if bundling disabled 2017-08-01 03:59:24 +02:00
tdb tdb: version 1.3.15 2017-08-24 21:17:48 +02:00
tdb_wrap tdb_wrap: Use a struct initializer 2015-07-23 14:39:18 +02:00
tdr lib: Fix 1354521 Unchecked return value 2016-03-01 21:49:44 +01:00
tevent lib/async_req/async_sock.c set socket close on exec 2017-12-18 04:38:19 +01:00
texpect texpect: undefined symbol rep_fprintf 2015-10-22 14:28:17 +02:00
torture s4/torture: make --unclist active with smb2 testcases 2017-08-30 00:16:51 +02:00
tsocket tsocket: Do not dereference a NULL pointer 2016-06-30 02:53:01 +02:00
util lib: Allow parsing a strv from a non-talloc const buf 2017-11-29 16:59:16 +01:00
README build: Move nss_wrapper to third_party 2017-11-25 10:14:13 +01:00
wscript_build Remove 'external' python module support code - use the third_party directory instead. 2015-03-06 04:41:48 +01:00

compression - Various compression algorithms (MSZIP, lzxpress)
dnspython - Python module for working with DNS.
popt - Command-line option parsing library
replace - Provides replacements for standard (POSIX, C99) functions 
          not provided by the host platform.
subunit - Utilities and bindings for working with the Subunit test result 
          reporting protocol.
talloc - Hierarchical pool based memory allocator 
tdb - Simple but fast key/value database library, supporting multiple writers
torture - Simple unit testing helper library