1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00
samba-mirror/lib/ldb
Andrew Bartlett 08c9016cb9 CVE-2021-3670 ldb: Confirm the request has not yet timed out in ldb filter processing
The LDB filter processing is where the time is spent in the LDB stack
but the timeout event will not get run while this is ongoing, so we
must confirm we have not yet timed out manually.

RN: Ensure that the LDB request has not timed out during filter processing
as the LDAP server MaxQueryDuration is otherwise not honoured.

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

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
(cherry picked from commit 1d5b155619)
2021-12-02 10:33:13 +00:00
..
ABI ldb: version 2.3.2 2021-11-02 21:47:27 +00:00
common ldb: improve comments for ldb_module_connect_backend() 2021-11-02 20:36:16 +00:00
docs
examples
include ldb.h: remove undefined async_ctx function signatures 2021-11-02 20:36:16 +00:00
ldb_key_value CVE-2021-3670 ldb: Confirm the request has not yet timed out in ldb filter processing 2021-12-02 10:33:13 +00:00
ldb_ldap ldb_ldap: Fix a memleak 2020-07-02 10:38:34 +00:00
ldb_ldb ldb: Add MDB support to ldb:// 2018-05-23 02:27:12 +02:00
ldb_map lib:ldb: Add missing break in switch statement 2021-11-02 20:36:16 +00:00
ldb_mdb Fix clang 9 parentheses-equality warnings 2020-05-08 09:31:31 +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 lib ldb key value backends: Add nested txn support 2019-06-21 04:27:12 +00:00
man Spelling fixes s/overrided/overridden/ 2019-04-02 01:12:11 +00:00
modules ldb/mod/paged_searches: cope with NULL control data 2020-06-13 05:25:31 +00:00
nssldb
tests pyldb: catch potential overflow error in py_timestring 2021-11-02 20:36:16 +00:00
tools lib:ldb-samba: Improve calculate_popt_array_length() 2021-11-02 20:36:16 +00: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 pyldb: rename pyldb_Dn_AsDn() to pyldb_Dn_AS_DN() 2019-07-10 04:32:13 +00: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 pyldb: fix a typo 2021-11-02 20:36:16 +00:00
pyldb.h pyldb: rename pyldb_Dn_AsDn() to pyldb_Dn_AS_DN() 2019-07-10 04:32:13 +00:00
README_gcov.txt
wscript ldb: version 2.3.2 2021-11-02 21:47:27 +00:00