]> git.ipfire.org Git - thirdparty/openldap.git/log
thirdparty/openldap.git
4 years agoITS#9424 fix serialNumberAndIssuerSerialCheck
Howard Chu [Mon, 14 Dec 2020 19:03:27 +0000 (19:03 +0000)] 
ITS#9424 fix serialNumberAndIssuerSerialCheck

4 years agoITS#9423
Quanah Gibson-Mount [Tue, 15 Dec 2020 21:24:13 +0000 (21:24 +0000)] 
ITS#9423

4 years agoITS#9423 ldap_X509dn2bv: check for invalid BER after RDN count
Howard Chu [Sun, 13 Dec 2020 21:48:45 +0000 (21:48 +0000)] 
ITS#9423 ldap_X509dn2bv: check for invalid BER after RDN count

4 years agoPrevent forks of release branches from triggering CI/CD when pushed. All work in...
Quanah Gibson-Mount [Tue, 8 Dec 2020 17:54:21 +0000 (17:54 +0000)] 
Prevent forks of release branches from triggering CI/CD when pushed. All work in forks should be done in a non-release branch

4 years agoITS#9420
Quanah Gibson-Mount [Tue, 8 Dec 2020 17:10:21 +0000 (17:10 +0000)] 
ITS#9420

4 years agoITS#9420 - Fix memory leak in modrdn
Quanah Gibson-Mount [Tue, 8 Dec 2020 16:05:35 +0000 (16:05 +0000)] 
ITS#9420 - Fix memory leak in modrdn

Fix provided by grapvar@gmail.com

4 years agoITS#9416 more componentFilterMatch garbage
Howard Chu [Thu, 3 Dec 2020 19:30:53 +0000 (19:30 +0000)] 
ITS#9416 more componentFilterMatch garbage

4 years agoITS#9417
Quanah Gibson-Mount [Tue, 8 Dec 2020 00:11:06 +0000 (00:11 +0000)] 
ITS#9417

4 years agoITS #9417 ldapexop exit with correct rc value
Ding Fei [Fri, 4 Dec 2020 03:11:04 +0000 (11:11 +0800)] 
ITS #9417 ldapexop exit with correct rc value

`rc` collects exit status all the way down but is not used at all? If `code`
comparison at exit is intended then there exists some path that leaves it in
garbage value, say when `ldap_whoami` or `ldap_cancel` fails.

4 years agoITS#9394
Quanah Gibson-Mount [Wed, 2 Dec 2020 22:10:14 +0000 (22:10 +0000)] 
ITS#9394

4 years agoITS#9413 fix slap_parse_user
Howard Chu [Tue, 1 Dec 2020 19:03:24 +0000 (19:03 +0000)] 
ITS#9413 fix slap_parse_user

4 years agoITS#9014
Quanah Gibson-Mount [Wed, 2 Dec 2020 21:47:36 +0000 (21:47 +0000)] 
ITS#9014

4 years agoITS#9014 fix component match parsing errors
Howard Chu [Tue, 1 Dec 2020 21:29:19 +0000 (21:29 +0000)] 
ITS#9014 fix component match parsing errors

4 years agoITS#9412
Quanah Gibson-Mount [Wed, 2 Dec 2020 21:44:30 +0000 (21:44 +0000)] 
ITS#9412

4 years agoITS#9412 fix AVA_Sort on invalid RDN
Howard Chu [Tue, 1 Dec 2020 18:32:35 +0000 (18:32 +0000)] 
ITS#9412 fix AVA_Sort on invalid RDN

4 years agoITS#9411
Quanah Gibson-Mount [Wed, 2 Dec 2020 21:43:30 +0000 (21:43 +0000)] 
ITS#9411

4 years agoITS#9411 fix thisUpdate check
Howard Chu [Tue, 1 Dec 2020 18:02:51 +0000 (18:02 +0000)] 
ITS#9411 fix thisUpdate check

