]> git.ipfire.org Git - thirdparty/openldap.git/log
thirdparty/openldap.git
8 months agoITS#10279
Quanah Gibson-Mount [Wed, 19 Feb 2025 18:28:16 +0000 (18:28 +0000)] 
ITS#10279

8 months agoITS#10279 Let client notify when LDAP_DEBUG is disabled but -d specified
Ondřej Kuzník [Thu, 16 Jan 2025 15:35:06 +0000 (15:35 +0000)] 
ITS#10279 Let client notify when LDAP_DEBUG is disabled but -d specified

8 months agoITS#10307
Quanah Gibson-Mount [Wed, 19 Feb 2025 18:25:29 +0000 (18:25 +0000)] 
ITS#10307

8 months agoITS#10307 Initialise last if we use it later
Ondřej Kuzník [Mon, 10 Feb 2025 14:37:45 +0000 (14:37 +0000)] 
ITS#10307 Initialise last if we use it later

8 months agoUpdate and clarify replication docs
Ondřej Kuzník [Wed, 15 Jan 2025 12:32:58 +0000 (12:32 +0000)] 
Update and clarify replication docs

8 months agoITS#10302
Quanah Gibson-Mount [Wed, 19 Feb 2025 18:22:49 +0000 (18:22 +0000)] 
ITS#10302

8 months agoITS#10302 slapd-mdb: fix idcursor double-free in slapadd shutdown
Howard Chu [Tue, 4 Feb 2025 17:00:36 +0000 (17:00 +0000)] 
ITS#10302 slapd-mdb: fix idcursor double-free in slapadd shutdown

Caused when calling tool_entry_modify to update ctxcsn after all adds are done.

8 months agoITS#10290
Quanah Gibson-Mount [Wed, 19 Feb 2025 18:21:31 +0000 (18:21 +0000)] 
ITS#10290

8 months agoITS#10290 Move syncrepl_modify_cb to the end of the list
Ondřej Kuzník [Mon, 9 Dec 2024 16:41:44 +0000 (16:41 +0000)] 
ITS#10290 Move syncrepl_modify_cb to the end of the list

The way op->orm_modlist is allocated by syncrepl_op_modify is not
compatible with slap_mods_free() and so callbacks from any overlays that
touch op->orm_modlist on the way down need a chance to undo their state
first as we go back up.

8 months agoITS#7080
Quanah Gibson-Mount [Wed, 19 Feb 2025 18:18:46 +0000 (18:18 +0000)] 
ITS#7080

8 months agoITS#7080 Do not reuse back-ldif's stack for controls
Ondřej Kuzník [Thu, 24 Oct 2024 15:01:15 +0000 (16:01 +0100)] 
ITS#7080 Do not reuse back-ldif's stack for controls

8 months agoITS#7080 Implement pre/postread for modrdn
Ondřej Kuzník [Thu, 24 Oct 2024 15:00:09 +0000 (16:00 +0100)] 
ITS#7080 Implement pre/postread for modrdn

8 months agoITS#7080 Do not munge path twice
Ondřej Kuzník [Thu, 24 Oct 2024 14:59:37 +0000 (15:59 +0100)] 
ITS#7080 Do not munge path twice

8 months agoITS#10229
Quanah Gibson-Mount [Wed, 19 Feb 2025 18:04:57 +0000 (18:04 +0000)] 
ITS#10229

8 months agoITS#10229 Adjust ldap_result behaviour with LDAP_MSG_RECEIVED
Ondřej Kuzník [Thu, 26 Sep 2024 11:27:05 +0000 (12:27 +0100)] 
ITS#10229 Adjust ldap_result behaviour with LDAP_MSG_RECEIVED

8 months agoITS#10288
Quanah Gibson-Mount [Wed, 19 Feb 2025 17:04:14 +0000 (17:04 +0000)] 
ITS#10288

8 months agoITS#10288 autoca: fix olcAutoCAserverClass config
Howard Chu [Fri, 29 Nov 2024 14:46:10 +0000 (14:46 +0000)] 
ITS#10288 autoca: fix olcAutoCAserverClass config

