]>
git.ipfire.org Git - thirdparty/openldap.git/log
Ondřej Kuzník [Fri, 19 Jul 2024 08:59:56 +0000 (09:59 +0100)]
ITS#10234 Reinit retry state on refreshDone
Ondřej Kuzník [Fri, 19 Jul 2024 08:53:35 +0000 (09:53 +0100)]
ITS#10232 Reset cs_refreshing on config delete
Ondřej Kuzník [Fri, 27 Sep 2024 13:21:20 +0000 (14:21 +0100)]
ITS#7982 Log TLS proto+cipher suite on client side
Michael Nolta [Tue, 3 Sep 2024 10:38:48 +0000 (11:38 +0100)]
ITS#10248 Regression test script
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
Ondřej Kuzník [Tue, 3 Sep 2024 10:29:25 +0000 (11:29 +0100)]
ITS#10249 slapo-nestgroup: plug leak in nestgroup_memberFilter
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.
Ryan Tandy [Thu, 22 Aug 2024 00:48:45 +0000 (17:48 -0700)]
ITS#10253 Fix incompatible pointer type
Howard Chu [Tue, 6 Aug 2024 16:52:11 +0000 (17:52 +0100)]
ITS#10247 libldap: add ldap_url_check_ext() to check URL extensions
And check validity earlier, in ldap_initialize() and ldap_init_fd().
Howard Chu [Tue, 6 Aug 2024 15:18:36 +0000 (16:18 +0100)]
ITS#10247 libldap: reject unrecognized critical URL extensions
Ondřej Kuzník [Tue, 13 Aug 2024 08:21:15 +0000 (09:21 +0100)]
ITS#10251 cast sa when passed to getsockname
Quanah Gibson-Mount [Wed, 31 Jul 2024 22:50:32 +0000 (22:50 +0000)]
ITS#7400 - Fix exattr to exattrs option
Ondřej Kuzník [Fri, 19 Jul 2024 14:45:53 +0000 (15:45 +0100)]
ITS#10242 Record rid in operation related logs
HAMANO Tsukasa [Wed, 26 Jun 2024 01:51:17 +0000 (10:51 +0900)]
fix idl intersection ITS#10233
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
Howard Chu [Thu, 4 Jul 2024 17:52:44 +0000 (18:52 +0100)]
ITS#10237 fix prev commit
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
Howard Chu [Wed, 26 Jun 2024 23:49:21 +0000 (00:49 +0100)]
ITS#10235 slapo-nestgroup: silence extraneous register_at message
Howard Chu [Tue, 18 Jun 2024 16:14:12 +0000 (17:14 +0100)]
ITS#10231 slapadd: check for NULL suffix in error message
Howard Chu [Mon, 17 Jun 2024 20:40:48 +0000 (21:40 +0100)]
ITS#10230 slapo-memberof: fix addcheck search to omit dynamic values
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
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
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.
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
Howard Chu [Fri, 7 Jun 2024 14:33:04 +0000 (15:33 +0100)]
ITS#10224 libldap: check for OpenSSL EVP_Digest* 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
Quanah Gibson-Mount [Tue, 21 May 2024 17:16:40 +0000 (17:16 +0000)]
Merge remote-tracking branch 'origin/mdb.RE/0.9'
Quanah Gibson-Mount [Tue, 21 May 2024 17:16:06 +0000 (17:16 +0000)]
Prep for release
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.
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.
Quanah Gibson-Mount [Thu, 9 May 2024 17:08:12 +0000 (17:08 +0000)]
ITS#10214 - Regenerate configure
HAMANO Tsukasa [Wed, 8 May 2024 23:26:41 +0000 (08:26 +0900)]
refactoring
- remove __attribute__ destructor
- use sendto instead of connect/write
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
Quanah Gibson-Mount [Tue, 7 May 2024 17:29:31 +0000 (17:29 +0000)]
Merge remote-tracking branch 'origin/mdb.RE/0.9'
Quanah Gibson-Mount [Tue, 7 May 2024 17:29:20 +0000 (17:29 +0000)]
Merge remote-tracking branch 'origin/mdb.RE/0.9'
Quanah Gibson-Mount [Tue, 7 May 2024 16:49:34 +0000 (16:49 +0000)]
ITS#10212
Quanah Gibson-Mount [Tue, 7 May 2024 16:49:00 +0000 (16:49 +0000)]
ITS#10198
Howard Chu [Fri, 3 May 2024 19:43:39 +0000 (20:43 +0100)]
ITS#10212 LMDB: better fix
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.
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
Howard Chu [Thu, 2 May 2024 15:29:03 +0000 (16:29 +0100)]
ITS#10212 LMDB: init txnid for read-only DBs
Quanah Gibson-Mount [Wed, 1 May 2024 16:23:20 +0000 (16:23 +0000)]
ITS#10207 - regenerate configure
Howard Chu [Wed, 1 May 2024 14:11:43 +0000 (15:11 +0100)]
ITS#10207 configure.ac: fix typo from ITS#10177
Howard Chu [Tue, 30 Apr 2024 14:55:01 +0000 (15:55 +0100)]
ITS#10204 slapo-constraint: fix double-free on invalid attr
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
Howard Chu [Tue, 27 Feb 2024 13:13:25 +0000 (13:13 +0000)]
ITS#10183 ldapmodify: add jump to lineno option
Quanah Gibson-Mount [Fri, 12 Apr 2024 21:29:11 +0000 (21:29 +0000)]
ITS#10202 - Regenerate configure
Nadezhda Ivanova [Fri, 12 Apr 2024 12:53:04 +0000 (15:53 +0300)]
ITS#10202 slapd fails to start if compiled with --enable-overlays=yes
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
Quanah Gibson-Mount [Sat, 6 Apr 2024 23:37:14 +0000 (23:37 +0000)]
ITS#10163, ITS#10201 - Regenerate configure
Howard Chu [Thu, 15 Feb 2024 01:32:22 +0000 (01:32 +0000)]
ITS#10163 More configure munging
Streamline configuration of slapd modules. Just use the
appropriate OL_ARG_ENABLE_xx, then almost no other edits
will be needed in configure.ac when adding new modules.
Backends will still have to add their Makefile to the
AC_CONFIG_FILES() list.
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.
Quanah Gibson-Mount [Tue, 26 Mar 2024 19:45:07 +0000 (19:45 +0000)]
Happy New Year!
Quanah Gibson-Mount [Tue, 26 Mar 2024 16:25:55 +0000 (16:25 +0000)]
ITS#9037
Quanah Gibson-Mount [Tue, 26 Mar 2024 16:23:20 +0000 (16:23 +0000)]
ITS#10189 - Remove extraneous #endif
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
Howard Chu [Fri, 26 Jan 2024 17:22:16 +0000 (17:22 +0000)]
ITS#10161 Add nestgroup overlay
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.
Howard Chu [Tue, 19 Mar 2024 16:23:38 +0000 (16:23 +0000)]
ITS#10188 autogroup: cleanup autogroup_response
Minor restructuring
Howard Chu [Tue, 19 Mar 2024 16:20:56 +0000 (16:20 +0000)]
ITS#10185 autogroup: fix missing mutex_unlock
Broken in
95e7a7be16a3fc751f1ad4c210e69c37ad96f69b
Howard Chu [Fri, 15 Mar 2024 01:44:56 +0000 (01:44 +0000)]
ITS#10185 autogroup: check for invalid memberURL filter
Howard Chu [Tue, 12 Mar 2024 17:12:14 +0000 (17:12 +0000)]
ITS#10185 autogroup: plug memleak when deleting a group
Howard Chu [Mon, 11 Mar 2024 18:32:00 +0000 (18:32 +0000)]
ITS#10185 autogroup: use dnIsSuffixScope to check DN membership
Also break out of some loops after getting a matching result
Howard Chu [Thu, 29 Feb 2024 22:55:13 +0000 (22:55 +0000)]
ITS#10185 autogroup: don't process deletes until after op succeeds
Howard Chu [Thu, 29 Feb 2024 21:36:03 +0000 (21:36 +0000)]
ITS#10185 autogroup: must populate dyngroup members on Add
The dynamic members should be populated up front, before passing the Add op
to the backend. The original code did both group and member processing up
front; the ITS#6970 patch moved both to the response callback. Only the
member processing should have been moved.
Howard Chu [Tue, 5 Mar 2024 16:55:28 +0000 (16:55 +0000)]
ITS#10186 overlay response callbacks should ignore op->o_abandon
Howard Chu [Fri, 23 Feb 2024 16:02:54 +0000 (16:02 +0000)]
ITS#10182 slapo-alias: check for static operational attrs too
Howard Chu [Wed, 21 Feb 2024 17:18:18 +0000 (17:18 +0000)]
ITS#10044 dynlist: check for abandon in search2resp
Howard Chu [Thu, 8 Feb 2024 17:19:17 +0000 (17:19 +0000)]
ITS#10172 logging: report errors when rotation fails
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.
Howard Chu [Thu, 22 Feb 2024 14:53:28 +0000 (14:53 +0000)]
slapo-autogroup: update Makefile to install manpage
Howard Chu [Tue, 20 Feb 2024 15:55:37 +0000 (15:55 +0000)]
ITS#7400 slapo-memberof: delete note about deprecation
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.
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.
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.
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.
Ondřej Kuzník [Thu, 8 Feb 2024 17:20:39 +0000 (17:20 +0000)]
ITS#10173 Populate li_minCSN on conversion
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>
Howard Chu [Wed, 7 Feb 2024 17:02:52 +0000 (17:02 +0000)]
ITS#10170 accesslog: skip response if not fully initialized yet
Quanah Gibson-Mount [Tue, 6 Feb 2024 17:07:52 +0000 (17:07 +0000)]
ITS#10163 - Regenerate configure
Howard Chu [Sun, 4 Feb 2024 18:50:04 +0000 (18:50 +0000)]
ITS#7400 memberof: note consumers must use exattr
to exclude the memberof attribute from replication
Howard Chu [Thu, 1 Feb 2024 18:58:50 +0000 (18:58 +0000)]
ITS#10167 slapo-memberof: add addcheck option
Check memberships of newly added entries.
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
Howard Chu [Mon, 5 Feb 2024 14:17:25 +0000 (14:17 +0000)]
Review tweak (squash this)
Howard Chu [Mon, 5 Feb 2024 14:09:17 +0000 (14:09 +0000)]
Review tweaks (squash this)
Howard Chu [Tue, 30 Jan 2024 22:37:52 +0000 (22:37 +0000)]
ITS#10163 cleanup configure/tests integration
Streamline backend/overlay definition.
Howard Chu [Mon, 5 Feb 2024 15:54:03 +0000 (15:54 +0000)]
slapo-autogroup: fix typo in Debug msg
Made in
1cf39a8568fb9b64518aaa7618e20e8cf7084006
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
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
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
johan pascal [Fri, 26 Jan 2024 10:24:25 +0000 (11:24 +0100)]
ITS#10014 Non blocking TLS session accept for mbedtls handle
Ondřej Kuzník [Thu, 25 Jan 2024 12:50:34 +0000 (12:50 +0000)]
ITS#10139 back-config: Honour disclose in matchedDN handling
Quanah Gibson-Mount [Mon, 29 Jan 2024 18:21:14 +0000 (18:21 +0000)]
Merge remote-tracking branch 'origin/mdb.RE/0.9'
Quanah Gibson-Mount [Mon, 29 Jan 2024 18:20:26 +0000 (18:20 +0000)]
Prep for release
Howard Chu [Sun, 28 Jan 2024 04:43:44 +0000 (04:43 +0000)]
ITS#7420 clarify prev commit
Howard Chu [Sun, 28 Jan 2024 04:00:34 +0000 (04:00 +0000)]
ITS#7420 more for prev commit
On naming error, don't free modvals
Quanah Gibson-Mount [Sat, 20 Jan 2024 22:31:58 +0000 (22:31 +0000)]
Merge remote-tracking branch 'origin/mdb.RE/0.9'
Howard Chu [Sat, 20 Jan 2024 21:16:17 +0000 (21:16 +0000)]
Craig Balfour [Fri, 26 May 2023 13:51:26 +0000 (15:51 +0200)]
ITS#10059 - Add configuration example for slapo-homedir(5)
SATOH Fumiyasu [Thu, 21 Dec 2023 07:37:31 +0000 (16:37 +0900)]
ITS#10153 - slapd(8) describe -T modify (slapmodify)
Quanah Gibson-Mount [Tue, 16 Jan 2024 20:30:34 +0000 (20:30 +0000)]
ITS#10137