4 years agoITS#9410
Quanah Gibson-Mount [Wed, 2 Dec 2020 21:40:17 +0000 (21:40 +0000)] 
ITS#9410

4 years agoITS#9410 remove assert in csnValidate
Howard Chu [Mon, 30 Nov 2020 16:42:17 +0000 (16:42 +0000)] 
ITS#9410 remove assert in csnValidate

4 years agoITS#9409
Quanah Gibson-Mount [Wed, 2 Dec 2020 21:39:11 +0000 (21:39 +0000)] 
ITS#9409

4 years agoITS#9409 saslauthz: use slap_sl_free in prev commit
Howard Chu [Mon, 30 Nov 2020 16:20:18 +0000 (16:20 +0000)] 
ITS#9409 saslauthz: use slap_sl_free in prev commit

4 years agoITS#9409 saslauthz: use ch_free on normalized DN
Howard Chu [Mon, 30 Nov 2020 11:45:46 +0000 (11:45 +0000)] 
ITS#9409 saslauthz: use ch_free on normalized DN

4 years agoITS#9408
Quanah Gibson-Mount [Wed, 2 Dec 2020 21:36:59 +0000 (21:36 +0000)] 
ITS#9408

4 years agoITS#9408 fix vrfilter double-free
Howard Chu [Sat, 28 Nov 2020 15:54:17 +0000 (15:54 +0000)] 
ITS#9408 fix vrfilter double-free

4 years agoITS#9406, ITS#9407
Quanah Gibson-Mount [Wed, 2 Dec 2020 21:35:35 +0000 (21:35 +0000)] 
ITS#9406, ITS#9407

4 years agoITS#9406 fix debug msg
Howard Chu [Fri, 27 Nov 2020 14:48:26 +0000 (14:48 +0000)] 
ITS#9406 fix debug msg

4 years agoITS#9406, #9407 remove saslauthz asserts
Howard Chu [Fri, 27 Nov 2020 14:37:10 +0000 (14:37 +0000)] 
ITS#9406, #9407 remove saslauthz asserts

4 years agoITS#9404
Quanah Gibson-Mount [Wed, 2 Dec 2020 21:32:31 +0000 (21:32 +0000)] 
ITS#9404

4 years agoITS#9404 fix serialNumberAndIssuerCheck
Howard Chu [Mon, 23 Nov 2020 17:14:00 +0000 (17:14 +0000)] 
ITS#9404 fix serialNumberAndIssuerCheck

Tighten validity checks

4 years agoITS#9400
Quanah Gibson-Mount [Wed, 2 Dec 2020 21:31:02 +0000 (21:31 +0000)] 
ITS#9400

4 years agoITS#9400 back-ldap: fix prev commit
Howard Chu [Tue, 24 Nov 2020 16:08:29 +0000 (16:08 +0000)] 
ITS#9400 back-ldap: fix prev commit

4 years agoITS#9400 back-ldap: fix retry binds
Howard Chu [Mon, 23 Nov 2020 05:14:30 +0000 (05:14 +0000)] 
ITS#9400 back-ldap: fix retry binds

Regression from fix for ITS#7403

4 years agoITS#9391
Quanah Gibson-Mount [Wed, 2 Dec 2020 21:27:39 +0000 (21:27 +0000)] 
ITS#9391

4 years agoITS#9391 remove asserts in UUIDNormalize()
Howard Chu [Wed, 11 Nov 2020 18:24:31 +0000 (18:24 +0000)] 
ITS#9391 remove asserts in UUIDNormalize()

4 years agoITS#9394 syncprov: ignore duplicate sessionlog entries
Howard Chu [Tue, 17 Nov 2020 00:31:56 +0000 (00:31 +0000)] 
ITS#9394 syncprov: ignore duplicate sessionlog entries

4 years agoReturn to release engineering
Quanah Gibson-Mount [Tue, 10 Nov 2020 19:26:34 +0000 (19:26 +0000)] 
Return to release engineering