8 months agoITS#10226
Quanah Gibson-Mount [Wed, 19 Feb 2025 17:00:33 +0000 (17:00 +0000)] 
ITS#10226

8 months agoITS#10226 - Fix ldap.conf(5) formatting issues
Bjarni Ingi Gislason [Fri, 28 Jun 2024 17:23:05 +0000 (17:23 +0000)] 
ITS#10226 - Fix ldap.conf(5) formatting issues

11 months agoReturn to release engineering
Quanah Gibson-Mount [Tue, 26 Nov 2024 21:46:38 +0000 (21:46 +0000)] 
Return to release engineering

11 months agoPrep for release OPENLDAP_REL_ENG_2_6_9
Quanah Gibson-Mount [Tue, 26 Nov 2024 17:11:04 +0000 (17:11 +0000)] 
Prep for release

11 months agoITS#10272
Quanah Gibson-Mount [Wed, 13 Nov 2024 17:11:41 +0000 (17:11 +0000)] 
ITS#10272

11 months agoITS#10272 Request all attributes from remote
Ondřej Kuzník [Tue, 29 Oct 2024 12:43:37 +0000 (12:43 +0000)] 
ITS#10272 Request all attributes from remote

Fixes a regression introduced in fc1bcaf9ded9410cd825112be8db994163c06b04
leaving us unable to check the full filter after we recreate the entry.

11 months agoITS#8047
Quanah Gibson-Mount [Tue, 12 Nov 2024 17:56:19 +0000 (17:56 +0000)] 
ITS#8047

11 months agoITS#8047 Fix TLS connection timeout handling
Ondřej Kuzník [Mon, 21 Oct 2024 10:50:11 +0000 (11:50 +0100)] 
ITS#8047 Fix TLS connection timeout handling

The test for async in ldap_int_tls_start was inverted, we already
support calling ldap_int_tls_connect repeatedly. And so long as
LBER_SB_OPT_NEEDS_* are managed correctly, the application should be
able to do the right thing.

Might require a new result code rather than reporposing
LDAP_X_CONNECTING for this.

11 months agoITS#10155
Quanah Gibson-Mount [Tue, 12 Nov 2024 17:49:30 +0000 (17:49 +0000)] 
ITS#10155

11 months agoITS#10155 manage option values more carefully
Ondřej Kuzník [Tue, 22 Oct 2024 12:59:20 +0000 (13:59 +0100)] 
ITS#10155 manage option values more carefully

11 months agoITS#10263
Quanah Gibson-Mount [Tue, 12 Nov 2024 17:46:34 +0000 (17:46 +0000)] 
ITS#10263

11 months agoITS#10263 Reject modifications with invalid whitespace
Ondřej Kuzník [Thu, 3 Oct 2024 11:39:52 +0000 (12:39 +0100)] 
ITS#10263 Reject modifications with invalid whitespace

11 months agoITS#10264
Quanah Gibson-Mount [Tue, 12 Nov 2024 17:44:47 +0000 (17:44 +0000)] 
ITS#10264

11 months agoITS#10264 Free NoD data we stored locally
Ondřej Kuzník [Wed, 2 Oct 2024 12:23:44 +0000 (13:23 +0100)] 
ITS#10264 Free NoD data we stored locally

13 months agoITS#10234
Quanah Gibson-Mount [Fri, 4 Oct 2024 22:08:31 +0000 (22:08 +0000)] 
ITS#10234

13 months agoITS#10234 Reinit retry state on refreshDone
Ondřej Kuzník [Fri, 19 Jul 2024 08:59:56 +0000 (09:59 +0100)] 
ITS#10234 Reinit retry state on refreshDone

13 months agoITS#10232
Quanah Gibson-Mount [Fri, 4 Oct 2024 22:07:10 +0000 (22:07 +0000)] 
ITS#10232

13 months agoITS#10232 Reset cs_refreshing on config delete
Ondřej Kuzník [Fri, 19 Jul 2024 08:53:35 +0000 (09:53 +0100)] 
ITS#10232 Reset cs_refreshing on config delete

