1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00
samba-mirror/lib/ldb
Garming Sam a76d286537 ldb_kv: Avoid memdup of database records in the case of base searches
This makes LDAP bind significantly faster in the case of having many
members, due to large size of these records (with tens of thousands of
member links). During the nested group calculation, you are only
interested in memberOf not the member links.

(We add a bit-field to determine whether or not the backend actually
supports pointing into database memory. For some reason TDB pointers
aren't stable, so for now we set this option just on LMDB backends.)

Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2019-04-11 04:17:11 +00:00
..
ABI ldb: version 2.0.0 2019-04-08 02:07:23 +00:00
common schema_syntax: Add comments for our index format functions 2019-04-08 02:07:23 +00:00
docs
examples
include ldb_kv: Avoid memdup of database records in the case of base searches 2019-04-11 04:17:11 +00:00
ldb_key_value ldb_kv: Avoid memdup of database records in the case of base searches 2019-04-11 04:17:11 +00:00
ldb_ldap ldb: allow a timeout of -1 result in no timeout timer at all. 2016-02-17 03:43:22 +01:00
ldb_ldb ldb: Add MDB support to ldb:// 2018-05-23 02:27:12 +02:00
ldb_map lib:ldb: Add FALL_THROUGH statements in ldb_map/ldb_map_outbound.c 2018-03-01 04:37:41 +01:00
ldb_mdb ldb_kv: Avoid memdup of database records in the case of base searches 2019-04-11 04:17:11 +00:00
ldb_sqlite3 CVE-2018-1140 ldb: Check for ldb_dn_get_casefold() failure in ldb_sqlite 2018-08-14 13:57:15 +02:00
ldb_tdb ldb_kv: Avoid memdup of database records in the case of base searches 2019-04-11 04:17:11 +00:00
man Spelling fixes s/overrided/overridden/ 2019-04-02 01:12:11 +00:00
modules paged results: new paged results module using GUID list 2018-12-21 07:21:19 +01:00
nssldb
tests ldb: tests for <= and >= integer indexing with duplicates 2019-04-08 02:07:23 +00:00
tools lib:ldb: Use C99 initializer for tdb_logging_context 2019-01-28 10:29:21 +01:00
web
_ldb_text.py ldb/tests/_ldb_text: remove unused imports 2018-10-25 21:45:55 +02:00
configure build: Move python detection back into waf (instead of in configure and Makefile) 2018-12-14 14:40:19 +01:00
Doxyfile
examples.dox
ldb.pc.in
mainpage.dox
Makefile Search for location of waf script 2019-02-26 10:39:24 +01:00
pyldb_util.c lib/ldb: Additionally accept unicode as string param in Py2 2018-04-30 15:43:19 +02:00
pyldb-util.pc.in lib/ldb: Enable use of a python3 pyldb-util system library 2017-03-10 07:31:10 +01:00
pyldb.c ldb: activating <= and >= indexing for integers 2019-04-08 02:07:23 +00:00
pyldb.h pyldb: protect PyErr_LDB_ERROR_IS_ERR_RAISE() with do {} while(0) 2016-11-23 16:53:28 +01:00
README_gcov.txt
wscript ldb: version 2.0.0 2019-04-08 02:07:23 +00:00