]> git.ipfire.org Git - thirdparty/openldap.git/log
thirdparty/openldap.git
2 years agoITS#10063 - Fix typo in configure variable
Quanah Gibson-Mount [Fri, 2 Jun 2023 13:56:59 +0000 (13:56 +0000)] 
ITS#10063 - Fix typo in configure variable

2 years agoMerge remote-tracking branch 'origin/mdb.RE/0.9' into OPENLDAP_REL_ENG_2_5
Quanah Gibson-Mount [Thu, 25 May 2023 19:40:05 +0000 (19:40 +0000)] 
Merge remote-tracking branch 'origin/mdb.RE/0.9' into OPENLDAP_REL_ENG_2_5

2 years agoMerge remote-tracking branch 'origin/mdb.RE/0.9' into OPENLDAP_REL_ENG_2_5
Quanah Gibson-Mount [Thu, 25 May 2023 19:38:55 +0000 (19:38 +0000)] 
Merge remote-tracking branch 'origin/mdb.RE/0.9' into OPENLDAP_REL_ENG_2_5

2 years agoITS#8447
Quanah Gibson-Mount [Thu, 25 May 2023 19:37:01 +0000 (19:37 +0000)] 
ITS#8447

2 years agoITS#8447 fix cursor_put(MDB_CURRENT) on DUPSORT DB with different-sized data
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

2 years agoITS#10023
Quanah Gibson-Mount [Thu, 25 May 2023 19:05:24 +0000 (19:05 +0000)] 
ITS#10023

2 years agoITS#10023 libldap: fix asynch connects
Ian Puleston [Thu, 16 Mar 2023 20:09:48 +0000 (13:09 -0700)] 
ITS#10023 libldap: fix asynch connects

This is option #1

2 years agoFix hanging indent in slapo-ldap manpage
Ondřej Kuzník [Thu, 25 May 2023 15:36:18 +0000 (16:36 +0100)] 
Fix hanging indent in slapo-ldap manpage

2 years agoCheck slapadd result before continuing with test
Ondřej Kuzník [Wed, 24 May 2023 12:20:05 +0000 (13:20 +0100)] 
Check slapadd result before continuing with test

2 years agoITS#10039
Quanah Gibson-Mount [Tue, 16 May 2023 16:55:47 +0000 (16:55 +0000)] 
ITS#10039

2 years agoITS#10039 - Regenerate configure
Quanah Gibson-Mount [Tue, 16 May 2023 16:55:32 +0000 (16:55 +0000)] 
ITS#10039 - Regenerate configure

2 years agoITS#10039 Test for SSL_CTX_set_ciphersuites()
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

2 years agofix typo in lload.conf.5 cerificate -> certificate
Quanah Gibson-Mount [Mon, 15 May 2023 20:53:53 +0000 (20:53 +0000)] 
fix typo in lload.conf.5 cerificate -> certificate

2 years agoITS#10046
Quanah Gibson-Mount [Mon, 15 May 2023 19:19:40 +0000 (19:19 +0000)] 
ITS#10046

2 years agoITS#10046 Update manpage
Ondřej Kuzník [Tue, 9 May 2023 12:58:54 +0000 (13:58 +0100)] 
ITS#10046 Update manpage

2 years agoITS#10048
Quanah Gibson-Mount [Mon, 15 May 2023 19:01:49 +0000 (19:01 +0000)] 
ITS#10048

2 years agoITS#10048 Improve regex config error handling
Ondřej Kuzník [Tue, 9 May 2023 12:11:46 +0000 (13:11 +0100)] 
ITS#10048 Improve regex config error handling

2 years agoITS#9855
Quanah Gibson-Mount [Mon, 15 May 2023 18:48:43 +0000 (18:48 +0000)] 
ITS#9855

2 years agoITS#9855 Adapt other contrib module's tests
Ondřej Kuzník [Tue, 9 May 2023 12:10:27 +0000 (13:10 +0100)] 
ITS#9855 Adapt other contrib module's tests

2 years agoITS#10041
Quanah Gibson-Mount [Mon, 15 May 2023 17:58:06 +0000 (17:58 +0000)] 
ITS#10041

2 years agoITS#10041 Restrict group searching
Ondřej Kuzník [Mon, 24 Apr 2023 11:32:05 +0000 (12:32 +0100)] 
ITS#10041 Restrict group searching

2 years agoITS#10033
Quanah Gibson-Mount [Mon, 15 May 2023 17:46:50 +0000 (17:46 +0000)] 
ITS#10033

2 years agoITS#10033 - Remove references to back-bdb/hdb cachesize parameter
Quanah Gibson-Mount [Thu, 27 Apr 2023 16:31:58 +0000 (16:31 +0000)] 
ITS#10033 - Remove references to back-bdb/hdb cachesize parameter

