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

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

10 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.

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

10 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.

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

10 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

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

10 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

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

10 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

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

12 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

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

12 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

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

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

12 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

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

12 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

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

12 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.

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

12 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

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

12 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

12 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

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

12 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

15 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

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

15 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

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

15 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

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

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

15 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

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

15 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

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

15 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.

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

15 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

15 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>
15 months agoITS#10224
Quanah Gibson-Mount [Fri, 28 Jun 2024 16:47:55 +0000 (16:47 +0000)] 
ITS#10224

15 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

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

15 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

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

16 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)

16 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

16 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

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

16 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.

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

16 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.

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

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

16 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

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

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

16 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

16 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

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

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

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

16 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

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

16 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.

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

16 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

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

16 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

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

16 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

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

16 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

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

17 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

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

17 months agoITS#10207 configure.ac: fix typo from ITS#10177
Howard Chu [Wed, 1 May 2024 14:11:43 +0000 (15:11 +0100)] 
ITS#10207 configure.ac: fix typo from ITS#10177

17 months agoITS#10161 - regenerate configure
Quanah Gibson-Mount [Tue, 16 Apr 2024 19:30:39 +0000 (19:30 +0000)] 
ITS#10161 - regenerate configure

17 months agoITS#10161 - Add BUILD_NESTGROUP required for testsuite
Quanah Gibson-Mount [Tue, 16 Apr 2024 19:30:05 +0000 (19:30 +0000)] 
ITS#10161 - Add BUILD_NESTGROUP required for testsuite

17 months agoITS#10161 - Add missing testsuite bits
Quanah Gibson-Mount [Tue, 16 Apr 2024 16:56:33 +0000 (16:56 +0000)] 
ITS#10161 - Add missing testsuite bits

17 months agoITS#10161 - regenerate configure
Quanah Gibson-Mount [Tue, 16 Apr 2024 16:09:35 +0000 (16:09 +0000)] 
ITS#10161 - regenerate configure

17 months agoITS#10161
Quanah Gibson-Mount [Tue, 16 Apr 2024 16:09:18 +0000 (16:09 +0000)] 
ITS#10161

17 months agoITS#10161 Add nestgroup overlay
Howard Chu [Fri, 26 Jan 2024 17:22:16 +0000 (17:22 +0000)] 
ITS#10161 Add nestgroup overlay

17 months agoITS#10193
Quanah Gibson-Mount [Tue, 16 Apr 2024 15:48:54 +0000 (15:48 +0000)] 
ITS#10193

17 months agoITS#10193 Asyncmeta starts more than one timeout loop per database and slaptest crashes
Nadezhda Ivanova [Tue, 2 Apr 2024 10:34:07 +0000 (13:34 +0300)] 
ITS#10193 Asyncmeta starts more than one timeout loop per database and slaptest crashes

18 months agoITS#10198 Win32 mdb_strerror - stop passing "ignored" parameter
Howard Chu [Thu, 4 Apr 2024 06:15:24 +0000 (07:15 +0100)] 
ITS#10198 Win32 mdb_strerror - stop passing "ignored" parameter

The M$ docs say the parameter is ignored, but it actually isn't,
and will cause a SEGV if the pointed memory isn't an init'd va_list.

18 months agoITS#10103, ITS#!014, ITS#10182
Quanah Gibson-Mount [Tue, 2 Apr 2024 20:09:34 +0000 (20:09 +0000)] 
ITS#10103, ITS#!014, ITS#10182

18 months agoITS#10182 slapo-alias: check for static operational attrs too
Howard Chu [Fri, 23 Feb 2024 16:02:54 +0000 (16:02 +0000)] 
ITS#10182 slapo-alias: check for static operational attrs too

18 months agoITS#10104 Add slapo-alias to contrib
Ondřej Kuzník [Mon, 25 Sep 2023 08:44:35 +0000 (09:44 +0100)] 
ITS#10104 Add slapo-alias to contrib

18 months agoITS#10103 Fix contrib module OIDs
Ondřej Kuzník [Mon, 25 Sep 2023 11:07:10 +0000 (12:07 +0100)] 
ITS#10103 Fix contrib module OIDs

18 months agoHappy New Year!
Quanah Gibson-Mount [Tue, 26 Mar 2024 19:45:35 +0000 (19:45 +0000)] 
Happy New Year!

18 months agoITS#10185, ITS#10188
Quanah Gibson-Mount [Tue, 26 Mar 2024 17:07:26 +0000 (17:07 +0000)] 
ITS#10185, ITS#10188

18 months agoITS#10188 autogroup: allow groups to be members of other groups
Howard Chu [Tue, 19 Mar 2024 16:28:24 +0000 (16:28 +0000)] 
ITS#10188 autogroup: allow groups to be members of other groups

But doesn't support recursion - modifications on one autogroup
will not trigger further updates on other autogroups that reference it.

18 months agoITS#10188 autogroup: cleanup autogroup_response
Howard Chu [Tue, 19 Mar 2024 16:23:38 +0000 (16:23 +0000)] 
ITS#10188 autogroup: cleanup autogroup_response

Minor restructuring

18 months agoITS#10185 autogroup: fix missing mutex_unlock
Howard Chu [Tue, 19 Mar 2024 16:20:56 +0000 (16:20 +0000)] 
ITS#10185 autogroup: fix missing mutex_unlock

Broken in 95e7a7be16a3fc751f1ad4c210e69c37ad96f69b

18 months agoITS#10185 autogroup: check for invalid memberURL filter
Howard Chu [Fri, 15 Mar 2024 01:44:56 +0000 (01:44 +0000)] 
ITS#10185 autogroup: check for invalid memberURL filter