13 months agoITS#10248
Quanah Gibson-Mount [Fri, 4 Oct 2024 22:04:40 +0000 (22:04 +0000)] 
ITS#10248

13 months agoITS#10248 Regression test script
Michael Nolta [Tue, 3 Sep 2024 10:38:48 +0000 (11:38 +0100)] 
ITS#10248 Regression test script

13 months agoITS#10248 Always generate a result on the original op
Ondřej Kuzník [Fri, 23 Aug 2024 11:57:34 +0000 (12:57 +0100)] 
ITS#10248 Always generate a result on the original op

13 months agoITS#10249
Quanah Gibson-Mount [Fri, 4 Oct 2024 22:02:56 +0000 (22:02 +0000)] 
ITS#10249

13 months agoITS#10249 slapo-nestgroup: plug leak in nestgroup_memberFilter
Ondřej Kuzník [Tue, 3 Sep 2024 10:29:25 +0000 (11:29 +0100)] 
ITS#10249 slapo-nestgroup: plug leak in nestgroup_memberFilter

13 months agoITS#10256
Quanah Gibson-Mount [Fri, 4 Oct 2024 22:00:54 +0000 (22:00 +0000)] 
ITS#10256

13 months agoITS#10256 cn=config: reject modify requests on cn=schema,cn=config
Howard Chu [Tue, 10 Sep 2024 16:41:39 +0000 (17:41 +0100)] 
ITS#10256 cn=config: reject modify requests on cn=schema,cn=config

Add requests already handled it specially; corresponding treatment
for modify requests was missing. The docs have always stated that
cn=schema,cn=config is only for slapd's hardcoded schema so this
only affects users who don't read docs.

13 months agoITS#10253
Quanah Gibson-Mount [Fri, 4 Oct 2024 21:59:40 +0000 (21:59 +0000)] 
ITS#10253

13 months agoITS#10253 Fix incompatible pointer type with GnuTLS
Ryan Tandy [Thu, 22 Aug 2024 00:48:45 +0000 (17:48 -0700)] 
ITS#10253 Fix incompatible pointer type with GnuTLS

13 months agoITS#10233
Quanah Gibson-Mount [Fri, 4 Oct 2024 21:59:09 +0000 (21:59 +0000)] 
ITS#10233

13 months agoITS#7400 - Fix exattr to exattrs option
Quanah Gibson-Mount [Wed, 31 Jul 2024 22:50:32 +0000 (22:50 +0000)] 
ITS#7400 - Fix exattr to exattrs option

13 months agoITS#10233 - fix idl intersection
HAMANO Tsukasa [Wed, 26 Jun 2024 01:51:17 +0000 (10:51 +0900)] 
ITS#10233 - fix idl intersection

The `mdb_idl_intersection()` and `wt_idl_intersection()` functions derived from back-bdb return wrong results.

expect:
[1, 3] ∩ [2] = []

actual:
[1, 3] ∩ [2] = [2]

also
- Add scope checking for back-wt
- fix compiler warning

13 months agoITS#10237
Quanah Gibson-Mount [Fri, 4 Oct 2024 21:47:30 +0000 (21:47 +0000)] 
ITS#10237

13 months agoITS#10237 back-ldap: fix usage of multi-precision add for op counters
Howard Chu [Thu, 4 Jul 2024 17:35:45 +0000 (18:35 +0100)] 
ITS#10237 back-ldap: fix usage of multi-precision add for op counters

16 months agoITS#10230 slapo-memberof: fix addcheck search to omit dynamic values
Howard Chu [Mon, 17 Jun 2024 20:40:48 +0000 (21:40 +0100)] 
ITS#10230 slapo-memberof: fix addcheck search to omit dynamic values

16 months agoITS#10235
Quanah Gibson-Mount [Fri, 28 Jun 2024 17:03:55 +0000 (17:03 +0000)] 
ITS#10235