2 years agoITS#10045
Quanah Gibson-Mount [Mon, 15 May 2023 17:43:48 +0000 (17:43 +0000)] 
ITS#10045

2 years agoITS#10045 Also check for abandon when things have settled
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

2 years agoITS#10037
Quanah Gibson-Mount [Thu, 27 Apr 2023 15:48:16 +0000 (15:48 +0000)] 
ITS#10037

2 years agoITS#10037 Update argon2 README
Ondřej Kuzník [Thu, 13 Apr 2023 15:12:47 +0000 (16:12 +0100)] 
ITS#10037 Update argon2 README

2 years agoITS#10032
Quanah Gibson-Mount [Thu, 27 Apr 2023 15:44:25 +0000 (15:44 +0000)] 
ITS#10032

2 years agoITS#10032 Use the correct ocs field
Ondřej Kuzník [Tue, 28 Mar 2023 13:48:41 +0000 (14:48 +0100)] 
ITS#10032 Use the correct ocs field

2 years agoITS#10035
Quanah Gibson-Mount [Thu, 27 Apr 2023 15:38:17 +0000 (15:38 +0000)] 
ITS#10035

2 years agoITS#10035 Fix setting TLSv1.3 ciphersuite
Ian Puleston [Thu, 30 Mar 2023 20:04:50 +0000 (13:04 -0700)] 
ITS#10035 Fix setting TLSv1.3 ciphersuite

2 years agoITS#10030
Quanah Gibson-Mount [Thu, 27 Apr 2023 15:35:56 +0000 (15:35 +0000)] 
ITS#10030

2 years agoITS#9436,ITS#10030 libldap: OpenSSL 3.0 compat
Howard Chu [Wed, 2 Feb 2022 18:11:27 +0000 (18:11 +0000)] 
ITS#9436,ITS#10030 libldap: OpenSSL 3.0 compat

Add OpenSSL 3.0 compatibility to OpenLDAP 2.5 series

2 years agoITS#10031
Quanah Gibson-Mount [Thu, 27 Apr 2023 15:14:18 +0000 (15:14 +0000)] 
ITS#10031

2 years agoITS#10031 Adjust *err if we free it
Ondřej Kuzník [Tue, 28 Mar 2023 13:46:22 +0000 (14:46 +0100)] 
ITS#10031 Adjust *err if we free it

2 years agoITS#10028
Quanah Gibson-Mount [Thu, 27 Apr 2023 15:12:25 +0000 (15:12 +0000)] 
ITS#10028

2 years agoITS#10028 - crash with pwdMinDelay
HAMANO Tsukasa [Fri, 24 Mar 2023 02:24:15 +0000 (11:24 +0900)] 
ITS#10028 - crash with pwdMinDelay

2 years agoITS#10016
Quanah Gibson-Mount [Thu, 27 Apr 2023 15:10:43 +0000 (15:10 +0000)] 
ITS#10016

2 years agoITS#10016: slapo-syncprov: fix Abandon with active qtask
Howard Chu [Mon, 27 Feb 2023 15:01:23 +0000 (15:01 +0000)] 
ITS#10016: slapo-syncprov: fix Abandon with active qtask

2 years agoITS#10015
Quanah Gibson-Mount [Thu, 27 Apr 2023 15:06:02 +0000 (15:06 +0000)] 
ITS#10015

2 years agoITS#10015 libldap: fix KEEPALIVE opts from ITS#9490
Howard Chu [Wed, 22 Feb 2023 11:33:16 +0000 (11:33 +0000)] 
ITS#10015 libldap: fix KEEPALIVE opts from ITS#9490

2 years agoITS#9953
Quanah Gibson-Mount [Thu, 27 Apr 2023 15:03:17 +0000 (15:03 +0000)] 
ITS#9953

2 years agoITS#9953 Check for push replication
Ondřej Kuzník [Thu, 16 Feb 2023 14:50:43 +0000 (14:50 +0000)] 
ITS#9953 Check for push replication

2 years agoITS#10004
Quanah Gibson-Mount [Wed, 26 Apr 2023 17:33:19 +0000 (17:33 +0000)] 
ITS#10004

2 years agoITS#10004: librewrite: plug potential ld leak in ldapmap
Howard Chu [Thu, 2 Feb 2023 15:32:11 +0000 (15:32 +0000)] 
ITS#10004: librewrite: plug potential ld leak in ldapmap

2 years agoITS#10003
Quanah Gibson-Mount [Wed, 26 Apr 2023 17:32:49 +0000 (17:32 +0000)] 
ITS#10003

2 years agoITS#10003: ldap_open_internal_connection: fix mutex usage
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

2 years agoITS#10000
Quanah Gibson-Mount [Wed, 26 Apr 2023 17:32:20 +0000 (17:32 +0000)] 
ITS#10000