4 years agoPrep for release (2.4.56) OPENLDAP_REL_ENG_2_4_56
Quanah Gibson-Mount [Tue, 10 Nov 2020 18:22:13 +0000 (18:22 +0000)] 
Prep for release (2.4.56)

4 years agoITS#9379 - Fix prev commit for RE24 debug statement styling
Quanah Gibson-Mount [Mon, 2 Nov 2020 16:50:09 +0000 (16:50 +0000)] 
ITS#9379 - Fix prev commit for RE24 debug statement styling

4 years agoITS#9379, ITS#9383, ITS#9384
Quanah Gibson-Mount [Mon, 2 Nov 2020 16:12:49 +0000 (16:12 +0000)] 
ITS#9379, ITS#9383, ITS#9384

4 years agoITS#9379 reject listener URLs with non-empty DNs
Howard Chu [Wed, 28 Oct 2020 16:50:23 +0000 (16:50 +0000)] 
ITS#9379 reject listener URLs with non-empty DNs

4 years agoITS#9383 remove assert in certificateListValidate
Howard Chu [Mon, 2 Nov 2020 13:12:10 +0000 (13:12 +0000)] 
ITS#9383 remove assert in certificateListValidate

4 years agoITS#9384 remove assert in obsolete csnNormalize23()
Howard Chu [Mon, 2 Nov 2020 16:01:14 +0000 (16:01 +0000)] 
ITS#9384 remove assert in obsolete csnNormalize23()

4 years agoReturn to RE
Quanah Gibson-Mount [Mon, 26 Oct 2020 20:37:20 +0000 (20:37 +0000)] 
Return to RE

4 years agoMerge remote-tracking branch 'origin/mdb.RE/0.9' into OPENLDAP_REL_ENG_2_4 OPENLDAP_REL_ENG_2_4_55
Quanah Gibson-Mount [Mon, 26 Oct 2020 19:02:25 +0000 (19:02 +0000)] 
Merge remote-tracking branch 'origin/mdb.RE/0.9' into OPENLDAP_REL_ENG_2_4

4 years agoPrepare for release (0.9.27) LMDB_0.9.27
Quanah Gibson-Mount [Mon, 26 Oct 2020 19:00:40 +0000 (19:00 +0000)] 
Prepare for release (0.9.27)

4 years agoPrepare for release (2.4.55)
Quanah Gibson-Mount [Mon, 26 Oct 2020 18:59:30 +0000 (18:59 +0000)] 
Prepare for release (2.4.55)

4 years agoITS#9366
Quanah Gibson-Mount [Fri, 23 Oct 2020 22:41:27 +0000 (22:41 +0000)] 
ITS#9366

4 years agoITS#9366 Check ldap_install_tls return and remove connection if failed
Ondřej Kuzník [Mon, 12 Oct 2020 10:09:03 +0000 (11:09 +0100)] 
ITS#9366 Check ldap_install_tls return and remove connection if failed

4 years agoITS#9376
Howard Chu [Fri, 23 Oct 2020 19:38:14 +0000 (20:38 +0100)] 
ITS#9376

4 years agoITS#9376 Fixes for repeated deletes with xcursor
Howard Chu [Wed, 21 Oct 2020 20:24:53 +0000 (21:24 +0100)] 
ITS#9376 Fixes for repeated deletes with xcursor

On DUPSORT DBs, must initialize xcursor regardless of whether
caller requested its data. Also in cursor_prev must check whether
cursor index is still within range before using it.

4 years agoITS#9370
Quanah Gibson-Mount [Thu, 22 Oct 2020 16:33:30 +0000 (16:33 +0000)] 
ITS#9370

4 years agoITS#9370 check for equality rule on old_rdn
Howard Chu [Mon, 19 Oct 2020 13:03:41 +0000 (14:03 +0100)] 
ITS#9370 check for equality rule on old_rdn