16 months agoITS#10235 slapo-nestgroup: silence extraneous register_at message
Howard Chu [Wed, 26 Jun 2024 23:49:21 +0000 (00:49 +0100)] 
ITS#10235 slapo-nestgroup: silence extraneous register_at message

16 months agoITS#10231
Quanah Gibson-Mount [Fri, 28 Jun 2024 17:02:02 +0000 (17:02 +0000)] 
ITS#10231

16 months agoITS#10231 slapadd: check for NULL suffix in error message
Howard Chu [Tue, 18 Jun 2024 16:14:12 +0000 (17:14 +0100)] 
ITS#10231 slapadd: check for NULL suffix in error message

16 months agoITS#10230
Quanah Gibson-Mount [Fri, 28 Jun 2024 17:01:22 +0000 (17:01 +0000)] 
ITS#10230

16 months agoITS#10227
Quanah Gibson-Mount [Fri, 28 Jun 2024 17:00:39 +0000 (17:00 +0000)] 
ITS#10227

16 months agoITS#10227 Asyncmeta will not reset a connection if a bind operation fails with LDAP_O...
Nadezhda Ivanova [Fri, 1 Mar 2024 13:13:47 +0000 (15:13 +0200)] 
ITS#10227 Asyncmeta will not reset a connection if a bind operation fails with LDAP_OTHER, leaving the connection in invalid state

16 months agoITS#10219
Quanah Gibson-Mount [Fri, 28 Jun 2024 16:58:22 +0000 (16:58 +0000)] 
ITS#10219

16 months agoITS#10219 Modify of olcDisabled by removing and adding a value invokes db_open twice
Nadezhda Ivanova [Thu, 23 May 2024 13:09:26 +0000 (16:09 +0300)] 
ITS#10219 Modify of olcDisabled by removing and adding a value invokes db_open twice

Do not invoke db_open if the database is not actually disabled

16 months agoITS#10218
Quanah Gibson-Mount [Fri, 28 Jun 2024 16:57:22 +0000 (16:57 +0000)] 
ITS#10218

16 months agoITS#10218 Disabling and re-enabling an asyncmeta database via cn=config leaks memory
Nadezhda Ivanova [Thu, 23 May 2024 12:54:04 +0000 (15:54 +0300)] 
ITS#10218 Disabling and re-enabling an asyncmeta database via cn=config leaks memory

Make sure asyncmeta frees the pending operations structures, resets all connections, frees connection structures and stops the timeout-loop.

16 months agoITS#9827
Quanah Gibson-Mount [Fri, 28 Jun 2024 16:50:21 +0000 (16:50 +0000)] 
ITS#9827

16 months agoITS#9827 - Use 7MB memory/5 iterations as default
Quanah Gibson-Mount [Tue, 11 Jun 2024 17:06:33 +0000 (17:06 +0000)] 
ITS#9827 - Use 7MB memory/5 iterations as default

This has the same protections as 19MB/2 iterations, but requires less system memory

16 months agoITS#9827 update Argon2 defaults
François Kooman [Wed, 9 Aug 2023 14:39:21 +0000 (16:39 +0200)] 
ITS#9827 update Argon2 defaults

- switch to argon2id by default (from argon2i)
- use OWASP recommended parameters as defaults

This only affects builds that use libargon2, e.g. Debian, and
not builds that use libsodium as argon2id is already the
default there, and better parameters are used

References: https://bugs.openldap.org/show_bug.cgi?id=9827
Signed-off-by: François Kooman <fkooman@tuxed.net>
16 months agoITS#10224
Quanah Gibson-Mount [Fri, 28 Jun 2024 16:47:55 +0000 (16:47 +0000)] 
ITS#10224

16 months agoITS#10224 libldap: check for OpenSSL EVP_Digest* failure
Howard Chu [Fri, 7 Jun 2024 14:33:04 +0000 (15:33 +0100)] 
ITS#10224 libldap: check for OpenSSL EVP_Digest* failure

16 months agoITS#10223
Quanah Gibson-Mount [Fri, 28 Jun 2024 16:47:27 +0000 (16:47 +0000)] 
ITS#10223

