]> git.ipfire.org Git - thirdparty/openldap.git/log
thirdparty/openldap.git
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

4 years agoITS#9332 add placeholder in LDAP_LDO_TLS_NULLARG
Howard Chu [Tue, 1 Sep 2020 19:21:22 +0000 (20:21 +0100)] 
ITS#9332 add placeholder in LDAP_LDO_TLS_NULLARG

4 years agoITS#9282
Quanah Gibson-Mount [Mon, 31 Aug 2020 20:02:16 +0000 (20:02 +0000)] 
ITS#9282

4 years agoITS#9282 more for merge_state
Howard Chu [Mon, 31 Aug 2020 19:09:52 +0000 (20:09 +0100)] 
ITS#9282 more for merge_state

Don't assume si_cookieState is always newer

4 years agoITS#9282 fix crash in nonpresent_callback
Howard Chu [Mon, 31 Aug 2020 18:36:10 +0000 (19:36 +0100)] 
ITS#9282 fix crash in nonpresent_callback

In a standard Refresh present phase, the provider sends no cookie
since it is only listing the entries that existed as of the time
in the cookie the consumer sent. In this case the consumer only
needs to check entryCSNs against its last sent cookie.

4 years agoITS#9323 - require openssl 1.0.2 or later
Quanah Gibson-Mount [Mon, 31 Aug 2020 19:33:56 +0000 (19:33 +0000)] 
ITS#9323 - require openssl 1.0.2 or later

4 years agoRegenerate for ITS#9323 require openssl 1.0.2 or later
Quanah Gibson-Mount [Mon, 31 Aug 2020 19:33:16 +0000 (19:33 +0000)] 
Regenerate for ITS#9323 require openssl 1.0.2 or later

4 years agoUpdate to require OpenSSL 1.0.2 or later
Quanah Gibson-Mount [Mon, 31 Aug 2020 17:32:04 +0000 (17:32 +0000)] 
Update to require OpenSSL 1.0.2 or later

4 years agoReturn to release engineering
Quanah Gibson-Mount [Fri, 28 Aug 2020 17:46:27 +0000 (17:46 +0000)] 
Return to release engineering

4 years agoPrep for release (2.4.52) OPENLDAP_REL_ENG_2_4_52
Quanah Gibson-Mount [Fri, 28 Aug 2020 16:10:00 +0000 (16:10 +0000)] 
Prep for release (2.4.52)

4 years agoITS#9054, #9318 document new TLS options in slapd
Howard Chu [Fri, 28 Aug 2020 10:08:17 +0000 (11:08 +0100)] 
ITS#9054, #9318 document new TLS options in slapd

4 years agoITS#9135
Quanah Gibson-Mount [Fri, 28 Aug 2020 01:31:14 +0000 (01:31 +0000)] 
ITS#9135

4 years agoITS#9135 fix index error on collapsed range
Howard Chu [Thu, 13 Aug 2020 17:17:45 +0000 (18:17 +0100)] 
ITS#9135 fix index error on collapsed range

4 years agoITS#9282 - Fix hard coded backend
Quanah Gibson-Mount [Thu, 27 Aug 2020 15:16:38 +0000 (15:16 +0000)] 
ITS#9282 - Fix hard coded backend

4 years agoITS#9054 fix typo
Howard Chu [Thu, 27 Aug 2020 10:22:12 +0000 (11:22 +0100)] 
ITS#9054 fix typo

4 years agoITS#9328
Quanah Gibson-Mount [Wed, 26 Aug 2020 21:39:01 +0000 (21:39 +0000)] 
ITS#9328

4 years agoITS#9328 cldap: check for error on connected socket
Howard Chu [Wed, 26 Aug 2020 12:22:52 +0000 (13:22 +0100)] 
ITS#9328 cldap: check for error on connected socket

libldap doesn't use a connected socket for UDP sessions, but 3rd
parties can, passed in with ldap_init_fd().

4 years agoFix missing getopt check for the argument "N"
Quanah Gibson-Mount [Wed, 26 Aug 2020 21:28:48 +0000 (21:28 +0000)] 
Fix missing getopt check for the argument "N"

4 years agoITS#9329 Re-fix merge_state
Howard Chu [Wed, 26 Aug 2020 19:17:41 +0000 (20:17 +0100)] 
ITS#9329 Re-fix merge_state

A bit uglier but more straightforward.

4 years agoITS#9249
Quanah Gibson-Mount [Wed, 26 Aug 2020 15:02:53 +0000 (15:02 +0000)] 
ITS#9249