Just skip normalization if there's no equality rule. We accept
DNs without equality rules already.

4 years agoITS#8731, ITS#9368
Quanah Gibson-Mount [Fri, 16 Oct 2020 15:06:08 +0000 (15:06 +0000)] 
ITS#8731, ITS#9368

4 years agoITS#8731 General Debug() related fixes
Ondřej Kuzník [Mon, 11 Sep 2017 13:26:45 +0000 (13:26 +0000)] 
ITS#8731 General Debug() related fixes

4 years agoReturn to Release Engineering
Quanah Gibson-Mount [Mon, 12 Oct 2020 20:08:29 +0000 (20:08 +0000)] 
Return to Release Engineering

4 years agoPrep for 2.4.54 release OPENLDAP_REL_ENG_2_4_54
Quanah Gibson-Mount [Mon, 12 Oct 2020 18:27:28 +0000 (18:27 +0000)] 
Prep for 2.4.54 release

4 years agoCleanup uninit'd vars
Howard Chu [Tue, 1 Aug 2017 20:47:15 +0000 (21:47 +0100)] 
Cleanup uninit'd vars

4 years agoITS#9361
Quanah Gibson-Mount [Fri, 2 Oct 2020 22:16:42 +0000 (22:16 +0000)] 
ITS#9361

4 years agoITS#9361 prevent CSN from being generated for purge deletes
Howard Chu [Fri, 2 Oct 2020 12:25:52 +0000 (13:25 +0100)] 
ITS#9361 prevent CSN from being generated for purge deletes

4 years agoITS#8486 Switch sessionlog to use TAVL
Ondřej Kuzník [Thu, 26 Oct 2017 11:00:20 +0000 (12:00 +0100)] 
ITS#8486 Switch sessionlog to use TAVL

4 years agoITS#9342 delta-sync ignore add of already existing entry
Howard Chu [Thu, 1 Oct 2020 13:26:48 +0000 (14:26 +0100)] 
ITS#9342 delta-sync ignore add of already existing entry

if the entryCSN is older. Previous patch breaks if writes are
received out of order, e.g. during a refresh.

4 years agoITS#9295
Quanah Gibson-Mount [Wed, 30 Sep 2020 21:59:00 +0000 (21:59 +0000)] 
ITS#9295

4 years agoITS#9359
Quanah Gibson-Mount [Wed, 30 Sep 2020 21:57:05 +0000 (21:57 +0000)] 
ITS#9359

4 years agoITS#9295 Do not replace 'op'
Ondřej Kuzník [Wed, 30 Sep 2020 18:31:40 +0000 (19:31 +0100)] 
ITS#9295 Do not replace 'op'

4 years agoITS#9359 Do not create an empty add
Ondřej Kuzník [Wed, 30 Sep 2020 18:25:56 +0000 (19:25 +0100)] 
ITS#9359 Do not create an empty add

4 years agoITS#9359 Adjust test to trigger issue
Ondřej Kuzník [Wed, 30 Sep 2020 18:25:26 +0000 (19:25 +0100)] 
ITS#9359 Adjust test to trigger issue

4 years agoITS#9342 delta-sync: ignore add if entryCSN is too old
Howard Chu [Wed, 30 Sep 2020 09:15:36 +0000 (10:15 +0100)] 
ITS#9342 delta-sync: ignore add if entryCSN is too old

This check is only needed for ops received without a CSN in their cookie.
This only occurs when the ops completed out of order on the provider.

4 years agoITS#9358
Quanah Gibson-Mount [Wed, 30 Sep 2020 15:52:37 +0000 (15:52 +0000)] 
ITS#9358

4 years agoITS#9358 Fix reqStart normalizer
Howard Chu [Tue, 29 Sep 2020 07:22:55 +0000 (08:22 +0100)] 
ITS#9358 Fix reqStart normalizer

Don't truncate trailing zeroes in reqStart/reqEnd timestamps

