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

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

14 months agoITS#10214 - regenerate configure
Quanah Gibson-Mount [Thu, 9 May 2024 17:12:24 +0000 (17:12 +0000)] 
ITS#10214 - regenerate configure

14 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

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

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

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

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

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

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

15 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

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

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

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

15 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

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

15 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

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

16 months agoHappy New Year!
Quanah Gibson-Mount [Tue, 26 Mar 2024 19:46:02 +0000 (19:46 +0000)] 
Happy New Year!

16 months agoITS#10186
Quanah Gibson-Mount [Tue, 26 Mar 2024 17:03:57 +0000 (17:03 +0000)] 
ITS#10186

16 months agoITS#10186 overlay response callbacks should ignore op->o_abandon
Howard Chu [Tue, 5 Mar 2024 16:55:28 +0000 (16:55 +0000)] 
ITS#10186 overlay response callbacks should ignore op->o_abandon

16 months agoITS#10044
Quanah Gibson-Mount [Tue, 26 Mar 2024 16:43:21 +0000 (16:43 +0000)] 
ITS#10044

16 months agoITS#10044 dynlist: check for abandon in search2resp
Howard Chu [Wed, 21 Feb 2024 17:18:18 +0000 (17:18 +0000)] 
ITS#10044 dynlist: check for abandon in search2resp

16 months agoITS#10177
Quanah Gibson-Mount [Tue, 26 Mar 2024 16:40:38 +0000 (16:40 +0000)] 
ITS#10177

16 months agoITS#10177 fix back-perl build for clang15 or later
HAMANO Tsukasa [Wed, 14 Feb 2024 06:18:08 +0000 (15:18 +0900)] 
ITS#10177 fix back-perl build for clang15 or later

Remove problematic and unnecessary compile flags.

16 months agoITS#9952
Quanah Gibson-Mount [Tue, 26 Mar 2024 16:33:40 +0000 (16:33 +0000)] 
ITS#9952

16 months agoITS#9952 TLS/OpenSSL: disable use of atexit()
Howard Chu [Sun, 18 Feb 2024 10:57:07 +0000 (10:57 +0000)] 
ITS#9952 TLS/OpenSSL: disable use of atexit()

This will only have any effect if libldap is the first caller to
initialize OpenSSL, but that should be all that matters when libldap
is part of a dynmically loaded module. It prevents the crash in the
example cases given.

16 months agoRevert "ITS#9952 libldap: use atexit for TLS teardown"
Howard Chu [Tue, 13 Feb 2024 17:29:05 +0000 (17:29 +0000)] 
Revert "ITS#9952 libldap: use atexit for TLS teardown"

This reverts commit 337455eb3a66176cc3f66d2c663a72cc7b4178bd.
The change was non-portable, caused ITS#10176. OpenSSL 3 is
broken and should be fixed.

16 months agoITS#9037
Quanah Gibson-Mount [Tue, 26 Mar 2024 16:25:55 +0000 (16:25 +0000)] 
ITS#9037

16 months agoITS#9037 mdb_page_search: fix error code when DBI record is missing
Howard Chu [Tue, 26 Mar 2024 14:50:17 +0000 (14:50 +0000)] 
ITS#9037 mdb_page_search: fix error code when DBI record is missing

Use the more relevant MDB_BAD_DBI instead of MDB_NOTFOUND error code

17 months agoITS#10170
Quanah Gibson-Mount [Thu, 15 Feb 2024 19:38:26 +0000 (19:38 +0000)] 
ITS#10170

17 months agoITS#10170 accesslog: skip response if not fully initialized yet
Howard Chu [Wed, 7 Feb 2024 17:02:52 +0000 (17:02 +0000)] 
ITS#10170 accesslog: skip response if not fully initialized yet

17 months agoITS#10179
Quanah Gibson-Mount [Thu, 15 Feb 2024 18:14:42 +0000 (18:14 +0000)] 
ITS#10179

17 months agoITS#10179 back-asyncmeta(5) man page incorrectly mentions rewrite
Nadezhda Ivanova [Thu, 15 Feb 2024 13:36:48 +0000 (15:36 +0200)] 
ITS#10179 back-asyncmeta(5) man page incorrectly mentions rewrite

back-asyncmeta does not currently support the rewrite engine.

17 months agoITS#10164
Quanah Gibson-Mount [Thu, 15 Feb 2024 18:13:13 +0000 (18:13 +0000)] 
ITS#10164

17 months agoITS#10164 back-meta hangs when used with dynlist overlay
Nadezhda Ivanova [Wed, 7 Feb 2024 14:35:48 +0000 (16:35 +0200)] 
ITS#10164 back-meta hangs when used with dynlist overlay

Make sure every proxied operation has a separate candidates structure.

