Commit Graph

24284 Commits

Author SHA1 Message Date
Howard Chu
337455eb3a ITS#9952 libldap: use atexit for TLS teardown 2023-05-31 16:04:15 +00:00
Quanah Gibson-Mount
a70f39e3aa ITS#10057 - homedir: Fix config attribute name
Fix config attribute name for olcHomedirArchivePath
2023-05-30 20:54:15 +00:00
Quanah Gibson-Mount
ffeb6f0de5 Merge remote-tracking branch 'origin/mdb.RE/0.9' 2023-05-25 19:38:28 +00:00
Quanah Gibson-Mount
887d3b3077 ITS#8447 2023-05-25 19:37:01 +00:00
Howard Chu
76bad923f7 ITS#8447 fix cursor_put(MDB_CURRENT) on DUPSORT DB with different-sized data 2023-05-25 19:33:44 +00:00
Ian Puleston
12d2382b53 ITS#10023 libldap: fix asynch connects
This is option #1
2023-05-25 16:56:00 +00:00
Ondřej Kuzník
1cfe66906a Fix hanging indent in slapo-ldap manpage 2023-05-25 16:36:18 +01:00
Ondřej Kuzník
04ca49552e Check slapadd result before continuing with test 2023-05-24 13:46:50 +01:00
Quanah Gibson-Mount
6b77544ab8 fix typo in lload.conf.5 cerificate -> certificate 2023-05-15 20:53:53 +00:00
Quanah Gibson-Mount
eee62b84a0 ITS#10014, ITS#10039, ITS#10053 - Regenerate configure 2023-05-15 20:12:24 +00:00
orbea
cb73e60a49 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
2023-05-15 19:17:51 +00:00
Howard Chu
ec3fafd1a6 ITS#10047 back-mdb: fix indexer resume on slapd restart
when overlays are in use on the database
2023-05-15 17:55:46 +00:00
Howard Chu
3271bfa1ea ITS#10047 back-mdb: delete idxckp table after slapindex
Could do it when beginning too, either way an interrupted slapindex
must be rerun completely.
2023-05-15 17:55:46 +00:00
Ondřej Kuzník
559878328d ITS#10046 Update manpage 2023-05-15 16:31:32 +00:00
Ondřej Kuzník
f0d3f31d9a ITS#10048 Improve regex config error handling 2023-05-15 16:31:32 +00:00
Ondřej Kuzník
72837dd74c ITS#9855 Adapt other contrib module's tests 2023-05-15 16:31:32 +00:00
Ondřej Kuzník
8eef957f0e ITS#10053 Remove irrelevant dependency and file 2023-05-15 13:26:49 +01:00
Ondřej Kuzník
992815ced5 ITS#10041 Restrict group searching 2023-05-05 16:55:01 +00:00
Quanah Gibson-Mount
925053a641 ITS#10033 - Remove references to back-bdb/hdb cachesize parameter 2023-04-28 14:00:30 +00:00
Ondřej Kuzník
efe0de0be6 ITS#10042 Call monitor_cache_release exactly once 2023-04-27 21:19:48 +00:00
Ondřej Kuzník
525b631e37 ITS#10045 Also check for abandon when things have settled 2023-04-27 19:37:02 +00:00
Howard Chu
950aa08c31 ITS#10036 slapd: fix parsing of session tracking control
Was erroneously treating IPv6 addrs beginning with ':' as unprintable.
2023-04-24 18:50:38 +00:00
Howard Chu
bb0cd4479d 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.
2023-04-24 18:50:38 +00:00
Ondřej Kuzník
95232bc323 ITS#10037 Update argon2 README 2023-04-13 16:12:47 +01:00
johan pascal
f7e6c71e13 ITS#10014: Add TLS handle using MbedTLS 2023-03-31 05:19:30 +00:00
Ondřej Kuzník
6c2164970a ITS#10032 Use the correct ocs field 2023-03-31 04:48:17 +00:00
Ian Puleston
818e2a5455 ITS#10035 Fix setting TLSv1.3 ciphersuite 2023-03-31 02:15:49 +01:00
Ondřej Kuzník
53906655ef ITS#10031 Adjust *err if we free it 2023-03-30 23:12:55 +00:00
HAMANO Tsukasa
0e409f49ec ITS#10028 - crash with pwdMinDelay 2023-03-30 18:19:53 +00:00
Howard Chu
5f934c8c45 ITS#10016: slapo-syncprov: fix Abandon with active qtask 2023-02-27 15:01:23 +00:00
Howard Chu
9682229983 ITS#10015 libldap: fix KEEPALIVE opts from ITS#9490 2023-02-22 11:33:16 +00:00
Ondřej Kuzník
2a5eff41b0 ITS#9953 Check for push replication 2023-02-17 21:07:16 +00:00
Howard Chu
12ff3a90d4 ITS#10004: librewrite: plug potential ld leak in ldapmap 2023-02-17 15:52:35 +00:00
Howard Chu
372b40ad18 ITS#10003: ldap_open_internal_connection: fix mutex usage
Note: this is a non-standard function with no use cases
2023-02-17 15:52:35 +00:00
Howard Chu
a359cccbde ITS#10000 slapd-watcher: plug potential leak 2023-02-17 15:52:35 +00:00
Howard Chu
5e15ce57a9 ITS#9999 slapd-search: plug potential leak 2023-02-17 15:52:35 +00:00
Howard Chu
17359b7463 ITS#9998 slapd-mtread: plug potential leak 2023-02-17 15:52:35 +00:00
Howard Chu
4a9e449b24 ITS#9997 syncrepl: plug potential leak in changelog search
Note this is only used with changelog, which is nonstandard and obsolete.
2023-02-17 15:52:35 +00:00
Howard Chu
d9507a834c \ITS#9996 librewrite plug potential leak in ldapmap map_ldap_apply() 2023-02-17 15:52:35 +00:00
Howard Chu
7f0e4ecdaa ITS#9995 ldapdelete: plug potential search leak 2023-02-17 15:52:35 +00:00
Дилян Палаузов
3c284d26cd ITS#9989 Keep .pc files on «make clean» 2023-02-15 18:50:28 +00:00
Quanah Gibson-Mount
9b9434ee4a ITS#10011 -- Regenerate configure 2023-02-15 18:35:50 +00:00
Quanah Gibson-Mount
137fef056d Return to engineering 2023-02-13 20:04:45 +00:00
Sam James
b260205fd5 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>
2023-02-10 23:22:54 +00:00
Sam James
480be3eec5 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>
2023-02-10 23:22:53 +00:00
Sam James
14f81bc47a 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>
2023-02-10 23:22:43 +00:00
Quanah Gibson-Mount
ee5565a600 Merge remote-tracking branch 'origin/mdb.RE/0.9' 2023-02-08 18:46:30 +00:00
Quanah Gibson-Mount
8f44dca45d Update MDB_VERSION_DATE for the release 2023-02-08 18:41:37 +00:00
Quanah Gibson-Mount
05b582ac0c Update release date for 0.9.30 2023-02-08 18:40:04 +00:00
Howard Chu
69f52354d2 ITS#9993 fix online_indexer termination/cleanup 2023-02-01 20:30:22 +00:00