1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00
samba-mirror/lib/ldb
Gary Lockyer 705cf715f9 ldb_tdb: Make sure max_key_length != 0 requires a GUID index mode
We need to enforce the GUID index mode so end-users do not get a supprise
in mid-operation and we enforce a max key length of 511 so that the
index key trunctation is done correctly.

Otherwise the DB will appear to work until a very long key (DN or index)
is used, after which it will be sad.

Signed-off-by: Gary Lockyer <gary@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
2018-05-03 08:17:44 +02:00
..
ABI ldb: version 1.3.2 2018-02-28 04:54:21 +01:00
common ldb: Unwind transaction counter if start_transaction fails 2018-04-06 02:08:45 +02:00
docs
examples
include ldb ldb_index: Add an attriubute flag to require a unique value. 2017-12-10 00:47:29 +01: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_map lib:ldb: Add FALL_THROUGH statements in ldb_map/ldb_map_outbound.c 2018-03-01 04:37:41 +01:00
ldb_sqlite3 ldb: relatively efficient functions for finding duplicate values 2017-06-15 17:33:10 +02:00
ldb_tdb ldb_tdb: Make sure max_key_length != 0 requires a GUID index mode 2018-05-03 08:17:44 +02:00
man man pages: change http://samba.org to https://www.samba.org 2016-12-09 13:10:26 +01:00
modules ldb: Cope with a->name being * 2016-12-01 05:54:23 +01:00
nssldb
tests ldb/tests: don't use TEVENT_DEPRECATED in ldb_kv_ops_test.c 2018-05-03 08:17:44 +02:00
tools ldb: add LDB_FLG_DONT_CREATE_DB 2017-03-09 16:02:21 +01:00
web
_ldb_text.py pyldb: Split text/byte strings for compatibility with Python 3 2015-11-05 18:04:24 +01:00
configure
Doxyfile
examples.dox
ldb.pc.in
mainpage.dox
Makefile
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 lib/ldb: Additionally accept unicode as string param in Py2 2018-04-30 15:43:19 +02: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 tests: add cmocka tests of kv operations 2018-04-06 02:08:45 +02:00