4 years agoITS#9249 librewrite: fix malloc/free corruption
Howard Chu [Sat, 22 Aug 2020 11:38:10 +0000 (12:38 +0100)] 
ITS#9249 librewrite: fix malloc/free corruption

If substitution parsing fails, would attempt to free a mapping
that hadn't been allocated yet.

Also, on failure, caller in saslauthz would attempt to free a
rwinfo struct that hadn't been allocated.

4 years agoITS#9329
Quanah Gibson-Mount [Tue, 25 Aug 2020 21:54:17 +0000 (21:54 +0000)] 
ITS#9329

4 years agoITS#9329 syncrepl: fix regression from ITS#9282
Howard Chu [Tue, 25 Aug 2020 13:39:35 +0000 (14:39 +0100)] 
ITS#9329 syncrepl: fix regression from ITS#9282

4 years agoITS#9324
Quanah Gibson-Mount [Tue, 25 Aug 2020 20:08:26 +0000 (20:08 +0000)] 
ITS#9324

4 years agoITS#9324 syncrepl: don't wait forever in Refresh mode
Howard Chu [Sat, 22 Aug 2020 09:45:02 +0000 (10:45 +0100)] 
ITS#9324 syncrepl: don't wait forever in Refresh mode

Just poll for available data, same as Persist mode.
Clarify retry/return states from do_syncrep2

4 years agoITS#9318, ITS#9054
Quanah Gibson-Mount [Mon, 24 Aug 2020 15:18:20 +0000 (15:18 +0000)] 
ITS#9318, ITS#9054

4 years agoITS#9054, #9318 add new TLS options to slapd bindconf
Howard Chu [Fri, 21 Aug 2020 19:06:56 +0000 (20:06 +0100)] 
ITS#9054, #9318 add new TLS options to slapd bindconf

For use with back-ldap/back-meta/syncrepl/etc

4 years agoITS#9318 add TLS_REQSAN option
Howard Chu [Fri, 21 Aug 2020 08:15:15 +0000 (09:15 +0100)] 
ITS#9318 add TLS_REQSAN option

Add an option to specify how subjectAlternativeNames should be
handled when validating the names in a server certificate.

4 years agoITS#9054 Add support for multiple EECDH curves
Howard Chu [Thu, 20 Aug 2020 14:07:55 +0000 (15:07 +0100)] 
ITS#9054 Add support for multiple EECDH curves

Requires OpenSSL 1.0.2 or newer

4 years agoITS#7595 more for LDAP_OPT_X_TLS_ECNAME
Howard Chu [Mon, 9 Sep 2013 18:41:28 +0000 (11:41 -0700)] 
ITS#7595 more for LDAP_OPT_X_TLS_ECNAME

Update ldap_get_option(3) for LDAP_OPT_X_TLS_ECNAME

4 years agoReturn to release-engineering for 2.4.52
Quanah Gibson-Mount [Wed, 12 Aug 2020 05:02:55 +0000 (05:02 +0000)] 
Return to release-engineering for 2.4.52

4 years agoOpenLDAP 2.4.51 release OPENLDAP_REL_ENG_2_4_51
Quanah Gibson-Mount [Tue, 11 Aug 2020 18:33:20 +0000 (18:33 +0000)] 
OpenLDAP 2.4.51 release

4 years agoMerge remote-tracking branch 'origin/mdb.RE/0.9' into OPENLDAP_REL_ENG_2_4
Quanah Gibson-Mount [Tue, 11 Aug 2020 18:28:58 +0000 (18:28 +0000)] 
Merge remote-tracking branch 'origin/mdb.RE/0.9' into OPENLDAP_REL_ENG_2_4

4 years agoRelease 0.9.26 LMDB_0.9.26
Quanah Gibson-Mount [Tue, 11 Aug 2020 18:24:07 +0000 (18:24 +0000)] 
Release 0.9.26

4 years agoITS#9309 fix exit status on prev commit
Howard Chu [Mon, 10 Aug 2020 22:18:48 +0000 (23:18 +0100)] 
ITS#9309 fix exit status on prev commit

4 years agoITS#9309 test rejection of redundant ppolicy config
Howard Chu [Mon, 10 Aug 2020 22:08:37 +0000 (23:08 +0100)] 
ITS#9309 test rejection of redundant ppolicy config

4 years agoITS#9309
Quanah Gibson-Mount [Mon, 10 Aug 2020 16:06:40 +0000 (16:06 +0000)] 
ITS#9309