17 months agoITS#10173
Quanah Gibson-Mount [Thu, 15 Feb 2024 18:10:41 +0000 (18:10 +0000)] 
ITS#10173

17 months agoITS#10173 Populate li_minCSN on conversion
Ondřej Kuzník [Thu, 8 Feb 2024 17:20:39 +0000 (17:20 +0000)] 
ITS#10173 Populate li_minCSN on conversion

17 months agoITS#10171
Quanah Gibson-Mount [Thu, 15 Feb 2024 18:07:18 +0000 (18:07 +0000)] 
ITS#10171

17 months agoITS#10171 - Explicitly cast private values
Stephen Gallagher [Wed, 7 Feb 2024 02:38:24 +0000 (21:38 -0500)] 
ITS#10171 - Explicitly cast private values

Fixes issues with -Werror=incompatible-pointer-types

Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
17 months agoITS#9823 Move to a place that is better associated with accesslog
Ondřej Kuzník [Tue, 30 Jan 2024 14:56:11 +0000 (14:56 +0000)] 
ITS#9823 Move to a place that is better associated with accesslog

17 months agoslapo-autogroup: fix typo in Debug msg
Howard Chu [Mon, 5 Feb 2024 15:48:31 +0000 (15:48 +0000)] 
slapo-autogroup: fix typo in Debug msg

Was present in original commit 946e8591088b557cbd326a904c138d910a7b9f9e

17 months agoITS#10165
Quanah Gibson-Mount [Thu, 15 Feb 2024 17:51:34 +0000 (17:51 +0000)] 
ITS#10165

17 months agoITS#10165 back-meta fails to bind to target when proxying an internal operation
Nadezhda Ivanova [Wed, 31 Jan 2024 13:32:09 +0000 (15:32 +0200)] 
ITS#10165 back-meta fails to bind to target when proxying an internal operation

17 months agoITS#10166
Quanah Gibson-Mount [Thu, 15 Feb 2024 17:48:08 +0000 (17:48 +0000)] 
ITS#10166

17 months agoITS#10166 slapi: fix plugin.c plugin_pblock_new() usage
Howard Chu [Wed, 31 Jan 2024 16:00:30 +0000 (16:00 +0000)] 
ITS#10166 slapi: fix plugin.c plugin_pblock_new() usage

Broken in 9142da8eaf691720f7d6288954250ef085bd3da0

18 months agoReturn to engineering
Quanah Gibson-Mount [Mon, 29 Jan 2024 20:42:54 +0000 (20:42 +0000)] 
Return to engineering

18 months agoPrep for release (2.5.17) OPENLDAP_REL_ENG_2_5_17
Quanah Gibson-Mount [Mon, 29 Jan 2024 18:53:15 +0000 (18:53 +0000)] 
Prep for release (2.5.17)

18 months agoITS#10139
Quanah Gibson-Mount [Mon, 29 Jan 2024 18:50:18 +0000 (18:50 +0000)] 
ITS#10139

18 months agoITS#10139 back-config: Honour disclose in matchedDN handling
Ondřej Kuzník [Thu, 25 Jan 2024 12:50:48 +0000 (12:50 +0000)] 
ITS#10139 back-config: Honour disclose in matchedDN handling

18 months agoMerge remote-tracking branch 'origin/mdb.RE/0.9' into OPENLDAP_REL_ENG_2_5
Quanah Gibson-Mount [Mon, 29 Jan 2024 18:21:49 +0000 (18:21 +0000)] 
Merge remote-tracking branch 'origin/mdb.RE/0.9' into OPENLDAP_REL_ENG_2_5

18 months agoPrep for release LMDB_0.9.32
Quanah Gibson-Mount [Mon, 29 Jan 2024 18:20:26 +0000 (18:20 +0000)] 
Prep for release

18 months agoITS#10025
Quanah Gibson-Mount [Tue, 23 Jan 2024 18:46:31 +0000 (18:46 +0000)] 
ITS#10025

18 months agoITS#10025 slapo-dynlist: add option to disable filter support
Howard Chu [Mon, 31 Jul 2023 17:43:30 +0000 (18:43 +0100)] 
ITS#10025 slapo-dynlist: add option to disable filter support

18 months agoMerge remote-tracking branch 'origin/mdb.RE/0.9' into OPENLDAP_REL_ENG_2_5
Quanah Gibson-Mount [Sat, 20 Jan 2024 22:32:26 +0000 (22:32 +0000)] 
Merge remote-tracking branch 'origin/mdb.RE/0.9' into OPENLDAP_REL_ENG_2_5

18 months agoITS#10125: fix bad merge
Howard Chu [Sat, 20 Jan 2024 21:16:17 +0000 (21:16 +0000)] 
ITS#10125: fix bad merge

From ac011b2c5a14d665b5756d8a7435627ffc508855

