]>
git.ipfire.org Git - thirdparty/openldap.git/log
Greg Burd [Thu, 10 Aug 2023 16:39:15 +0000 (12:39 -0400)]
convert Debug to use config args
Howard Chu [Fri, 18 Mar 2022 16:34:40 +0000 (16:34 +0000)]
Use ConfigArgs in ACL parsing
For better error propagation back to config clients, also
remove unconditional use of stderr.
parse_acl() was only partially converted, the rest remains to be done.
Howard Chu [Tue, 22 Mar 2022 16:01:59 +0000 (16:01 +0000)]
Use ConfigArgs in slapi config parsing
Greg Burd [Tue, 8 Aug 2023 15:08:22 +0000 (11:08 -0400)]
Allow caller to determine if the process should exit or not when the regex is found to be problematic.
Ondřej Kuzník [Tue, 25 Jul 2023 10:08:30 +0000 (11:08 +0100)]
ITS#10045 Make sure we only unpause when paused
Quanah Gibson-Mount [Thu, 27 Jul 2023 17:20:57 +0000 (17:20 +0000)]
ITS#10086 - Fix incorrect configurations in test
Fix test to be valid
Ondřej Kuzník [Wed, 19 Jul 2023 16:04:48 +0000 (17:04 +0100)]
ITS#10083 Do not mess with a connection that's dying already
Nadezhda Ivanova [Fri, 30 Jun 2023 12:52:48 +0000 (15:52 +0300)]
ITS#10076 suffixmassage in back-asyncmeta does not handle empty remote suffix correctly
Ondřej Kuzník [Wed, 21 Jun 2023 09:36:37 +0000 (10:36 +0100)]
ITS#10060 Try harder to find a finished operation with msgid=LDAP_RES_ANY
Ondřej Kuzník [Wed, 21 Jun 2023 09:34:32 +0000 (10:34 +0100)]
ITS#10060 Return tag of last message if all=LDAP_MSG_ALL
Ondřej Kuzník [Thu, 22 Jun 2023 15:20:22 +0000 (16:20 +0100)]
ITS#10070 Allow running without a valid resolv.conf file
Quanah Gibson-Mount [Mon, 10 Jul 2023 16:22:45 +0000 (16:22 +0000)]
Merge remote-tracking branch 'origin/mdb.RE/0.9'
Quanah Gibson-Mount [Mon, 10 Jul 2023 16:09:21 +0000 (16:09 +0000)]
Update release date for LMDB 0.9.31
Quanah Gibson-Mount [Mon, 26 Jun 2023 16:54:11 +0000 (16:54 +0000)]
Prep for release
Ondřej Kuzník [Tue, 20 Jun 2023 08:13:32 +0000 (09:13 +0100)]
ITS#10068 keep our own copy of the DN
Ondřej Kuzník [Mon, 19 Jun 2023 14:41:09 +0000 (15:41 +0100)]
ITS#10067 Account for mods being optional
Ondřej Kuzník [Thu, 23 Feb 2023 12:07:09 +0000 (12:07 +0000)]
ITS#9343 Adapt documentation to explain new behaviour
Ondřej Kuzník [Tue, 21 Feb 2023 16:44:34 +0000 (16:44 +0000)]
ITS#9343 More policy selection criteria
Ondřej Kuzník [Tue, 21 Feb 2023 13:45:44 +0000 (13:45 +0000)]
ITS#9343 Check for objectclasss when retrieving policy
Ondřej Kuzník [Tue, 21 Feb 2023 13:49:31 +0000 (13:49 +0000)]
ITS#10013 Fix slapo-ppolicy control handling
Ondřej Kuzník [Tue, 21 Feb 2023 13:38:32 +0000 (13:38 +0000)]
ITS#10064 Allow renaming of Cft_Misc entries
Quanah Gibson-Mount [Fri, 2 Jun 2023 15:34:20 +0000 (15:34 +0000)]
ITS#10063 - regenerate configure
Quanah Gibson-Mount [Fri, 2 Jun 2023 13:56:59 +0000 (13:56 +0000)]
ITS#10063 - Fix typo in configure variable
Howard Chu [Fri, 19 May 2023 15:37:14 +0000 (16:37 +0100)]
ITS#9952 libldap: use atexit for TLS teardown
Quanah Gibson-Mount [Thu, 25 May 2023 17:03:58 +0000 (17:03 +0000)]
ITS#10057 - homedir: Fix config attribute name
Fix config attribute name for olcHomedirArchivePath
Quanah Gibson-Mount [Thu, 25 May 2023 19:38:28 +0000 (19:38 +0000)]
Merge remote-tracking branch 'origin/mdb.RE/0.9'
Quanah Gibson-Mount [Thu, 25 May 2023 19:37:01 +0000 (19:37 +0000)]
ITS#8447
Howard Chu [Mon, 6 Mar 2023 16:47:44 +0000 (16:47 +0000)]
ITS#8447 fix cursor_put(MDB_CURRENT) on DUPSORT DB with different-sized data
Ian Puleston [Thu, 16 Mar 2023 20:09:48 +0000 (13:09 -0700)]
ITS#10023 libldap: fix asynch connects
This is option #1
Ondřej Kuzník [Thu, 25 May 2023 15:36:18 +0000 (16:36 +0100)]
Fix hanging indent in slapo-ldap manpage
Ondřej Kuzník [Wed, 24 May 2023 12:20:05 +0000 (13:20 +0100)]
Check slapadd result before continuing with test
Quanah Gibson-Mount [Mon, 15 May 2023 20:53:53 +0000 (20:53 +0000)]
fix typo in lload.conf.5 cerificate -> certificate
Quanah Gibson-Mount [Mon, 15 May 2023 20:11:50 +0000 (20:11 +0000)]
ITS#10014, ITS#10039, ITS#10053 - Regenerate configure
orbea [Wed, 12 Apr 2023 19:55:46 +0000 (12:55 -0700)]
ITS#10039 Test for SSL_CTX_set_ciphersuites()
When configuring OpenLDAP using --with-tls=openssl with LibreSSL the
configure will fail to detect SSL_export_keyring_material_early() since
LibreSSL doesn't support this function yet. However OpenLDAP doesn't
actually use this function and only checks for it to ensure a modern
OpenSSL API is used. This can be easily solved by checking for an
equivalent modern OpenSSL function which both LibreSSL and OpenSSL both
support such as SSL_CTX_set_ciphersuites(). Doing this allows the build
and tests to succeed with modern LibreSSL versions. This was tested with
LibreSSL >= 3.6.
Bug: https://bugs.openldap.org/show_bug.cgi?id=10039
Howard Chu [Tue, 9 May 2023 13:38:13 +0000 (14:38 +0100)]
ITS#10047 back-mdb: fix indexer resume on slapd restart
when overlays are in use on the database
Howard Chu [Tue, 9 May 2023 13:36:25 +0000 (14:36 +0100)]
ITS#10047 back-mdb: delete idxckp table after slapindex
Could do it when beginning too, either way an interrupted slapindex
must be rerun completely.
Ondřej Kuzník [Tue, 9 May 2023 12:58:54 +0000 (13:58 +0100)]
ITS#10046 Update manpage
Ondřej Kuzník [Tue, 9 May 2023 12:11:46 +0000 (13:11 +0100)]
ITS#10048 Improve regex config error handling
Ondřej Kuzník [Tue, 9 May 2023 12:10:27 +0000 (13:10 +0100)]
ITS#9855 Adapt other contrib module's tests
Ondřej Kuzník [Mon, 15 May 2023 11:31:15 +0000 (12:31 +0100)]
ITS#10053 Remove irrelevant dependency and file
Ondřej Kuzník [Mon, 24 Apr 2023 11:32:05 +0000 (12:32 +0100)]
ITS#10041 Restrict group searching
Quanah Gibson-Mount [Thu, 27 Apr 2023 16:31:58 +0000 (16:31 +0000)]
ITS#10033 - Remove references to back-bdb/hdb cachesize parameter
Ondřej Kuzník [Thu, 20 Apr 2023 10:04:08 +0000 (11:04 +0100)]
ITS#10042 Call monitor_cache_release exactly once
Ondřej Kuzník [Thu, 27 Apr 2023 14:24:03 +0000 (15:24 +0100)]
ITS#10045 Also check for abandon when things have settled
Howard Chu [Tue, 18 Apr 2023 09:35:52 +0000 (10:35 +0100)]
ITS#10036 slapd: fix parsing of session tracking control
Was erroneously treating IPv6 addrs beginning with ':' as unprintable.
Howard Chu [Tue, 18 Apr 2023 09:01:49 +0000 (10:01 +0100)]
ITS#10036 support IPv6 addresses in session tracking control
Connect to server first, so we know what IP address to use.
Reorder some option setup so they occur before the connection
attempt.
Ondřej Kuzník [Thu, 13 Apr 2023 15:12:47 +0000 (16:12 +0100)]
ITS#10037 Update argon2 README
johan pascal [Thu, 2 Mar 2023 09:51:19 +0000 (10:51 +0100)]
ITS#10014: Add TLS handle using MbedTLS
Ondřej Kuzník [Tue, 28 Mar 2023 13:48:41 +0000 (14:48 +0100)]
ITS#10032 Use the correct ocs field
Ian Puleston [Thu, 30 Mar 2023 20:04:50 +0000 (13:04 -0700)]
ITS#10035 Fix setting TLSv1.3 ciphersuite
Ondřej Kuzník [Tue, 28 Mar 2023 13:46:22 +0000 (14:46 +0100)]
ITS#10031 Adjust *err if we free it
HAMANO Tsukasa [Fri, 24 Mar 2023 02:24:15 +0000 (11:24 +0900)]
ITS#10028 - crash with pwdMinDelay
Howard Chu [Mon, 27 Feb 2023 15:01:23 +0000 (15:01 +0000)]
ITS#10016: slapo-syncprov: fix Abandon with active qtask
Howard Chu [Wed, 22 Feb 2023 11:33:16 +0000 (11:33 +0000)]
ITS#10015 libldap: fix KEEPALIVE opts from ITS#9490
Ondřej Kuzník [Thu, 16 Feb 2023 14:50:43 +0000 (14:50 +0000)]
ITS#9953 Check for push replication
Howard Chu [Thu, 2 Feb 2023 15:32:11 +0000 (15:32 +0000)]
ITS#10004: librewrite: plug potential ld leak in ldapmap
Howard Chu [Thu, 2 Feb 2023 15:28:22 +0000 (15:28 +0000)]
ITS#10003: ldap_open_internal_connection: fix mutex usage
Note: this is a non-standard function with no use cases
Howard Chu [Thu, 2 Feb 2023 15:19:46 +0000 (15:19 +0000)]
ITS#10000 slapd-watcher: plug potential leak
Howard Chu [Thu, 2 Feb 2023 15:18:24 +0000 (15:18 +0000)]
ITS#9999 slapd-search: plug potential leak
Howard Chu [Thu, 2 Feb 2023 15:17:28 +0000 (15:17 +0000)]
ITS#9998 slapd-mtread: plug potential leak
Howard Chu [Thu, 2 Feb 2023 15:12:55 +0000 (15:12 +0000)]
ITS#9997 syncrepl: plug potential leak in changelog search
Note this is only used with changelog, which is nonstandard and obsolete.
Howard Chu [Thu, 2 Feb 2023 15:08:34 +0000 (15:08 +0000)]
\ITS#9996 librewrite plug potential leak in ldapmap map_ldap_apply()
Howard Chu [Thu, 2 Feb 2023 15:03:51 +0000 (15:03 +0000)]
ITS#9995 ldapdelete: plug potential search leak
Дилян Палаузов [Wed, 25 Jan 2023 13:26:20 +0000 (15:26 +0200)]
ITS#9989 Keep .pc files on «make clean»
Quanah Gibson-Mount [Wed, 15 Feb 2023 18:35:50 +0000 (18:35 +0000)]
ITS#10011 -- Regenerate configure
Quanah Gibson-Mount [Mon, 13 Feb 2023 20:04:45 +0000 (20:04 +0000)]
Return to engineering
Sam James [Thu, 9 Feb 2023 23:20:51 +0000 (23:20 +0000)]
ITS#10011 servers: fix -Wstrict-prototypes
For more information, see LWN.net [0] or LLVM's Discourse [1], the Gentoo wiki [2],
or the (new) c-std-porting mailing list [3].
[0] https://lwn.net/Articles/913505/
[1] https://discourse.llvm.org/t/configure-script-breakage-with-the-new-werror-implicit-function-declaration/65213
[2] https://wiki.gentoo.org/wiki/Modern_C_porting
[3] hosted at lists.linux.dev.
Signed-off-by: Sam James <sam@gentoo.org>
Sam James [Thu, 9 Feb 2023 23:20:32 +0000 (23:20 +0000)]
ITS#10011 contrib: fix old-style K&R declarations
Removed in C23.
For more information, see LWN.net [0] or LLVM's Discourse [1], the Gentoo wiki [2],
or the (new) c-std-porting mailing list [3].
[0] https://lwn.net/Articles/913505/
[1] https://discourse.llvm.org/t/configure-script-breakage-with-the-new-werror-implicit-function-declaration/65213
[2] https://wiki.gentoo.org/wiki/Modern_C_porting
[3] hosted at lists.linux.dev.
Signed-off-by: Sam James <sam@gentoo.org>
Sam James [Thu, 9 Feb 2023 23:17:53 +0000 (23:17 +0000)]
ITS#10011 build: fix compatibility with stricter C99 compilers
Fix the following warnings:
- -Wimplicit-int (fatal with Clang 16)
- -Wimplicit-function-declaration (fatal with Clang 16)
- -Wincompatible-function-pointer-types (fatal with Clang 16)
- -Wint-conversion (fatal with Clang 15)
- Old style prototypes (K&R, removed from C23)
These warnings-now-error led to misconfigurations and failure to build
OpenLDAP, as the tests used during configure caused the wrong results
to be emitted.
For more information, see LWN.net [0] or LLVM's Discourse [1], the Gentoo wiki [2],
or the (new) c-std-porting mailing list [3].
[0] https://lwn.net/Articles/913505/
[1] https://discourse.llvm.org/t/configure-script-breakage-with-the-new-werror-implicit-function-declaration/65213
[2] https://wiki.gentoo.org/wiki/Modern_C_porting
[3] hosted at lists.linux.dev.
Bug: https://bugs.gentoo.org/871288
Signed-off-by: Sam James <sam@gentoo.org>
Quanah Gibson-Mount [Wed, 8 Feb 2023 18:46:30 +0000 (18:46 +0000)]
Merge remote-tracking branch 'origin/mdb.RE/0.9'
Quanah Gibson-Mount [Wed, 8 Feb 2023 18:41:37 +0000 (18:41 +0000)]
Update MDB_VERSION_DATE for the release
Quanah Gibson-Mount [Wed, 8 Feb 2023 18:40:04 +0000 (18:40 +0000)]
Update release date for 0.9.30
Howard Chu [Wed, 1 Feb 2023 20:30:22 +0000 (20:30 +0000)]
ITS#9993 fix online_indexer termination/cleanup
Ondřej Kuzník [Wed, 1 Feb 2023 11:41:36 +0000 (11:41 +0000)]
ITS#9990 Preserve callbacks added already
Quanah Gibson-Mount [Mon, 30 Jan 2023 22:06:06 +0000 (22:06 +0000)]
ITS#9718 - Fix nonportable sed usage
Quanah Gibson-Mount [Thu, 19 Jan 2023 16:10:52 +0000 (16:10 +0000)]
ITS#9985 - Fix module name to pw-totp
Howard Chu [Mon, 30 Jan 2023 13:23:13 +0000 (13:23 +0000)]
ITS#9991 send_ldap_ber: make sure we're only closing our own connection
Ondřej Kuzník [Mon, 30 Jan 2023 12:06:24 +0000 (12:06 +0000)]
ITS#8102 Do not continue if deconfigured during pause
Ondřej Kuzník [Mon, 30 Jan 2023 10:26:23 +0000 (10:26 +0000)]
ITS#9930 Do not reschedule consumers that are shutting down
Ondřej Kuzník [Mon, 23 Jan 2023 11:48:33 +0000 (11:48 +0000)]
ITS#9045 rlock only if there may be other threads
We can't rlock if we've registered ourselves as a writer. We can only
figure that out by checking if we're the thread that initiated the
pause: is the server paused already?
Ondřej Kuzník [Wed, 18 Jan 2023 12:28:05 +0000 (12:28 +0000)]
ITS#9930 Just wait until si_mutex is ready
We're in a much better place now and there is only a single task active
for a given syncinfo_t plus the task that's just scheduled it and is
wrapping up. Any remaining times this wouldn't be true are probably bugs
to be fixed.
Ondřej Kuzník [Wed, 18 Jan 2023 13:05:47 +0000 (13:05 +0000)]
ITS#9983 Also fix c_refcnt sequencing
Ondřej Kuzník [Wed, 18 Jan 2023 13:03:23 +0000 (13:03 +0000)]
ITS#9983 Rework op->o_refcnt decref sequencing
epoch_append should be called at the point the object is not reachable
anymore, otherwise a thread from a "future" might still access it post
reclamation.
Ondřej Kuzník [Wed, 18 Jan 2023 12:57:02 +0000 (12:57 +0000)]
ITS#9984 Keep listener base around even if not active
Quanah Gibson-Mount [Wed, 11 Jan 2023 17:03:55 +0000 (17:03 +0000)]
Fix options for olcIndexHash64
Use cn=config format of TRUE/FALSE instead of slapd.conf format on/off
Howard Chu [Mon, 9 Jan 2023 18:05:36 +0000 (18:05 +0000)]
ITS#9976 doc: ldap_sasl_bind: mention ber_bvfree
Дилян Палаузов [Sun, 18 Dec 2022 12:27:41 +0000 (14:27 +0200)]
typo unsuccesSful, presense/presence, accessSlog
Howard Chu [Mon, 12 Dec 2022 11:50:43 +0000 (11:50 +0000)]
ITS#9957 slapo-dynlist: more explicit config doc
Howard Chu [Sun, 25 Dec 2022 11:21:32 +0000 (11:21 +0000)]
ITS#9966 slapo-pcache: fix crash in consistency_check
Howard Chu [Thu, 15 Dec 2022 10:05:54 +0000 (10:05 +0000)]
ITS#9960 slapo-dynlist: mark internal searches as internal
Howard Chu [Thu, 15 Dec 2022 09:36:58 +0000 (09:36 +0000)]
ITS#9961 LMDB: fix MSVC error
Howard Chu [Tue, 22 Nov 2022 19:46:21 +0000 (19:46 +0000)]
ITS#9880 slapo-accesslog: fix reqStart ordering filter
Same as ITS#9358 but for ordering matching rule, not just equality
Quanah Gibson-Mount [Mon, 5 Dec 2022 16:21:51 +0000 (16:21 +0000)]
Merge remote-tracking branch 'origin/mdb.RE/0.9'
Howard Chu [Wed, 30 Nov 2022 19:28:04 +0000 (19:28 +0000)]
ITS#9929 plug memleaks
Howard Chu [Wed, 30 Nov 2022 18:14:15 +0000 (18:14 +0000)]
ITS#9121 dynlist: cleanup unused code
Howard Chu [Mon, 14 Nov 2022 17:48:24 +0000 (17:48 +0000)]
ITS#9929 preserve e_name for memberOf values
Howard Chu [Thu, 3 Nov 2022 17:42:36 +0000 (17:42 +0000)]
ITS#9929: more performance tweaks
For simple (non-nested) member compares, avoid unnecessary fetches
of dyngroups that can't match the filter.
cache filter/entry instance info across multiple dyn entries to
avoid refetching each filter entry for each dyngruop test.
Howard Chu [Wed, 19 Oct 2022 15:21:42 +0000 (16:21 +0100)]
ITS#9929 slapo-dynlist: more performance tweaks
Minimize cost of dynamic lists while still making them filterable:
require their attrs to be explicitly mapped if filtering is to be supported.
Also check config scope in compare op
Howard Chu [Thu, 24 Nov 2022 21:32:51 +0000 (21:32 +0000)]
ITS#9955 liblunicode: fix buffer size in UTF8bvnormalize
output buffer may overrun 1 byte for specially crafted approxMatch search filters.
Not exploitable, no operational or security impact.
Howard Chu [Mon, 28 Nov 2022 23:41:00 +0000 (23:41 +0000)]
ITS#9916