2 years agoITS#10000 slapd-watcher: plug potential leak
Howard Chu [Thu, 2 Feb 2023 15:19:46 +0000 (15:19 +0000)] 
ITS#10000 slapd-watcher: plug potential leak

2 years agoITS#9999
Quanah Gibson-Mount [Wed, 26 Apr 2023 17:31:39 +0000 (17:31 +0000)] 
ITS#9999

2 years agoITS#9999 slapd-search: plug potential leak
Howard Chu [Thu, 2 Feb 2023 15:18:24 +0000 (15:18 +0000)] 
ITS#9999 slapd-search: plug potential leak

2 years agoITS#9998
Quanah Gibson-Mount [Wed, 26 Apr 2023 17:31:08 +0000 (17:31 +0000)] 
ITS#9998

2 years agoITS#9998 slapd-mtread: plug potential leak
Howard Chu [Thu, 2 Feb 2023 15:17:28 +0000 (15:17 +0000)] 
ITS#9998 slapd-mtread: plug potential leak

2 years agoITS#9997
Quanah Gibson-Mount [Wed, 26 Apr 2023 16:44:30 +0000 (16:44 +0000)] 
ITS#9997

2 years agoITS#9997 syncrepl: plug potential leak in changelog search
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.

2 years agoITS#9996
Quanah Gibson-Mount [Wed, 26 Apr 2023 16:43:49 +0000 (16:43 +0000)] 
ITS#9996

2 years agoITS#9996 librewrite plug potential leak in ldapmap map_ldap_apply()
Howard Chu [Thu, 2 Feb 2023 15:08:34 +0000 (15:08 +0000)] 
ITS#9996 librewrite plug potential leak in ldapmap map_ldap_apply()

2 years agoITS#9995 ldapdelete: plug potential search leak
Howard Chu [Thu, 2 Feb 2023 15:03:51 +0000 (15:03 +0000)] 
ITS#9995 ldapdelete: plug potential search leak

2 years agoITS#9989
Quanah Gibson-Mount [Mon, 24 Apr 2023 18:47:27 +0000 (18:47 +0000)] 
ITS#9989

2 years agoITS#9989 Keep .pc files on «make clean»
Дилян Палаузов [Wed, 25 Jan 2023 13:26:20 +0000 (15:26 +0200)] 
ITS#9989 Keep .pc files on «make clean»

2 years agoITS#10011
Quanah Gibson-Mount [Mon, 24 Apr 2023 18:45:53 +0000 (18:45 +0000)] 
ITS#10011

2 years agoITS#10011 - Regenerate configure
Quanah Gibson-Mount [Mon, 24 Apr 2023 18:45:40 +0000 (18:45 +0000)] 
ITS#10011 - Regenerate configure

2 years agoITS#10011 servers: fix -Wstrict-prototypes
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>
2 years agoITS#10011 contrib: fix old-style K&R declarations
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>
2 years agoITS#10011 build: fix compatibility with stricter C99 compilers
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>
2 years agoITS#9990
Quanah Gibson-Mount [Mon, 17 Apr 2023 18:43:44 +0000 (18:43 +0000)] 
ITS#9990

2 years agoITS#9990 Preserve callbacks added already
Ondřej Kuzník [Wed, 1 Feb 2023 11:41:36 +0000 (11:41 +0000)] 
ITS#9990 Preserve callbacks added already

2 years agoReturn to engineering
Quanah Gibson-Mount [Mon, 13 Feb 2023 20:04:45 +0000 (20:04 +0000)] 
Return to engineering

2 years agoReturn to engineering
Quanah Gibson-Mount [Mon, 13 Feb 2023 20:04:22 +0000 (20:04 +0000)] 
Return to engineering

2 years agoPrep for release (2.5.14) OPENLDAP_REL_ENG_2_5_14
Quanah Gibson-Mount [Wed, 8 Feb 2023 18:49:18 +0000 (18:49 +0000)] 
Prep for release (2.5.14)

2 years agoMerge remote-tracking branch 'origin/mdb.RE/0.9' into OPENLDAP_REL_ENG_2_5
Quanah Gibson-Mount [Wed, 8 Feb 2023 18:46:46 +0000 (18:46 +0000)] 
Merge remote-tracking branch 'origin/mdb.RE/0.9' into OPENLDAP_REL_ENG_2_5

2 years agoUpdate MDB_VERSION_DATE for the release LMDB_0.9.30
Quanah Gibson-Mount [Wed, 8 Feb 2023 18:41:37 +0000 (18:41 +0000)] 
Update MDB_VERSION_DATE for the release

2 years agoUpdate release date for 0.9.30
Quanah Gibson-Mount [Wed, 8 Feb 2023 18:40:04 +0000 (18:40 +0000)] 
Update release date for 0.9.30

