]>
git.ipfire.org Git - thirdparty/openldap.git/log
Ondřej Kuzník [Wed, 14 Aug 2024 09:57:42 +0000 (10:57 +0100)]
ITS#10265 Allow runtime reconfig of olcBkLloadListen
Ondřej Kuzník [Thu, 16 Jan 2025 15:27:20 +0000 (15:27 +0000)]
ITS#7249 Disallow memberof-addcheck when memberof is global
Ondřej Kuzník [Thu, 16 Jan 2025 15:26:52 +0000 (15:26 +0000)]
ITS#7249 Let backend_attribute know who's calling it
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
Ondřej Kuzník [Mon, 10 Feb 2025 14:37:45 +0000 (14:37 +0000)]
ITS#10307 Initialise last if we use it later
Ondřej Kuzník [Wed, 15 Jan 2025 12:32:58 +0000 (12:32 +0000)]
Update and clarify replication docs
Alexandre Jousset [Wed, 12 Feb 2025 17:46:55 +0000 (17:46 +0000)]
ITS#10160 - Add "neguri" and "negset" constraint types to slapo-constraint
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.
Nadezhda Ivanova [Fri, 1 Nov 2024 13:03:57 +0000 (15:03 +0200)]
ITS#9186 Add deferred ops statistics counters
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.
Nadezhda Ivanova [Mon, 28 Oct 2024 13:48:33 +0000 (15:48 +0200)]
ITS#9186 Add a counter to cn=Listener to track total number of established connections since startup
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
Ondřej Kuzník [Thu, 24 Oct 2024 15:00:09 +0000 (16:00 +0100)]
ITS#7080 Implement pre/postread for modrdn
Ondřej Kuzník [Thu, 24 Oct 2024 14:59:37 +0000 (15:59 +0100)]
ITS#7080 Do not munge path twice
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
Howard Chu [Fri, 29 Nov 2024 14:46:10 +0000 (14:46 +0000)]
ITS#10288 autoca: fix olcAutoCAserverClass config
Bjarni Ingi Gislason [Fri, 28 Jun 2024 17:23:05 +0000 (17:23 +0000)]
ITS#10226 - Fix ldap.conf(5) formatting issues
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.
Ondřej Kuzník [Tue, 22 Oct 2024 12:59:20 +0000 (13:59 +0100)]
ITS#10155 manage option values more carefully
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.
Ondřej Kuzník [Thu, 3 Oct 2024 11:39:52 +0000 (12:39 +0100)]
ITS#10263 Reject modifications with invalid whitespace
Ondřej Kuzník [Wed, 23 Oct 2024 09:19:57 +0000 (10:19 +0100)]
ITS#9393 Expose and document ldap_pvt_put_filter
Ondřej Kuzník [Mon, 21 Oct 2024 13:58:23 +0000 (14:58 +0100)]
ITS#9042 Log modify values under STATS2
Nadezhda Ivanova [Fri, 18 Oct 2024 11:48:35 +0000 (14:48 +0300)]
ITS#9914 Add OS pagesize to the back-mdb monitor information
Page size is now provided with the olmMDBPageSize attribute.
Ondřej Kuzník [Wed, 2 Oct 2024 12:23:44 +0000 (13:23 +0100)]
ITS#10264 Free NoD data we stored locally
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.