18 months agoITS#10059
Quanah Gibson-Mount [Thu, 18 Jan 2024 18:42:31 +0000 (18:42 +0000)] 
ITS#10059

18 months agoITS#10059 - Add configuration example for slapo-homedir(5)
Craig Balfour [Fri, 26 May 2023 13:51:26 +0000 (15:51 +0200)] 
ITS#10059 - Add configuration example for slapo-homedir(5)

18 months agoITS#10153
Quanah Gibson-Mount [Thu, 18 Jan 2024 18:42:03 +0000 (18:42 +0000)] 
ITS#10153

18 months agoITS#10153 - slapd(8) describe -T modify (slapmodify)
SATOH Fumiyasu [Thu, 21 Dec 2023 07:37:31 +0000 (16:37 +0900)] 
ITS#10153 - slapd(8) describe -T modify (slapmodify)

18 months agoMerge remote-tracking branch 'origin/mdb.RE/0.9' into OPENLDAP_REL_ENG_2_5
Quanah Gibson-Mount [Tue, 16 Jan 2024 20:42:51 +0000 (20:42 +0000)] 
Merge remote-tracking branch 'origin/mdb.RE/0.9' into OPENLDAP_REL_ENG_2_5

18 months agoITS#10110
Quanah Gibson-Mount [Tue, 16 Jan 2024 20:41:35 +0000 (20:41 +0000)] 
ITS#10110

18 months agoITS#10110 Do not skip backover for result entries
Ondřej Kuzník [Tue, 9 Jan 2024 15:36:40 +0000 (15:36 +0000)] 
ITS#10110 Do not skip backover for result entries

18 months agoITS#10135
Quanah Gibson-Mount [Tue, 16 Jan 2024 20:39:18 +0000 (20:39 +0000)] 
ITS#10135

18 months agoITS#10135 dynlist: fix search2resp callback context
Howard Chu [Fri, 5 Jan 2024 14:01:16 +0000 (14:01 +0000)] 
ITS#10135 dynlist: fix search2resp callback context

18 months agoITS#10130
Quanah Gibson-Mount [Tue, 16 Jan 2024 20:38:07 +0000 (20:38 +0000)] 
ITS#10130

18 months agoITS#10130 Several callers of getpassphrase() ignore NULL returns
Stacey Marshall [Tue, 14 Nov 2023 16:36:16 +0000 (16:36 +0000)] 
ITS#10130 Several callers of getpassphrase() ignore NULL returns

18 months agoITS#10109
Quanah Gibson-Mount [Tue, 16 Jan 2024 20:33:27 +0000 (20:33 +0000)] 
ITS#10109

18 months agoITS#10109 Pass operation to slap_get_csn()
Ondřej Kuzník [Mon, 27 Nov 2023 12:33:29 +0000 (12:33 +0000)] 
ITS#10109 Pass operation to slap_get_csn()

18 months agoITS#10137
Quanah Gibson-Mount [Tue, 16 Jan 2024 20:30:34 +0000 (20:30 +0000)] 
ITS#10137

18 months agoITS#10137 LMDB: Allow users to define MDB_IDL_LOGN
Clément Renault [Mon, 27 Nov 2023 09:35:15 +0000 (10:35 +0100)] 
ITS#10137 LMDB: Allow users to define MDB_IDL_LOGN

18 months agoITS#10145
Quanah Gibson-Mount [Tue, 16 Jan 2024 19:15:56 +0000 (19:15 +0000)] 
ITS#10145

18 months agoITS#10145 ldap_url_parse_ext: fail earlier on bad URL enclosure
Howard Chu [Sat, 16 Dec 2023 14:01:46 +0000 (14:01 +0000)] 
ITS#10145 ldap_url_parse_ext: fail earlier on bad URL enclosure

18 months agoITS#10144
Quanah Gibson-Mount [Tue, 16 Jan 2024 19:14:57 +0000 (19:14 +0000)] 
ITS#10144

18 months agoITS#10144 libldap: RDNs must contain at least 1 AVA
Howard Chu [Sat, 16 Dec 2023 12:45:56 +0000 (12:45 +0000)] 
ITS#10144 libldap: RDNs must contain at least 1 AVA

18 months agoITS#10129
Quanah Gibson-Mount [Tue, 16 Jan 2024 18:50:27 +0000 (18:50 +0000)] 
ITS#10129

18 months agoITS#10129 Fix lloadd.conf manpage
Ondřej Kuzník [Thu, 9 Nov 2023 15:55:53 +0000 (15:55 +0000)] 
ITS#10129 Fix lloadd.conf manpage

18 months agoITS#10124
Quanah Gibson-Mount [Tue, 16 Jan 2024 18:21:21 +0000 (18:21 +0000)] 
ITS#10124