2 years agoITS#9718 - Fix nonportable sed usage
Quanah Gibson-Mount [Mon, 30 Jan 2023 23:00:30 +0000 (23:00 +0000)] 
ITS#9718 - Fix nonportable sed usage

2 years agoITS#9985
Quanah Gibson-Mount [Mon, 30 Jan 2023 19:06:27 +0000 (19:06 +0000)] 
ITS#9985

2 years agoITS#9985 - Fix module name to pw-totp
Quanah Gibson-Mount [Thu, 19 Jan 2023 16:10:52 +0000 (16:10 +0000)] 
ITS#9985 - Fix module name to pw-totp

2 years agoITS#9991
Quanah Gibson-Mount [Mon, 30 Jan 2023 19:05:03 +0000 (19:05 +0000)] 
ITS#9991

2 years agoITS#9991 send_ldap_ber: make sure we're only closing our own connection
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

2 years agoITS#8102
Quanah Gibson-Mount [Mon, 30 Jan 2023 19:03:08 +0000 (19:03 +0000)] 
ITS#8102

2 years agoITS#8102 Do not continue if deconfigured during pause
Ondřej Kuzník [Mon, 30 Jan 2023 12:06:24 +0000 (12:06 +0000)] 
ITS#8102 Do not continue if deconfigured during pause

2 years agoITS#9930 Do not reschedule consumers that are shutting down
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

2 years agoITS#9045
Quanah Gibson-Mount [Mon, 30 Jan 2023 18:59:59 +0000 (18:59 +0000)] 
ITS#9045

2 years agoITS#9045 rlock only if there may be other threads
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?

2 years agoRevert "Revert "ITS#9045 Do not share cn=config entries with outside code""
Quanah Gibson-Mount [Mon, 30 Jan 2023 18:58:16 +0000 (18:58 +0000)] 
Revert "Revert "ITS#9045 Do not share cn=config entries with outside code""

This reverts commit 393308ac1c3eb9d65b682c06826d60a0bf856070.

2 years agoITS#9930 Just wait until si_mutex is ready
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.

2 years agoITS#9983
Quanah Gibson-Mount [Thu, 19 Jan 2023 17:49:30 +0000 (17:49 +0000)] 
ITS#9983

2 years agoITS#9983 Also fix c_refcnt sequencing
Ondřej Kuzník [Wed, 18 Jan 2023 13:05:47 +0000 (13:05 +0000)] 
ITS#9983 Also fix c_refcnt sequencing

2 years agoITS#9983 Rework op->o_refcnt decref 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.

2 years agoITS#9984
Quanah Gibson-Mount [Thu, 19 Jan 2023 17:47:25 +0000 (17:47 +0000)] 
ITS#9984

2 years agoITS#9984 Keep listener base around even if not active
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

2 years agoFix options for olcIndexHash64
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

2 years agoITS#9976
Quanah Gibson-Mount [Thu, 19 Jan 2023 17:45:13 +0000 (17:45 +0000)] 
ITS#9976

2 years agoITS#9976 doc: ldap_sasl_bind: mention ber_bvfree
Howard Chu [Mon, 9 Jan 2023 18:05:36 +0000 (18:05 +0000)] 
ITS#9976 doc: ldap_sasl_bind: mention ber_bvfree

2 years agotypo unsuccesSful, presense/presence, accessSlog
Дилян Палаузов [Sun, 18 Dec 2022 12:27:41 +0000 (14:27 +0200)] 
typo unsuccesSful, presense/presence, accessSlog

2 years agoITS#9957
Quanah Gibson-Mount [Thu, 19 Jan 2023 17:43:52 +0000 (17:43 +0000)] 
ITS#9957

2 years agoITS#9957 slapo-dynlist: more explicit config doc
Howard Chu [Mon, 12 Dec 2022 11:50:43 +0000 (11:50 +0000)] 
ITS#9957 slapo-dynlist: more explicit config doc

2 years agoITS#9966
Quanah Gibson-Mount [Thu, 19 Jan 2023 17:42:26 +0000 (17:42 +0000)] 
ITS#9966

2 years agoITS#9966 slapo-pcache: fix crash in consistency_check
Howard Chu [Sun, 25 Dec 2022 11:21:32 +0000 (11:21 +0000)] 
ITS#9966 slapo-pcache: fix crash in consistency_check

2 years agoITS#9960
Quanah Gibson-Mount [Thu, 19 Jan 2023 17:40:00 +0000 (17:40 +0000)] 
ITS#9960

2 years agoITS#9960 slapo-dynlist: mark internal searches as internal
Howard Chu [Thu, 15 Dec 2022 10:05:54 +0000 (10:05 +0000)] 
ITS#9960 slapo-dynlist: mark internal searches as internal