Commit graph

51 commits

Author SHA1 Message Date
Ondřej Kuzník
c852e11cb9 ITS#10163 Add missed otp overlay to configure.ac 2025-03-10 12:27:23 +00:00
HAMANO Tsukasa
c14e3329c0 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
2024-05-08 09:50:10 +09:00
Howard Chu
a5900cb79f ITS#10207 configure.ac: fix typo from ITS#10177 2024-05-01 15:11:43 +01:00
Nadezhda Ivanova
0402dd1fcc ITS#10202 slapd fails to start if compiled with --enable-overlays=yes 2024-04-12 15:53:04 +03:00
Howard Chu
a7007b7f64 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.
2024-04-05 15:42:04 +00:00
Quanah Gibson-Mount
073232bbc7 Happy New Year! 2024-03-26 19:45:07 +00:00
Howard Chu
ddd42a2af3 ITS#10161 Add nestgroup overlay 2024-03-21 17:12:53 +00:00
HAMANO Tsukasa
5cbc273d1c ITS#10177 fix back-perl build for clang15 or later
Remove problematic and unnecessary compile flags.
2024-02-22 16:46:55 +00:00
Howard Chu
6cef0c560d Review tweak (squash this) 2024-02-05 21:13:35 +00:00
Howard Chu
7e21081f6d ITS#10163 cleanup configure/tests integration
Streamline backend/overlay definition.
2024-02-05 21:13:35 +00:00
Quanah Gibson-Mount
55a485d12e ITS#10063 - Fix typo in configure variable 2023-06-02 13:56:59 +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
Ondřej Kuzník
8eef957f0e ITS#10053 Remove irrelevant dependency and file 2023-05-15 13:26:49 +01:00
johan pascal
f7e6c71e13 ITS#10014: Add TLS handle using MbedTLS 2023-03-31 05:19:30 +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
Howard Chu
f76dbe43aa ITS#9900 configure.ac: fix bashism
Broken in 629cafc98d ITS#8707
2022-08-22 16:44:05 +00:00
Howard Chu
aef1c05089 ITS#9894 don't use gmake-specific features 2022-08-15 20:53:03 +00:00
Howard Chu
26e3721359 ITS#9847 fix kqueue detection on MacOSX 2022-05-14 17:40:37 +01:00
Quanah Gibson-Mount
788e9592ba Happy New Year! 2022-01-07 18:40:00 +00:00
Ondřej Kuzník
2029248abb ITS#9596 Introduce mod_harness module 2021-12-14 16:30:54 +00:00
Quanah Gibson-Mount
4a87d7aad2 ITS#9673 - Start fully tracking symbols for versioning 2021-10-18 17:56:13 +00:00
Quanah Gibson-Mount
783fcbe8ed ITS#9673 - Fix library symbol versioning 2021-09-20 18:00:36 +00:00
Quanah Gibson-Mount
d943d7f2fb ITS#9636 - Delete shell backend 2021-08-17 16:01:29 +00:00
Quanah Gibson-Mount
c6b43dcdc5 ITS#9635 - Delete back-ndb 2021-08-17 16:01:29 +00:00
Ondřej Kuzník
84dab3f961 ITS#9599 Add bestof tier implementation 2021-08-13 10:57:14 +01:00
Ondřej Kuzník
1ca559668f ITS#9599 Add latency tracking 2021-08-13 10:57:14 +01:00
Quanah Gibson-Mount
371c29ba34 ITS#9485 - Update for autoconf 2.71
Update for latest autoconf release
2021-07-29 18:02:25 +00:00
Quanah Gibson-Mount
23f90be693 ITS#9591 - Fix missing grep statement 2021-07-26 20:05:24 +00:00
Quanah Gibson-Mount
f76d40a963 ITS#9591 - Fix library symbol versioning map file for Solaris
Solaris wants a different option to work with Gnu style library symbol maps
2021-06-24 21:28:01 +00:00
SATOH Fumiyasu
f3501534d4 ITS#8707 - Add slapd.service and lloadd.service for systemd 2021-04-20 22:54:19 +00:00
Ondřej Kuzník
629cafc98d ITS#8707 Add systemd service notification support 2021-04-20 22:54:19 +00:00
Ondřej Kuzník
6b57448bcc ITS#8872 Apply $Id$ changes implied by ident 2021-04-13 13:43:26 +01:00
Quanah Gibson-Mount
6e529f31b7 ITS#9453 - fix typo 2021-04-06 15:58:09 +00:00
Quanah Gibson-Mount
0ad73f8717 ITS#9437 - Fix slapo-otp overlay name 2021-03-31 23:12:00 +00:00
Howard Chu
94fbd96826 ITS#9513 Change all lutil time structs to use nanoseconds
Instead of microseconds
2021-03-31 18:53:50 +00:00
Ondřej Kuzník
87f3bad8bb ITS#9437 Add otp_2fa overlay 2021-03-31 14:57:56 +00:00
Quanah Gibson-Mount
38d1ac0449 ITS#5365 - Add support for symbol versioning libldap and lilber 2021-03-29 18:11:00 +00:00
Ondřej Kuzník
8382d3c380 ITS#9470 Add homedir overlay 2021-03-26 01:27:09 +00:00
Hugh McMaster
baee6c47e7 ITS#8996 - Generate and install a pkg-config file for the libldap library 2021-03-15 21:39:55 +00:00
Hugh McMaster
3eea13bdd4 ITS#8996 - Generate and install a pkg-config file for the liblber library 2021-03-15 21:39:55 +00:00
Quanah Gibson-Mount
c7763538de ITS#9453 - Make pw argon2 official 2021-03-10 23:21:08 +00:00
Quanah Gibson-Mount
9894e6c8aa ITS#4799 -- Delete missed bits for Kerberos from 2006 cleanup 2021-03-04 18:08:57 +00:00
Quanah Gibson-Mount
805cc450d9 ITS#9483 - Add dummy value for WITH_TLS_TYPE 2021-03-01 18:36:38 +00:00
Ondřej Kuzník
34b95c520e ITS#9438 Add remoteauth overlay 2021-02-25 22:11:39 +00:00
Ondřej Kuzník
5fa0a651f5 revert: libevent 2.0 support 2021-02-24 18:11:09 +00:00
Quanah Gibson-Mount
94a1ab2563 ITS#9460 - Update configure to ensure OpenSSL 1.1.1 or later
Delete ancient cruft relating to libraries that haven't existed since OpenSSL 0.9.x
2021-02-09 21:46:25 +00:00
Quanah Gibson-Mount
efaf9a4a17 Happy New Year! 2021-01-11 19:25:53 +00:00
Nadezhda Ivanova
37cd5f21d5 Enable compilation of the load balancer as a module
To compile the balancer as a slapd module, pass --enable-balancer=mod to ./configure
Use --enable-balancer(=yes) to compile as standalone server.
2020-11-17 17:58:14 +00:00
Ondřej Kuzník
8e0a6119fa Startup adjustment 2020-11-17 17:15:40 +00:00
Ondřej Kuzník
46ddb4039c lloadd ahoy 2020-11-17 17:15:40 +00:00