18 months agoITS#10124 libldap: fix dhparam init with OpenSSL 3.x
Howard Chu [Mon, 6 Nov 2023 09:08:43 +0000 (09:08 +0000)] 
ITS#10124 libldap: fix dhparam init with OpenSSL 3.x

18 months agoITS#9378, ITS#10125
Quanah Gibson-Mount [Thu, 11 Jan 2024 22:35:25 +0000 (22:35 +0000)] 
ITS#9378, ITS#10125

18 months agoITS#10125 mdb_load: fix cursor reinit in Append mode
Howard Chu [Sun, 5 Nov 2023 17:34:03 +0000 (17:34 +0000)] 
ITS#10125 mdb_load: fix cursor reinit in Append mode

18 months agoITS#10089 Fix acl logging
Ondřej Kuzník [Thu, 2 Nov 2023 14:02:15 +0000 (14:02 +0000)] 
ITS#10089 Fix acl logging

18 months agoITS#10123
Quanah Gibson-Mount [Thu, 11 Jan 2024 22:03:11 +0000 (22:03 +0000)] 
ITS#10123

18 months agoITS#10123 Adjust our prototypes for both K&R and C2x compatibility
Ondřej Kuzník [Thu, 2 Nov 2023 13:59:33 +0000 (13:59 +0000)] 
ITS#10123 Adjust our prototypes for both K&R and C2x compatibility

18 months agoITS#10123 Add a missing include
Ondřej Kuzník [Thu, 2 Nov 2023 13:42:07 +0000 (13:42 +0000)] 
ITS#10123 Add a missing include

18 months agoITS#10100
Quanah Gibson-Mount [Thu, 11 Jan 2024 22:00:14 +0000 (22:00 +0000)] 
ITS#10100

18 months agoITS#10100 fix Windows timestamps
hyc [Thu, 21 Sep 2023 02:43:23 +0000 (19:43 -0700)] 
ITS#10100 fix Windows timestamps

Simplify, instead of trying to maintain offset between performance
counter and systemtime, just use performance counter.

18 months agoITS#10094
Quanah Gibson-Mount [Thu, 11 Jan 2024 21:56:58 +0000 (21:56 +0000)] 
ITS#10094

18 months agoITS#10094 libldap/OpenSSL: fix setting ciphersuites
Howard Chu [Thu, 12 Oct 2023 16:22:48 +0000 (17:22 +0100)] 
ITS#10094 libldap/OpenSSL: fix setting ciphersuites

Don't try old-style ciphersuite list if only v1.3 or newer ciphers were specified

18 months agoITS#10117
Quanah Gibson-Mount [Thu, 11 Jan 2024 21:54:42 +0000 (21:54 +0000)] 
ITS#10117

18 months agoITS#10117 build: fix slap-config.h decls for Windows DLLs
Howard Chu [Thu, 19 Oct 2023 17:46:54 +0000 (18:46 +0100)] 
ITS#10117 build: fix slap-config.h decls for Windows DLLs

18 months agoITS#10105
Quanah Gibson-Mount [Thu, 11 Jan 2024 17:59:15 +0000 (17:59 +0000)] 
ITS#10105

18 months agoITS#10105 liblber lutil_debug: ensure msg ends with NL
Howard Chu [Mon, 2 Oct 2023 17:51:28 +0000 (18:51 +0100)] 
ITS#10105 liblber lutil_debug: ensure msg ends with NL

18 months agoITS#10101
Quanah Gibson-Mount [Thu, 11 Jan 2024 17:56:24 +0000 (17:56 +0000)] 
ITS#10101

18 months agoITS#10101 libldap: fix double sb_close when first TLS connection fails
Florin Crișan [Wed, 20 Sep 2023 13:06:09 +0000 (16:06 +0300)] 
ITS#10101 libldap: fix double sb_close when first TLS connection fails

18 months agoCleanup Windows build
Howard Chu [Thu, 7 Sep 2023 19:03:07 +0000 (20:03 +0100)] 
Cleanup Windows build

Fix make depend errors in slapi

18 months agoITS#9378 Add replay tool
Howard Chu [Fri, 22 Dec 2023 19:55:22 +0000 (19:55 +0000)] 
ITS#9378 Add replay tool

Reads a replay log and executes all the write ops

18 months agoITS#9378 Add explicit replay logging
Howard Chu [Fri, 22 Dec 2023 13:14:32 +0000 (13:14 +0000)] 
ITS#9378 Add explicit replay logging

Logs essential ops so they can be replayed.
Ignores read ops for now.

21 months agoITS#10095
Quanah Gibson-Mount [Mon, 23 Oct 2023 19:45:12 +0000 (19:45 +0000)] 
ITS#10095

21 months agoITS#10074
Quanah Gibson-Mount [Mon, 23 Oct 2023 19:19:24 +0000 (19:19 +0000)] 
ITS#10074