4 years agoITS#9355
Quanah Gibson-Mount [Wed, 23 Sep 2020 15:08:40 +0000 (15:08 +0000)] 
ITS#9355

4 years agoITS#9355 Propagate errors from overlay_entry_get_ov
Ondřej Kuzník [Wed, 23 Sep 2020 07:17:56 +0000 (08:17 +0100)] 
ITS#9355 Propagate errors from overlay_entry_get_ov

4 years agoITS#8102 syncrepl: only use trylock on the cn=config DB
Howard Chu [Tue, 22 Sep 2020 11:18:52 +0000 (12:18 +0100)] 
ITS#8102 syncrepl: only use trylock on the cn=config DB

4 years agoITS#9353
Quanah Gibson-Mount [Mon, 21 Sep 2020 15:35:11 +0000 (15:35 +0000)] 
ITS#9353

4 years agoITS#9353 fix monitor_back_register_database for empty suffix DB
Howard Chu [Sun, 20 Sep 2020 15:27:34 +0000 (16:27 +0100)] 
ITS#9353 fix monitor_back_register_database for empty suffix DB

Use the correct database entry instead of the frontendDB entry

4 years agoITS#9352
Quanah Gibson-Mount [Thu, 17 Sep 2020 20:05:19 +0000 (20:05 +0000)] 
ITS#9352

4 years agoITS#9352 syncrepl: fix syncrepl_op_modify on entry with no entryCSN
Howard Chu [Thu, 17 Sep 2020 19:18:20 +0000 (20:18 +0100)] 
ITS#9352 syncrepl: fix syncrepl_op_modify on entry with no entryCSN

4 years agoITS#9015, ITS#9345
Quanah Gibson-Mount [Wed, 16 Sep 2020 21:03:14 +0000 (21:03 +0000)] 
ITS#9015, ITS#9345

4 years agoITS#9015 syncprov: fix for zero-length suffix
Howard Chu [Mon, 14 Sep 2020 23:35:52 +0000 (00:35 +0100)] 
ITS#9015 syncprov: fix for zero-length suffix

If the "" glue entry exists and lacks a contextCSN, must perform
an additional search to be sure the DB is otherwise empty. If so,
skip creating the contextCSN.

4 years agoITS#9345 syncrepl: call check_syncprov on freshly started consumer
Howard Chu [Sat, 12 Sep 2020 20:38:20 +0000 (21:38 +0100)] 
ITS#9345 syncrepl: call check_syncprov on freshly started consumer

4 years agoFix typo in prev commit
Quanah Gibson-Mount [Tue, 15 Sep 2020 15:06:50 +0000 (15:06 +0000)] 
Fix typo in prev commit

4 years agoITS#8102, #9330 partially revert
Howard Chu [Thu, 10 Sep 2020 14:15:52 +0000 (15:15 +0100)] 
ITS#8102, #9330 partially revert

Fix a regression in delta-sync, was returning error on old
CSNs instead of ignoring them

4 years agoITS#9043 Only print sessionlog entries we think will apply
Ondřej Kuzník [Thu, 10 Sep 2020 12:22:01 +0000 (13:22 +0100)] 
ITS#9043 Only print sessionlog entries we think will apply

4 years agoITS#9043 tweak syncprov playlog logging
Howard Chu [Wed, 9 Sep 2020 16:30:23 +0000 (17:30 +0100)] 
ITS#9043 tweak syncprov playlog logging

Don't log cookiecsn at top, it was already logged on receipt.
Only log the "srs csn" and "too old" message once for each sid.
Fix log output for empty UUID.

4 years agoITS#9330, ITS#9342, ITS#8102
Quanah Gibson-Mount [Wed, 9 Sep 2020 16:45:59 +0000 (16:45 +0000)] 
ITS#9330, ITS#9342, ITS#8102

4 years agoITS#8102 serialize plain syncrepl
Howard Chu [Wed, 9 Sep 2020 10:46:02 +0000 (11:46 +0100)] 
ITS#8102 serialize plain syncrepl