16 months agoITS#10223 libldap: check for OpenSSL SSL_CTX_set_ciphersuites failure
Howard Chu [Fri, 7 Jun 2024 14:26:45 +0000 (15:26 +0100)] 
ITS#10223 libldap: check for OpenSSL SSL_CTX_set_ciphersuites failure

17 months agoReturn to release engineering
Quanah Gibson-Mount [Mon, 3 Jun 2024 15:26:48 +0000 (15:26 +0000)] 
Return to release engineering

17 months agoPrep for release (2.6.8) OPENLDAP_REL_ENG_2_6_8
Quanah Gibson-Mount [Tue, 21 May 2024 17:19:11 +0000 (17:19 +0000)] 
Prep for release (2.6.8)

17 months agoMerge remote-tracking branch 'origin/mdb.RE/0.9' into OPENLDAP_REL_ENG_2_6
Quanah Gibson-Mount [Tue, 21 May 2024 17:16:47 +0000 (17:16 +0000)] 
Merge remote-tracking branch 'origin/mdb.RE/0.9' into OPENLDAP_REL_ENG_2_6

17 months agoPrep for release LMDB_0.9.33
Quanah Gibson-Mount [Tue, 21 May 2024 17:16:06 +0000 (17:16 +0000)] 
Prep for release

17 months agoITS#10216
Quanah Gibson-Mount [Tue, 21 May 2024 16:06:30 +0000 (16:06 +0000)] 
ITS#10216

17 months agoITS#10216 libldap: fix OpenSSL channel binding digest
Howard Chu [Tue, 14 May 2024 15:13:15 +0000 (16:13 +0100)] 
ITS#10216 libldap: fix OpenSSL channel binding digest

The OBJ_find_ API is undocumented but this is what OpenSSL libcrypto does itself.

17 months agoITS#10209
Quanah Gibson-Mount [Thu, 9 May 2024 19:09:18 +0000 (19:09 +0000)] 
ITS#10209

17 months agoITS#10209 libldap: only use OPENSSL_INIT_NO_ATEXIT if it's defined
Howard Chu [Tue, 7 May 2024 18:47:35 +0000 (19:47 +0100)] 
ITS#10209 libldap: only use OPENSSL_INIT_NO_ATEXIT if it's defined

Fake OpenSSL clones like LibreSSL don't support it.

In general we will make no effort to support fake OpenSSL clones.

17 months agoITS#10214
Quanah Gibson-Mount [Thu, 9 May 2024 17:10:10 +0000 (17:10 +0000)] 
ITS#10214

17 months agoITS#10214 - Regenerate configure
Quanah Gibson-Mount [Thu, 9 May 2024 17:09:19 +0000 (17:09 +0000)] 
ITS#10214 - Regenerate configure

17 months agoITS#10214 Reduce library dependencies
HAMANO Tsukasa [Tue, 7 May 2024 10:59:17 +0000 (19:59 +0900)] 
ITS#10214 Reduce library dependencies

Currently, slapd links libsystemd to notify service state to systemd.
However, libsystemd link several unnecessary libraries, which increases security risks.
The systemd documentation provides a method to send state notifications to systemd using a simple protocol without the need to link against libsystemd.

https://www.freedesktop.org/software/systemd/man/devel/sd_notify.html

17 months agoITS#9921
Quanah Gibson-Mount [Wed, 8 May 2024 17:57:16 +0000 (17:57 +0000)] 
ITS#9921

18 months agoITS#9921 fix vlvResult comment
Howard Chu [Mon, 26 Sep 2022 10:55:27 +0000 (11:55 +0100)] 
ITS#9921 fix vlvResult comment

18 months agoMerge remote-tracking branch 'origin/mdb.RE/0.9' into OPENLDAP_REL_ENG_2_6
Quanah Gibson-Mount [Tue, 7 May 2024 17:29:40 +0000 (17:29 +0000)] 
Merge remote-tracking branch 'origin/mdb.RE/0.9' into OPENLDAP_REL_ENG_2_6

