1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00
samba-mirror/lib/ldb/ldb_tdb
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
..
ldb_tdb_err_map.c lib ldb: move key value code to lib/ldb/ldb_key_value 2018-07-30 14:31:54 +02:00
ldb_tdb_init.c ldb_tdb: Build a key value operation library 2018-03-06 01:39:16 +01:00
ldb_tdb_wrap.c ldb_tdb: Allow use of a TDB for ldb_tdb after as fork() 2018-05-09 04:29:48 +02:00
ldb_tdb.c ldb_kv: Avoid memdup of database records in the case of base searches 2019-04-11 04:17:11 +00:00
ldb_tdb.h lib ldb: move key value code to lib/ldb/ldb_key_value 2018-07-30 14:31:54 +02:00