Using cs_pmutex. Reverts the addition of cs_modmutex in ITS#9330,
use cs_pmutex for both delta and plain writes.

Note that plain syncrepl already used cs_pmutex when a cookie CSN
was present in the op. Now it is used for all writes, regardless
of presence of cookie.

4 years agoITS#9342 delta-sync: ignore error if deleting an already deleted entry
Howard Chu [Tue, 8 Sep 2020 20:25:30 +0000 (21:25 +0100)] 
ITS#9342 delta-sync: ignore error if deleting an already deleted entry

4 years agoITS#9330 Fully serialize delta-sync
Howard Chu [Wed, 19 Aug 2020 15:37:46 +0000 (16:37 +0100)] 
ITS#9330 Fully serialize delta-sync

Don't depend on accesslog overlay's serialization

4 years agoReturn to release engineering
Quanah Gibson-Mount [Wed, 9 Sep 2020 15:46:21 +0000 (15:46 +0000)] 
Return to release engineering

4 years agoPrep for release (2.4.53) OPENLDAP_REL_ENG_2_4_53
Quanah Gibson-Mount [Mon, 7 Sep 2020 15:13:36 +0000 (15:13 +0000)] 
Prep for release (2.4.53)

4 years agoITS#9338
Quanah Gibson-Mount [Fri, 4 Sep 2020 22:14:04 +0000 (22:14 +0000)] 
ITS#9338

4 years agoITS#9338 add regression test
Howard Chu [Fri, 4 Sep 2020 18:44:06 +0000 (19:44 +0100)] 
ITS#9338 add regression test

4 years agoITS#9338 Add backlog control for testing slapd write waits
Howard Chu [Fri, 4 Sep 2020 16:49:38 +0000 (17:49 +0100)] 
ITS#9338 Add backlog control for testing slapd write waits

4 years agoITS#9338 syncrepl: Don't reuse existing connection on Refresh fallback
Howard Chu [Fri, 4 Sep 2020 12:39:00 +0000 (13:39 +0100)] 
ITS#9338 syncrepl: Don't reuse existing connection on Refresh fallback

4 years agoITS#9043
Quanah Gibson-Mount [Fri, 4 Sep 2020 13:45:47 +0000 (13:45 +0000)] 
ITS#9043

4 years agoITS#9043 Improve replication loggging
Ondřej Kuzník [Wed, 26 Jun 2019 10:22:58 +0000 (12:22 +0200)] 
ITS#9043 Improve replication loggging

4 years agoITS#9302, ITS#9334
Quanah Gibson-Mount [Thu, 3 Sep 2020 21:46:58 +0000 (21:46 +0000)] 
ITS#9302, ITS#9334

4 years agoITS#9334 slapo-ppolicy re-fix ITS#9302
Howard Chu [Thu, 3 Sep 2020 20:30:35 +0000 (21:30 +0100)] 
ITS#9334 slapo-ppolicy re-fix ITS#9302

The mutex_lock was being skipped in the lockout case,
but still calling mutex_unlock at the end.

4 years agoRevert "ITS#9282 Extend test to cover the second issue fixed"
Quanah Gibson-Mount [Wed, 2 Sep 2020 19:23:15 +0000 (19:23 +0000)] 
Revert "ITS#9282 Extend test to cover the second issue fixed"

This reverts commit 9f8a408c769067157f78bb8c2c932207afac1e1e.

It unfortunately relies on logging only available in 2.5 and later.

4 years agoITS#9282 Extend test to cover the second issue fixed
Ondřej Kuzník [Wed, 2 Sep 2020 15:51:03 +0000 (16:51 +0100)] 
ITS#9282 Extend test to cover the second issue fixed

4 years agoITS#9332
Quanah Gibson-Mount [Tue, 1 Sep 2020 19:46:03 +0000 (19:46 +0000)] 
ITS#9332