4 years agoFor ITS#9309 fix check for duplicate overlays
Howard Chu [Mon, 10 Aug 2020 15:40:54 +0000 (16:40 +0100)] 
For ITS#9309 fix check for duplicate overlays

and pass error message back to frontend

4 years agoITS#9309 don't allow ppolicy to be configured more than once on a backend
Howard Chu [Mon, 10 Aug 2020 15:07:39 +0000 (16:07 +0100)] 
ITS#9309 don't allow ppolicy to be configured more than once on a backend

4 years agoITS#9279 - Add draft for vchu-ldap-pwd-policy
Quanah Gibson-Mount [Fri, 7 Aug 2020 21:39:19 +0000 (21:39 +0000)] 
ITS#9279 - Add draft for vchu-ldap-pwd-policy

4 years agoITS#9263
Quanah Gibson-Mount [Fri, 7 Aug 2020 01:41:01 +0000 (01:41 +0000)] 
ITS#9263

4 years agoITS#7344 fix test064-constraint
Howard Chu [Fri, 7 Aug 2020 01:30:38 +0000 (02:30 +0100)] 
ITS#7344 fix test064-constraint

Remove bash-isms

4 years agoFix previous commit on CHANGES for ITS#9308 to correct location
Quanah Gibson-Mount [Wed, 5 Aug 2020 23:44:11 +0000 (23:44 +0000)] 
Fix previous commit on CHANGES for ITS#9308 to correct location

4 years agoITS#9308
Quanah Gibson-Mount [Wed, 5 Aug 2020 23:08:34 +0000 (23:08 +0000)] 
ITS#9308

4 years agoITS#9308 - ensure "i" is initialized
Quanah Gibson-Mount [Wed, 5 Aug 2020 23:06:49 +0000 (23:06 +0000)] 
ITS#9308 - ensure "i" is initialized

4 years agoITS#9279 test Netscape password expiration controls
Howard Chu [Fri, 31 Jul 2020 00:38:48 +0000 (01:38 +0100)] 
ITS#9279 test Netscape password expiration controls

and do some LDIF cleanup

5 years agoITS#9279 Handle Netscape controls in client tools
Howard Chu [Fri, 31 Jul 2020 00:01:39 +0000 (01:01 +0100)] 
ITS#9279 Handle Netscape controls in client tools

5 years agoITS#9279 Netscape passwordExp controls came from draft-vchu-ldap-pwd-policy
Howard Chu [Thu, 30 Jul 2020 17:12:09 +0000 (18:12 +0100)] 
ITS#9279 Netscape passwordExp controls came from draft-vchu-ldap-pwd-policy

5 years agoITS#9279 fix Netscape password_expired control
Howard Chu [Thu, 30 Jul 2020 16:28:06 +0000 (17:28 +0100)] 
ITS#9279 fix Netscape password_expired control

5 years agoITS#9302
Quanah Gibson-Mount [Thu, 30 Jul 2020 22:10:19 +0000 (22:10 +0000)] 
ITS#9302

5 years agoITS#9302 fix pwdFailireTime mutex scope
Howard Chu [Thu, 30 Jul 2020 16:53:25 +0000 (17:53 +0100)] 
ITS#9302 fix pwdFailireTime mutex scope

5 years agoITS#9302 ppolicy: avoid pwdFailureTime race condition
Arvid Requate [Fri, 24 Jul 2020 19:23:20 +0000 (21:23 +0200)] 
ITS#9302 ppolicy: avoid pwdFailureTime race condition

5 years agoITS#9294, ITS#9295
Quanah Gibson-Mount [Wed, 29 Jul 2020 22:40:46 +0000 (22:40 +0000)] 
ITS#9294, ITS#9295

5 years agoITS#9295 use replace on single-valued attrs
Howard Chu [Wed, 29 Jul 2020 15:15:11 +0000 (16:15 +0100)] 
ITS#9295 use replace on single-valued attrs

For delta-sync as well as regular sync

5 years agoITS#9279 Send Netscape expired control as a bare string
Ondřej Kuzník [Mon, 27 Jul 2020 11:53:00 +0000 (13:53 +0200)] 
ITS#9279 Send Netscape expired control as a bare string

5 years agoMerge remote-tracking branch 'origin/mdb.RE/0.9' into OPENLDAP_REL_ENG_2_4
Quanah Gibson-Mount [Thu, 23 Jul 2020 21:59:26 +0000 (21:59 +0000)] 
Merge remote-tracking branch 'origin/mdb.RE/0.9' into OPENLDAP_REL_ENG_2_4