18 months agoMerge remote-tracking branch 'origin/mdb.RE/0.9' into OPENLDAP_REL_ENG_2_6
Quanah Gibson-Mount [Tue, 7 May 2024 17:29:14 +0000 (17:29 +0000)] 
Merge remote-tracking branch 'origin/mdb.RE/0.9' into OPENLDAP_REL_ENG_2_6

18 months agoITS#10212
Quanah Gibson-Mount [Tue, 7 May 2024 16:49:34 +0000 (16:49 +0000)] 
ITS#10212

18 months agoITS#10198
Quanah Gibson-Mount [Tue, 7 May 2024 16:49:00 +0000 (16:49 +0000)] 
ITS#10198

18 months agoITS#10208
Quanah Gibson-Mount [Tue, 7 May 2024 16:45:11 +0000 (16:45 +0000)] 
ITS#10208

18 months agoITS#10084 Switch MECH default away from DIGEST-MD5
Ondřej Kuzník [Fri, 18 Aug 2023 10:00:33 +0000 (11:00 +0100)] 
ITS#10084 Switch MECH default away from DIGEST-MD5

18 months agoITS#10211
Quanah Gibson-Mount [Tue, 7 May 2024 16:38:07 +0000 (16:38 +0000)] 
ITS#10211

18 months agoITS#10211 slapd: Fix peercred uid and gid format
Nick Porter [Thu, 2 May 2024 07:48:14 +0000 (08:48 +0100)] 
ITS#10211 slapd: Fix peercred uid and gid format

uid and gid are unsigned int and so should be formatted as such when
creating the authid string.

18 months agoITS#10206
Quanah Gibson-Mount [Tue, 7 May 2024 16:35:27 +0000 (16:35 +0000)] 
ITS#10206

18 months agoITS#10206 Include <kadm5/private.h> for kadm5_s_init_with_password_ctx
Ryan Tandy [Sun, 28 Apr 2024 22:31:26 +0000 (15:31 -0700)] 
ITS#10206 Include <kadm5/private.h> for kadm5_s_init_with_password_ctx

18 months agoITS#10204
Quanah Gibson-Mount [Tue, 7 May 2024 16:33:24 +0000 (16:33 +0000)] 
ITS#10204

18 months agoITS#10204 slapo-constraint: fix double-free on invalid attr
Howard Chu [Tue, 30 Apr 2024 14:55:01 +0000 (15:55 +0100)] 
ITS#10204 slapo-constraint: fix double-free on invalid attr

18 months agoITS#10197
Quanah Gibson-Mount [Tue, 7 May 2024 16:32:32 +0000 (16:32 +0000)] 
ITS#10197

18 months agoITS#10197 Back-meta and back-asyncmeta add a new target structure and increase the...
Nadezhda Ivanova [Thu, 11 Apr 2024 11:10:07 +0000 (14:10 +0300)] 
ITS#10197 Back-meta and back-asyncmeta add a new target structure and increase the number of targets even if uri parsing fails

Reproducible when adding a new target via cn=config

18 months agoITS#10183
Quanah Gibson-Mount [Tue, 7 May 2024 16:31:32 +0000 (16:31 +0000)] 
ITS#10183

18 months agoITS#10183 ldapmodify: add jump to lineno option
Howard Chu [Tue, 27 Feb 2024 13:13:25 +0000 (13:13 +0000)] 
ITS#10183 ldapmodify: add jump to lineno option

18 months agoITS#10212 LMDB: better fix
Howard Chu [Fri, 3 May 2024 19:43:39 +0000 (20:43 +0100)] 
ITS#10212 LMDB: better fix

18 months agoITS#10212 LMDB: init txnid for read-only DBs
Howard Chu [Thu, 2 May 2024 15:29:03 +0000 (16:29 +0100)] 
ITS#10212 LMDB: init txnid for read-only DBs

18 months agoITS#10207 - regenerate configure
Quanah Gibson-Mount [Wed, 1 May 2024 16:27:08 +0000 (16:27 +0000)] 
ITS#10207 - regenerate configure