- Update from version 4.99.3 to 4.99.4 - Update of rootfile not required - Changelog 4.99.4 fix version parser for clang (lsof-org#305) (#306) In lsof manapge: mention /etc/services for -P option (#309) [freebsd] don't use kf_sock_inpcb on modern versions. In FreeBSD 14 and after the generic internet protocol control block and protocol specific (TCP) control block are the same pointer. The latter embeds the former. The kf_sock_inpcb is planned for removal in FreeBSD 15. [freebsd] Recognize FreeBSD 15 Fix typos in docs (#314) [linux] Do not embed kernel version in CFLAGS (#314) [linux] Linux 6.9 changed the pidfs appearence in procfs. Try to maintain original output in lsof (#317) [linux] closefrom_shim: Add optimized fallback for platforms without closefrom or close_range (#316) lib/misc.c: fix build against -std=c23 (`void (*)()`) changed the meaning) (#327)
Signed-off-by: Adolf Belka adolf.belka@ipfire.org --- lfs/lsof | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/lfs/lsof b/lfs/lsof index 5dbce5022..b22d5e0fd 100644 --- a/lfs/lsof +++ b/lfs/lsof @@ -1,7 +1,7 @@ ############################################################################### # # # IPFire.org - A linux based firewall # -# Copyright (C) 2007-2023 IPFire Team info@ipfire.org # +# Copyright (C) 2007-2024 IPFire Team info@ipfire.org # # # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # @@ -24,7 +24,7 @@
include Config
-VER = 4.99.3 +VER = 4.99.4
THISAPP = lsof-$(VER) DL_FILE = $(THISAPP).tar.gz @@ -40,7 +40,7 @@ objects = $(DL_FILE)
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
-$(DL_FILE)_BLAKE2 = 71049bd2c3b6788260d9970e8c6828128999b5040fb23cee0e288ee7e353e5e0510b8b1e5a5275158f1ff37f18066a36766a80b56d24ff57be1f3243910482e7 +$(DL_FILE)_BLAKE2 = 43e97874779797733433c0942f47dd5bebdaf5ef12153ede91b472c044d9ca63a03aee38c0d5a939b3c3bc7b40321dac5d241da39ca108f1ca3355c6571bc253
install : $(TARGET)
- Update from version 2.12.0 to 2.13.0 - Update of rootfile - Changelog 2.13.0 Compatibility notes: * Drop support for versions of groff before 1.21 (released on 2010-12-31). Fixes: * Fix `man-suffixed-extension` test failure when not using the GNU hierarchy organization. * Fix `-Wmissing-variable-declarations` warnings with GCC 14. * Fix `-Wflex-array-member-not-at-end` warning with GCC 14. Improvements: * Upgrade to Gnulib `stable-202407`. * Support running the test suite against an installed package; this is useful for systems such as Debian's autopkgtest framework. 2.12.1 Fixes: * Fix excessive cleanup of `/var/cache/man` by `systemd-tmpfiles`. Improvements: * `man` matches the display width more accurately to the configured width. * Upgrade to Gnulib `stable-202401`. * Mention `groff`'s `pdf` device in `man(1)`. * Speed up `seccomp` filter slightly. * Document how to format pages using italic rather than underlined text. Compatibility notes: * Remove the obsolete `chconfig` tool for converting man-db configuration files to the FHS. This transition took place almost 25 years ago (at least in Debian), so it's not worth keeping it around now.
Signed-off-by: Adolf Belka adolf.belka@ipfire.org --- config/rootfiles/common/man | 5 +++-- lfs/man | 25 ++++++++++++------------- 2 files changed, 15 insertions(+), 15 deletions(-)
diff --git a/config/rootfiles/common/man b/config/rootfiles/common/man index 948cd9d4c..a761880b2 100644 --- a/config/rootfiles/common/man +++ b/config/rootfiles/common/man @@ -8,10 +8,10 @@ #usr/bin/manpath #usr/bin/whatis #usr/lib/man-db -#usr/lib/man-db/libman-2.12.0.so +#usr/lib/man-db/libman-2.13.0.so #usr/lib/man-db/libman.la #usr/lib/man-db/libman.so -#usr/lib/man-db/libmandb-2.12.0.so +#usr/lib/man-db/libmandb-2.13.0.so #usr/lib/man-db/libmandb.la #usr/lib/man-db/libmandb.so #usr/libexec/man-db @@ -81,6 +81,7 @@ #usr/share/locale/tr/LC_MESSAGES/man-db-gnulib.mo #usr/share/locale/tr/LC_MESSAGES/man-db.mo #usr/share/locale/uk/LC_MESSAGES/man-db-gnulib.mo +#usr/share/locale/uk/LC_MESSAGES/man-db.mo #usr/share/locale/vi/LC_MESSAGES/man-db-gnulib.mo #usr/share/locale/vi/LC_MESSAGES/man-db.mo #usr/share/locale/zh_CN/LC_MESSAGES/man-db-gnulib.mo diff --git a/lfs/man b/lfs/man index 9a5ea7675..3b5c50d11 100644 --- a/lfs/man +++ b/lfs/man @@ -1,7 +1,7 @@ ############################################################################### # # # IPFire.org - A linux based firewall # -# Copyright (C) 2007-2023 IPFire Team info@ipfire.org # +# Copyright (C) 2007-2024 IPFire Team info@ipfire.org # # # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # @@ -24,7 +24,7 @@
include Config
-VER = 2.12.0 +VER = 2.13.0
THISAPP = man-db-$(VER) DL_FILE = $(THISAPP).tar.xz @@ -40,7 +40,7 @@ objects = $(DL_FILE)
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
-$(DL_FILE)_BLAKE2 = a6258c1fc9cd81be5d288298660f5b9bda22d726ef98dd5c0a1998809a32391f7244be6897ee8e03483e705a426d6a59d442de3dc2e84f45500daa825ac639db +$(DL_FILE)_BLAKE2 = 7ce91a7abc6d3bbd92d4707f13caacd8ab5caee0502a2b115f8aa53f4d38df05b0e03346f70584618cce6f5457113e826828a02b847bff57abd6ba6ec1b2d407
install : $(TARGET)
@@ -71,17 +71,16 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) @$(PREBUILD) @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar axf $(DIR_DL)/$(DL_FILE) $(UPDATE_AUTOMAKE) - cd $(DIR_APP) && ./configure \ - --prefix=/usr \ - --sysconfdir=/etc \ - --disable-setuid \ - --enable-cache-owner=bin \ - --with-browser=/usr/bin/lynx \ - --with-vgrind=/usr/bin/vgrind \ - --with-grap=/usr/bin/grap \ - --with-systemdtmpfilesdir= \ - --with-systemdsystemunitdir= + --prefix=/usr \ + --sysconfdir=/etc \ + --disable-setuid \ + --enable-cache-owner=bin \ + --with-browser=/usr/bin/lynx \ + --with-vgrind=/usr/bin/vgrind \ + --with-grap=/usr/bin/grap \ + --with-systemdtmpfilesdir= \ + --with-systemdsystemunitdir= cd $(DIR_APP) && make cd $(DIR_APP) && make install @rm -rf $(DIR_APP)
- Update from version 7.00 to 7.20 - Update of rootfile not required - Changelog 7.20 Add support for Loongson LA64 arch Add support for latest Intel CPUs (ARL/MTL) Add support for latest AMD CPUs (Zen5) Preliminary support for NUMA Bug fixes & optimizations
Signed-off-by: Adolf Belka adolf.belka@ipfire.org --- lfs/memtest | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/lfs/memtest b/lfs/memtest index 6617a92b2..66428ea38 100644 --- a/lfs/memtest +++ b/lfs/memtest @@ -24,7 +24,9 @@
include Config
-VER = 7.00 +VER = 7.20 + +# https://github.com/memtest86plus/memtest86plus/releases
THISAPP = memtest86plus-$(VER) DL_FILE = $(THISAPP).tar.gz @@ -41,7 +43,7 @@ objects = $(DL_FILE)
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
-$(DL_FILE)_BLAKE2 = 608f4e31ddaee01d828cb1574086196c26f5e96c5049806ac3ab174ddf669db8cdcb8f336bec5a1ce74439d96fca505fea81311a06581bb43a8034156a4f8165 +$(DL_FILE)_BLAKE2 = f53570e9364f7fc15c946d925b449139f72bdfab6e2c69e40f7edf6aa034c6b46e40194d32eb56122365b6badc199ed9eeb8f3281d1908adb85495ffd25ea5f7
install : $(TARGET)
- Update from version 1.5.1 to 1.6.0 - Update of rootfile - Changelog is too large to include here. 1.6.0 Support for OpenXL compiler in AIX. The OpenXL compiler is now supported from Meson 1.6.0 onwards. So currently, in AIX Operating system we support GCC and openXL compilers for Meson build system. Both the compilers will archive shared libraries and generate a shared object for a shared module while using Meson in AIX. alias_target of both_libraries Previously, when passing a both_libs object to alias_target(), the alias would only point to the shared library. It now points to both the static and the shared library. Default to printing deprecations when no minimum version is specified. For a long time, the project() function has supported specifying the minimum meson_version: needed by a project. When this is used, deprecated features from before that version produce warnings, as do features which aren't available in all supported versions. When no minimum version was specified, meson didn't warn you even about deprecated functionality that might go away in an upcoming semver major release of meson. Now, meson will treat an unspecified minimum version following semver: For new features introduced in the current meson semver major cycle (currently: all features added since 1.0) a warning is printed. Features that have been available since the initial 1.0 release are assumed to be widely available. For features that have been deprecated by any version of meson, a warning is printed. Since no minimum version was specified, it is assumed that the project wishes to follow the latest and greatest functionality. These warnings will overlap for functionality that was both deprecated and replaced with an alternative in the current release cycle. The combination means that projects without a minimum version specified are assumed to want broad compatibility with the current release cycle (1.x). Projects that specify a minimum meson_version: will continue to only receive actionable warnings based on their current minimum version. Cargo subprojects is experimental Cargo subprojects was intended to be experimental with no stability guarantees. That notice was unfortunately missing from documentation. Meson will now start warning about usage of experimental features and future releases might do breaking changes. This is aligned with our general policy regarding mixing build systems. Dependencies from CMake subprojects now use only PUBLIC link flags Any dep obtained from a CMake subproject (or .wrap with method = cmake) now only includes link flags marked in CMake as PUBLIC or INTERFACE. Flags marked as PRIVATE are now only applied when building the subproject library and not when using it as a dependency. This better matches how CMake handles link flags and fixes link errors when using some CMake projects as subprojects. New built-in option for default both_libraries both_libraries targets used to be considered as a shared library by default. There is now the default_both_libraries option to change this default. When default_both_libraries is 'auto', both_libraries() with dependencies that are both_libs themselves will link with the same kind of library. For example, if libA is a both_libs and libB is a both_libs linked with libA (or with an internal dependency on libA), the static lib of libB will link with the static lib of libA, and the shared lib of libA will link with the shared lib of libB. New as_static and as_shared methods on internal dependencies dep object returned by declare_dependency() now has .as_static() and .as_shared() methods, to convert to a dependency that prefers the static or the shared version of the linked both_libs target. When the same dependency is used without those methods, the default_both_libraries option determines which version is used. Support for DIA SDK Added support for Windows Debug Interface Access SDK (DIA SDK) dependency. It allows reading with MSVC debugging information (.PDB format). This dependency can only be used on Windows, with msvc, clang or clang-cl compiler. Support for LLVM-based flang compiler Added basic handling for the flang compiler that's now part of LLVM. It is the successor of another compiler named flang by largely the same group of developers, who now refer to the latter as "classic flang". Meson already supports classic flang, and the LLVM-based flang now uses the compiler-id 'llvm-flang'. nvc and nvc++ now support setting std The following standards are available for nvc: c89, c90, c99, c11, c17, c18, gnu90, gnu89, gnu99, gnu11, gnu17, gnu18. For nvc++: c++98, c++03, c++11, c++14, c++17, c++20, c++23, gnu++98, gnu++03, gnu++11, gnu++14, gnu++17, gnu++20 Tools can be selected when calling has_tools() on the Qt modules When checking for the presence of Qt tools, you can now explictly ask Meson which tools you need. This is particularly useful when you do not need lrelease because you are not shipping any translations. For example: qt6_mod = import('qt6') qt6_mod.has_tools(required: true, tools: ['moc', 'uic', 'rcc']) valid tools are moc, uic, rcc and lrelease. Simple tool to test build reproducibility Meson now ships with a command for testing whether your project can be built reproducibly. It can be used by running a command like the following in the source root of your project: meson reprotest --intermediaries -- --buildtype=debugoptimized All command line options after the -- are passed to the build invocations directly. This tool is not meant to be exhaustive, but instead easy and convenient to run. It will detect some but definitely not all reproducibility issues. Support for variable in system dependencies System Dependency method get_variable() now supports system variable. test() and benchmark() functions accept new types test and benchmark now accept ExternalPrograms (as returned by find_program) in the args list. This can be useful where the test executable is a wrapper which invokes another program given as an argument. test('some_test', find_program('sudo'), args : [ find_program('sh'), 'script.sh' ]) Zig 0.11 can be used as a C/C++ compiler frontend Zig offers a C/C++ frontend as a drop-in replacement for Clang. It worked fine with Meson up to Zig 0.10. Since 0.11, Zig's dynamic linker reports itself as zig ld, which wasn't known to Meson. Meson now correctly handles Zig's linker. You can use Zig's frontend via a machine file: [binaries] c = ['zig', 'cc'] cpp = ['zig', 'c++'] ar = ['zig', 'ar'] ranlib = ['zig', 'ranlib'] lib = ['zig', 'lib'] dlltool = ['zig', 'dlltool']
Signed-off-by: Adolf Belka adolf.belka@ipfire.org --- config/rootfiles/common/meson | 15 ++++++++------- lfs/meson | 7 ++----- 2 files changed, 10 insertions(+), 12 deletions(-)
diff --git a/config/rootfiles/common/meson b/config/rootfiles/common/meson index 79f5ca6c2..a9b3ffbca 100644 --- a/config/rootfiles/common/meson +++ b/config/rootfiles/common/meson @@ -1,11 +1,11 @@ #usr/bin/meson -#usr/lib/python3.10/site-packages/meson-1.5.1-py3.10.egg-info -#usr/lib/python3.10/site-packages/meson-1.5.1-py3.10.egg-info/PKG-INFO -#usr/lib/python3.10/site-packages/meson-1.5.1-py3.10.egg-info/SOURCES.txt -#usr/lib/python3.10/site-packages/meson-1.5.1-py3.10.egg-info/dependency_links.txt -#usr/lib/python3.10/site-packages/meson-1.5.1-py3.10.egg-info/entry_points.txt -#usr/lib/python3.10/site-packages/meson-1.5.1-py3.10.egg-info/requires.txt -#usr/lib/python3.10/site-packages/meson-1.5.1-py3.10.egg-info/top_level.txt +#usr/lib/python3.10/site-packages/meson-1.6.0-py3.10.egg-info +#usr/lib/python3.10/site-packages/meson-1.6.0-py3.10.egg-info/PKG-INFO +#usr/lib/python3.10/site-packages/meson-1.6.0-py3.10.egg-info/SOURCES.txt +#usr/lib/python3.10/site-packages/meson-1.6.0-py3.10.egg-info/dependency_links.txt +#usr/lib/python3.10/site-packages/meson-1.6.0-py3.10.egg-info/entry_points.txt +#usr/lib/python3.10/site-packages/meson-1.6.0-py3.10.egg-info/requires.txt +#usr/lib/python3.10/site-packages/meson-1.6.0-py3.10.egg-info/top_level.txt #usr/lib/python3.10/site-packages/mesonbuild #usr/lib/python3.10/site-packages/mesonbuild/__init__.py #usr/lib/python3.10/site-packages/mesonbuild/_pathlib.py @@ -224,6 +224,7 @@ #usr/lib/python3.10/site-packages/mesonbuild/scripts/pycompile.py #usr/lib/python3.10/site-packages/mesonbuild/scripts/python_info.py #usr/lib/python3.10/site-packages/mesonbuild/scripts/regen_checker.py +#usr/lib/python3.10/site-packages/mesonbuild/scripts/reprotest.py #usr/lib/python3.10/site-packages/mesonbuild/scripts/run_tool.py #usr/lib/python3.10/site-packages/mesonbuild/scripts/scanbuild.py #usr/lib/python3.10/site-packages/mesonbuild/scripts/symbolextractor.py diff --git a/lfs/meson b/lfs/meson index 511d86876..435e3d177 100644 --- a/lfs/meson +++ b/lfs/meson @@ -24,7 +24,7 @@
include Config
-VER = 1.5.1 +VER = 1.6.0
THISAPP = meson-$(VER) DL_FILE = $(THISAPP).tar.gz @@ -40,7 +40,7 @@ objects = $(DL_FILE)
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
-$(DL_FILE)_BLAKE2 = 3368b209444d0873217bafee2339b395dca9fa43df68adce19029a41ad5c0eca59426ef681d174ef8b6b89d4a6c5b4f189c1ae219deed78334028d44bdb23a95 +$(DL_FILE)_BLAKE2 = c1d8f143b17fab90c6128a721ac45b9ed6b85d67272149058e74ab827822b6f2c84ebdc261290585e6af38ab5dca52ca013de9b7be70922c96260fc5ee708893
install : $(TARGET)
@@ -70,11 +70,8 @@ $(subst %,%_BLAKE2,$(objects)) : $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) @$(PREBUILD) @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE) - cd $(DIR_APP) && python3 setup.py build - cd $(DIR_APP) && python3 setup.py install --root=dest cd $(DIR_APP) && cp -rv dest/* / - @rm -rf $(DIR_APP) @$(POSTBUILD)
- Update from version 2.6.11 to 2.6.12 - Update of rootfile not required - Changelog 2.6.12 ** pam_oath: Drop privs when ${HOME} is used in the usersfile= setting. Reported by Fabian Vogt (SUSE), and associated with CVE-2024-47191. See https://gitlab.com/oath-toolkit/oath-toolkit/-/issues/43. Security bug triggered by new feature in pam_oath v2.6.7 released on 2021-05-01 with the USER/HOME placeholder strings, see https://gitlab.com/oath-toolkit/oath-toolkit/-/merge_requests/12. Quoting a writeup in an alternate patch by Matthias Gerstner (SUSE): With the addition of the possibility to place a usersfile also into a user's home directory via variable expansion of ${HOME} and ${USER} in the `usersfile=` path specification, security issues sneaked in. The PAM process usually runs with root privileges. The file operations in an unprivileged user's home directory follow symlinks both when reading and creating files, allowing for a potential local root exploit, because of the `fchown()` performed on the newly created usersfile. We drop privileges to the user that is being logged into, assuming it has the necessary permissions for the usersfile belonging in their home directory. This restricts the ability for non-root users to affect files beyond their control via liboath. ** liboath: Don't follow symbolic links for usersfile updates. Reported by Fabian Vogt (SUSE), and associated with CVE-2024-47191. See https://gitlab.com/oath-toolkit/oath-toolkit/-/issues/43. Security bug triggered by new feature in pam_oath v2.6.7 released on 2021-05-01 with the USER/HOME placeholder strings, see https://gitlab.com/oath-toolkit/oath-toolkit/-/merge_requests/12. The fix is to open files for writing in exclusive mode (i.e., fail if the file exists including if it is a symbolic link). We offer a brief self-test to reproduce the problem in liboath/tests/tst_fopen-wx.c which you may use as follows: cc -o tst_fopen-wx tst_fopen-wx.c $(pkg-config --libs --cflags liboath) rm -f cve.oath cve.oath.new cve.sshd-config cve.oath.lock printf 'HOTP/E/8\tsilver\t4711\t3132333435363738393031323334353637383930313233343536373839303132\n' > cve.oath echo my-magic-cookie > cve.sshd-config ln -s cve.sshd-config cve.oath.new ./tst_fopen-wx cve.oath silver 670691 4711 If this is linked with a vulnerable liboath it will print: FAIL: Liboath VULNERABLE to fopen(wx) bug. If you link it to a fixed liboath it will print: PASS: Your liboath is NOT VULNERABLE to fopen(wx) bug. For convenience, the liboath/tests/tst_fopen-wx.sh script can be used to setup and invoke tst_fopen-wx. ** We publish a minimal source-only tarball generated by 'git archive'. This tarball only contains the files stored in version controlled sources, and no auxilliary files. The source-only tarball may be reproduced on a Trisquel 11 platform using Git at (or near) version 2.46 from Guix. If something results in the 'git archive' format changing again, the tarball can only be reproduced using an earlier system. The git version in AlmaLinux 8, AlmaLinux 9, RockyLinux 8 and RockyLinux 9 should all produce the same identical 'git archive' tarball. The git version used on Debian 11, PureOS 10, Trisquel 11 and Ubuntu 22.04 should all produce an identical tarball. These two 'git archive' outputs are not the same, due to how Git works. ** oathtool: Fix test suite on 32-bit big-endian platforms. Fixes: #44. Patch by Helge Deller and thanks to Jan Zerebecki. See https://lists.nongnu.org/archive/html/oath-toolkit-help/2024-04/msg00000.html and https://gitlab.com/oath-toolkit/oath-toolkit/-/issues/44. ** libpskc: Don't call deprecated xmlMemoryDump. ** libpskc: fix implicit declaration with musl. See https://gitlab.com/oath-toolkit/oath-toolkit/-/merge_requests/39. ** libpskc: Fix linker warning when linked with mold. Thanks to Jan Palus, see https://gitlab.com/oath-toolkit/oath-toolkit/-/merge_requests/30 and https://gitlab.com/oath-toolkit/oath-toolkit/-/merge_requests/36 for regression testing. ** Various build fixes including updated gnulib files. Fixes Windows tzset build errors, among other things.
Signed-off-by: Adolf Belka adolf.belka@ipfire.org --- lfs/oath-toolkit | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lfs/oath-toolkit b/lfs/oath-toolkit index c71399985..c031f97d1 100644 --- a/lfs/oath-toolkit +++ b/lfs/oath-toolkit @@ -24,7 +24,7 @@
include Config
-VER = 2.6.11 +VER = 2.6.12
THISAPP = oath-toolkit-$(VER) DL_FILE = $(THISAPP).tar.gz @@ -40,7 +40,7 @@ objects = $(DL_FILE)
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
-$(DL_FILE)_BLAKE2 = f3fa3ab1818f4f9bbf7c8c88432cd3432fbfb30dfcc660ab85f07e2d3d7e1616fc24579900bc55bbf72fb81b2eac4a6591553968872f07d8b3955ce4e6495afd +$(DL_FILE)_BLAKE2 = 8bd184fa7166bc35af3bd632d0dd24ae00480f78a850e2ed4f058ec22711852757f01623ede16c8990daa366752578430be7c93a27d87c8ae92faf9a3aade1a1
install : $(TARGET)
- Update from version 2.6.5 to 2.6.8 - Update of rootfile - Replacement of previous 2.6.5-consolideated patch with 2.6.8-consolidated patch - Changelog 2.6.8 Fixed libldap exit handling with OpenSSL3 again (ITS#9952) Fixed libldap OpenSSL channel binding digest (ITS#10216) Fixed slapd handling of large uid/gids peercred auth (ITS#10211) Fixed slapd-asyncmeta/meta target structure allocations (ITS#10197) Fixed slapd-meta with dynlist (ITS#10164) Fixed slapd-meta binds when proxying internal op (ITS#10165) Added slapo-nestgroup overlay (ITS#10161) Added slapo-memberof 'addcheck' option (ITS#10167) Fixed slapo-accesslog startup initialization (ITS#10170) Fixed slapo-constraint double free on invalid attr (ITS#10204) Fixed slapo-dynlist with abandoned operations (ITS#10044) Build Fixed build with gcc14.x (ITS#10166) Fixed back-perl with clang15 (ITS#10177) Fixed to reduce systemd dependencies (ITS#10214) Contrib Added slapo-alias contrib module (ITS#10104, ITS#10182) Fixed slapo-autogroup to work with slapo-dynlist (ITS#10185) Fixed smbk5pwd implicit function declaration (ITS#10206) Documentation Fixed slapo-memberof exattr requirements (ITS#7400) Fixed slapo-memberof is no longer deprecated (ITS#7400) Minor Cleanup ITS#9921 ITS#10103 ITS#10171 ITS#10172 ITS#10173 ITS#10179 ITS#10183 ITS#10186 ITS#10188 ITS#10193 ITS#10209 2.6.7 Added slapo-dynlist option to disable filter support (ITS#10025) Fixed liblber missing newline on long msg (ITS#10105) Fixed libldap exit handling with OpenSSL3 (ITS#9952) Fixed libldap with TLS and multiple ldap URIs (ITS#10101) Fixed libldap OpenSSL cipher suite handling (ITS#10094) Fixed libldap OpenSSL 3.0 and Diffie-Hellman param files (ITS#10124) Fixed libldap timestamps on Windows (ITS#10100) Fixed lloadd to work when resolv.conf is missing (ITS#10070) Fixed lloadd handling of closing connection (ITS#10083) Fixed lloadd tiers to be correctly linked on startup (ITS#10142) Fixed slapd to honour disclose in matchedDN handling (ITS#10139) Fixed slapd handling of regex testing in ACLs (ITS#10089) Fixed slapd sync replication with glued database (ITS#10080) Fixed slapd local logging on Windows (ITS#10092) Fixed slapd-asyncmeta when remote suffix is empty (ITS#10076) Fixed slapo-dynlist so it can't be global (ITS#10091) Build Fixed lloadd type mismatches (ITS#10074) Fixed builds for Windows (ITS#10117) Fixed build with clang16 (ITS#10123) Documentation Fixed slapo-homedir(5) attribute name for olcHomedirArchivePath (ITS#10057) Minor Cleanup ITS#10059 ITS#10068 ITS#10098 ITS#10109 ITS#10110 ITS#10129 ITS#10130 ITS#10135 ITS#10143 ITS#10144 ITS#10145 ITS#10153 2.6.6 Fixed slapd cn=config incorrect handling of paused (ITS#10045) Fixed slapd-meta to account for MOD ops being optional (ITS#10067) Fixed slapd-asyncmeta to account for MOD ops being optional (ITS#10067)
Signed-off-by: Adolf Belka adolf.belka@ipfire.org --- config/rootfiles/common/openldap | 1 + lfs/openldap | 20 +- .../openldap-2.6.5-consolidated-1.patch | 4640 ----------------- .../openldap-2.6.8-consolidated-1.patch | 175 + 4 files changed, 186 insertions(+), 4650 deletions(-) delete mode 100644 src/patches/openldap-2.6.5-consolidated-1.patch create mode 100644 src/patches/openldap-2.6.8-consolidated-1.patch
diff --git a/config/rootfiles/common/openldap b/config/rootfiles/common/openldap index 45e731ee4..eb9961c0b 100644 --- a/config/rootfiles/common/openldap +++ b/config/rootfiles/common/openldap @@ -262,6 +262,7 @@ usr/lib/libldap.so.2.0.200 #usr/share/man/man5/slapo-dynlist.5 #usr/share/man/man5/slapo-homedir.5 #usr/share/man/man5/slapo-memberof.5 +#usr/share/man/man5/slapo-nestgroup.5 #usr/share/man/man5/slapo-otp.5 #usr/share/man/man5/slapo-pbind.5 #usr/share/man/man5/slapo-pcache.5 diff --git a/lfs/openldap b/lfs/openldap index c2c3e3f87..ce92bd950 100644 --- a/lfs/openldap +++ b/lfs/openldap @@ -1,7 +1,7 @@ ############################################################################### # # # IPFire.org - A linux based firewall # -# Copyright (C) 2007-2023 IPFire Team info@ipfire.org # +# Copyright (C) 2007-2024 IPFire Team info@ipfire.org # # # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # @@ -24,7 +24,7 @@
include Config
-VER = 2.6.5 +VER = 2.6.8
THISAPP = openldap-$(VER) DL_FILE = $(THISAPP).tgz @@ -42,7 +42,7 @@ objects = $(DL_FILE)
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
-$(DL_FILE)_BLAKE2 = 20370fc620ed0c4ef96d68d306dc42b0d87d1716579904cc362f9d368a76b0c39919e248b32453526f5ba1612b74de6056df1cef406e94b01d0a70277692d2d8 +$(DL_FILE)_BLAKE2 = 2aefdcaca12776c70084aff7b3e216126d8305ed7f9ba444b673ee671c5ac6129eb5fa9519e832acfb3e695b2e4e9474bcff36a3b6406000e2ef1f057863b4f5
install : $(TARGET)
@@ -72,15 +72,15 @@ $(subst %,%_BLAKE2,$(objects)) : $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) @$(PREBUILD) @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE) - cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/openldap-2.6.5-consolidated-1.patch + cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/openldap-2.6.8-consolidated-1.patch cd $(DIR_APP) && autoconf cd $(DIR_APP) && ./configure \ - --prefix=/usr \ - --sysconfdir=/etc \ - --enable-dynamic \ - --disable-perl \ - --disable-static \ - --disable-slapd + --prefix=/usr \ + --sysconfdir=/etc \ + --enable-dynamic \ + --disable-perl \ + --disable-static \ + --disable-slapd cd $(DIR_APP) && make depend cd $(DIR_APP) && make $(MAKETUNING) cd $(DIR_APP) && make install diff --git a/src/patches/openldap-2.6.5-consolidated-1.patch b/src/patches/openldap-2.6.5-consolidated-1.patch deleted file mode 100644 index d8a2d4b4c..000000000 --- a/src/patches/openldap-2.6.5-consolidated-1.patch +++ /dev/null @@ -1,4640 +0,0 @@ -diff -Naurp openldap-2.6.2.orig/doc/man/man5/slapd.conf.5 openldap-2.6.2/doc/man/man5/slapd.conf.5 ---- openldap-2.6.2.orig/doc/man/man5/slapd.conf.5 2022-05-04 16:55:23.000000000 +0200 -+++ openldap-2.6.2/doc/man/man5/slapd.conf.5 2022-05-05 12:05:53.309727745 +0200 -@@ -2122,7 +2122,7 @@ suffix "dc=our-domain,dc=com" - # The database directory MUST exist prior to - # running slapd AND should only be accessible - # by the slapd/tools. Mode 0700 recommended. --directory LOCALSTATEDIR/openldap-data -+directory LOCALSTATEDIR/lib/openldap - # Indices to maintain - index objectClass eq - index cn,sn,mail pres,eq,approx,sub -diff -Naurp openldap-2.6.2.orig/doc/man/man5/slapd.conf.5.orig openldap-2.6.2/doc/man/man5/slapd.conf.5.orig ---- openldap-2.6.2.orig/doc/man/man5/slapd.conf.5.orig 1970-01-01 01:00:00.000000000 +0100 -+++ openldap-2.6.2/doc/man/man5/slapd.conf.5.orig 2022-05-04 16:55:23.000000000 +0200 -@@ -0,0 +1,2167 @@ -+.TH SLAPD.CONF 5 "RELEASEDATE" "OpenLDAP LDVERSION" -+." Copyright 1998-2022 The OpenLDAP Foundation All Rights Reserved. -+." Copying restrictions apply. See COPYRIGHT/LICENSE. -+." $OpenLDAP$ -+.SH NAME -+slapd.conf - configuration file for slapd, the stand-alone LDAP daemon -+.SH SYNOPSIS -+ETCDIR/slapd.conf -+.SH DESCRIPTION -+The file -+.B ETCDIR/slapd.conf -+contains configuration information for the -+.BR slapd (8) -+daemon. This configuration file is also used by the SLAPD tools -+.BR slapacl (8), -+.BR slapadd (8), -+.BR slapauth (8), -+.BR slapcat (8), -+.BR slapdn (8), -+.BR slapindex (8), -+.BR slapmodify (8), -+and -+.BR slaptest (8). -+.LP -+The -+.B slapd.conf -+file consists of a series of global configuration options that apply to -+.B slapd -+as a whole (including all backends), followed by zero or more database -+backend definitions that contain information specific to a backend -+instance. -+The configuration options are case-insensitive; -+their value, on a case by case basis, may be case-sensitive. -+.LP -+The general format of -+.B slapd.conf -+is as follows: -+.LP -+.nf -+ # comment - these options apply to every database -+ <global configuration options> -+ # first database definition & configuration options -+ database <backend 1 type> -+ <configuration options specific to backend 1> -+ # subsequent database definitions & configuration options -+ ... -+.fi -+.LP -+As many backend-specific sections as desired may be included. Global -+options can be overridden in a backend (for options that appear more -+than once, the last appearance in the -+.B slapd.conf -+file is used). -+.LP -+If a line begins with white space, it is considered a continuation -+of the previous line. No physical line should be over 2000 bytes -+long. -+.LP -+Blank lines and comment lines beginning with -+a `#' character are ignored. Note: continuation lines are unwrapped -+before comment processing is applied. -+.LP -+Arguments on configuration lines are separated by white space. If an -+argument contains white space, the argument should be enclosed in -+double quotes. If an argument contains a double quote (`"') or a -+backslash character (`\'), the character should be preceded by a -+backslash character. -+.LP -+The specific configuration options available are discussed below in the -+Global Configuration Options, General Backend Options, and General Database -+Options. Backend-specific options are discussed in the -+.B slapd-<backend>(5) -+manual pages. Refer to the "OpenLDAP Administrator's Guide" for more -+details on the slapd configuration file. -+.SH GLOBAL CONFIGURATION OPTIONS -+Options described in this section apply to all backends, unless specifically -+overridden in a backend definition. Arguments that should be replaced by -+actual text are shown in brackets <>. -+.TP -+.B access to <what> "[ by <who> <access> <control> ]+" -+Grant access (specified by <access>) to a set of entries and/or -+attributes (specified by <what>) by one or more requestors (specified -+by <who>). -+If no access controls are present, the default policy -+allows anyone and everyone to read anything but restricts -+updates to rootdn. (e.g., "access to * by * read"). -+The rootdn can always read and write EVERYTHING! -+See -+.BR slapd.access (5) -+and the "OpenLDAP's Administrator's Guide" for details. -+.TP -+.B allow <features> -+Specify a set of features (separated by white space) to -+allow (default none). -+.B bind_v2 -+allows acceptance of LDAPv2 bind requests. Note that -+.BR slapd (8) -+does not truly implement LDAPv2 (RFC 1777), now Historic (RFC 3494). -+.B bind_anon_cred -+allows anonymous bind when credentials are not empty (e.g. -+when DN is empty). -+.B bind_anon_dn -+allows unauthenticated (anonymous) bind when DN is not empty. -+.B update_anon -+allows unauthenticated (anonymous) update operations to be processed -+(subject to access controls and other administrative limits). -+.B proxy_authz_anon -+allows unauthenticated (anonymous) proxy authorization control to be processed -+(subject to access controls, authorization and other administrative limits). -+.TP -+.B argsfile <filename> -+The (absolute) name of a file that will hold the -+.B slapd -+server's command line (program name and options). -+.TP -+.B attributeoptions [option-name]... -+Define tagging attribute options or option tag/range prefixes. -+Options must not end with `-', prefixes must end with `-'. -+The `lang-' prefix is predefined. -+If you use the -+.B attributeoptions -+directive, `lang-' will no longer be defined and you must specify it -+explicitly if you want it defined. -+ -+An attribute description with a tagging option is a subtype of that -+attribute description without the option. -+Except for that, options defined this way have no special semantics. -+Prefixes defined this way work like the `lang-' options: -+They define a prefix for tagging options starting with the prefix. -+That is, if you define the prefix `x-foo-', you can use the option -+`x-foo-bar'. -+Furthermore, in a search or compare, a prefix or range name (with -+a trailing `-') matches all options starting with that name, as well -+as the option with the range name sans the trailing `-'. -+That is, `x-foo-bar-' matches `x-foo-bar' and `x-foo-bar-baz'. -+ -+RFC 4520 reserves options beginning with `x-' for private experiments. -+Other options should be registered with IANA, see RFC 4520 section 3.5. -+OpenLDAP also has the `binary' option built in, but this is a transfer -+option, not a tagging option. -+.HP -+.hy 0 -+.B attributetype "(\ <oid>\ -+ [NAME\ <name>]\ -+ [DESC\ <description>]\ -+ [OBSOLETE]\ -+ [SUP\ <oid>]\ -+ [EQUALITY\ <oid>]\ -+ [ORDERING\ <oid>]\ -+ [SUBSTR\ <oid>]\ -+ [SYNTAX\ <oidlen>]\ -+ [SINGLE-VALUE]\ -+ [COLLECTIVE]\ -+ [NO-USER-MODIFICATION]\ -+ [USAGE\ <attributeUsage>]\ )" -+.RS -+Specify an attribute type using the LDAPv3 syntax defined in RFC 4512. -+The slapd parser extends the RFC 4512 definition by allowing string -+forms as well as numeric OIDs to be used for the attribute OID and -+attribute syntax OID. -+(See the -+.B objectidentifier -+description.) -+.RE -+.TP -+.B authid-rewrite<cmd> <args> -+Used by the authentication framework to convert simple user names -+to an LDAP DN used for authorization purposes. -+Its purpose is analogous to that of -+.BR authz-regexp -+(see below). -+The prefix \fIauthid-\fP is followed by a set of rules analogous -+to those described in -+.BR slapo-rwm (5) -+for data rewriting (replace the \fIrwm-\fP prefix with \fIauthid-\fP). -+.B authid-rewrite<cmd> -+and -+.B authz-regexp -+rules should not be intermixed. -+.TP -+.B authz-policy <policy> -+Used to specify which rules to use for Proxy Authorization. Proxy -+authorization allows a client to authenticate to the server using one -+user's credentials, but specify a different identity to use for authorization -+and access control purposes. It essentially allows user A to login as user -+B, using user A's password. -+The -+.B none -+flag disables proxy authorization. This is the default setting. -+The -+.B from -+flag will use rules in the -+.I authzFrom -+attribute of the authorization DN. -+The -+.B to -+flag will use rules in the -+.I authzTo -+attribute of the authentication DN. -+The -+.B any -+flag, an alias for the deprecated value of -+.BR both , -+will allow any of the above, whatever succeeds first (checked in -+.BR to , -+.B from -+sequence. -+The -+.B all -+flag requires both authorizations to succeed. -+.LP -+.RS -+The rules are mechanisms to specify which identities are allowed -+to perform proxy authorization. -+The -+.I authzFrom -+attribute in an entry specifies which other users -+are allowed to proxy login to this entry. The -+.I authzTo -+attribute in -+an entry specifies which other users this user can authorize as. Use of -+.I authzTo -+rules can be easily -+abused if users are allowed to write arbitrary values to this attribute. -+In general the -+.I authzTo -+attribute must be protected with ACLs such that -+only privileged users can modify it. -+The value of -+.I authzFrom -+and -+.I authzTo -+describes an -+.B identity -+or a set of identities; it can take five forms: -+.RS -+.TP -+.B ldap:///<base>??[<scope>]?<filter> -+.RE -+.RS -+.B dn[.<dnstyle>]:<pattern> -+.RE -+.RS -+.B u[.<mech>[/<realm>]]:<pattern> -+.RE -+.RS -+.B group[/objectClass[/attributeType]]:<pattern> -+.RE -+.RS -+.B <pattern> -+.RE -+.RS -+ -+.B <dnstyle>:={exact|onelevel|children|subtree|regex} -+ -+.RE -+The first form is a valid LDAP -+.B URI -+where the -+.IR <host>:<port> , -+the -+.I <attrs> -+and the -+.I <extensions> -+portions must be absent, so that the search occurs locally on either -+.I authzFrom -+or -+.IR authzTo . -+ -+.LP -+The second form is a -+.BR DN . -+The optional -+.B dnstyle -+modifiers -+.IR exact , -+.IR onelevel , -+.IR children , -+and -+.I subtree -+provide exact, onelevel, children and subtree matches, which cause -+.I <pattern> -+to be normalized according to the DN normalization rules. -+The special -+.B dnstyle -+modifier -+.I regex -+causes the -+.I <pattern> -+to be treated as a POSIX (''extended'') regular expression, as -+discussed in -+.BR regex (7) -+and/or -+.BR re_format (7). -+A pattern of -+.I * -+means any non-anonymous DN. -+ -+.LP -+The third form is a SASL -+.BR id . -+The optional fields -+.I <mech> -+and -+.I <realm> -+allow specification of a SASL -+.BR mechanism , -+and eventually a SASL -+.BR realm , -+for those mechanisms that support one. -+The need to allow the specification of a mechanism is still debated, -+and users are strongly discouraged to rely on this possibility. -+ -+.LP -+The fourth form is a group specification. -+It consists of the keyword -+.BR group , -+optionally followed by the specification of the group -+.B objectClass -+and -+.BR attributeType . -+The -+.B objectClass -+defaults to -+.IR groupOfNames . -+The -+.B attributeType -+defaults to -+.IR member . -+The group with DN -+.B <pattern> -+is searched with base scope, filtered on the specified -+.BR objectClass . -+The values of the resulting -+.B attributeType -+are searched for the asserted DN. -+ -+.LP -+The fifth form is provided for backwards compatibility. If no identity -+type is provided, i.e. only -+.B <pattern> -+is present, an -+.I exact DN -+is assumed; as a consequence, -+.B <pattern> -+is subjected to DN normalization. -+ -+.LP -+Since the interpretation of -+.I authzFrom -+and -+.I authzTo -+can impact security, users are strongly encouraged -+to explicitly set the type of identity specification that is being used. -+A subset of these rules can be used as third arg in the -+.B authz-regexp -+statement (see below); significantly, the -+.IR URI , -+provided it results in exactly one entry, -+and the -+.I dn.exact:<dn> -+forms. -+.RE -+.TP -+.B authz-regexp <match> <replace> -+Used by the authentication framework to convert simple user names, -+such as provided by SASL subsystem, or extracted from certificates -+in case of cert-based SASL EXTERNAL, or provided within the RFC 4370 -+"proxied authorization" control, to an LDAP DN used for -+authorization purposes. Note that the resulting DN need not refer -+to an existing entry to be considered valid. When an authorization -+request is received from the SASL subsystem, the SASL -+.BR USERNAME , -+.BR REALM , -+and -+.B MECHANISM -+are taken, when available, and combined into a name of the form -+.RS -+.RS -+.TP -+.B UID=<username>[[,CN=<realm>],CN=<mechanism>],CN=auth -+ -+.RE -+This name is then compared against the -+.B match -+POSIX (''extended'') regular expression, and if the match is successful, -+the name is replaced with the -+.B replace -+string. If there are wildcard strings in the -+.B match -+regular expression that are enclosed in parenthesis, e.g. -+.RS -+.TP -+.B UID=([^,]*),CN=.* -+ -+.RE -+then the portion of the name that matched the wildcard will be stored -+in the numbered placeholder variable $1. If there are other wildcard strings -+in parenthesis, the matching strings will be in $2, $3, etc. up to $9. The -+placeholders can then be used in the -+.B replace -+string, e.g. -+.RS -+.TP -+.B UID=$1,OU=Accounts,DC=example,DC=com -+ -+.RE -+The replaced name can be either a DN, i.e. a string prefixed by "dn:", -+or an LDAP URI. -+If the latter, the server will use the URI to search its own database(s) -+and, if the search returns exactly one entry, the name is -+replaced by the DN of that entry. The LDAP URI must have no -+hostport, attrs, or extensions components, but the filter is mandatory, -+e.g. -+.RS -+.TP -+.B ldap:///OU=Accounts,DC=example,DC=com??one?(UID=$1) -+ -+.RE -+The protocol portion of the URI must be strictly -+.BR ldap . -+Note that this search is subject to access controls. Specifically, -+the authentication identity must have "auth" access in the subject. -+ -+Multiple -+.B authz-regexp -+options can be given in the configuration file to allow for multiple matching -+and replacement patterns. The matching patterns are checked in the order they -+appear in the file, stopping at the first successful match. -+ -+.".B Caution: -+."Because the plus sign + is a character recognized by the regular expression engine, -+."and it will appear in names that include a REALM, be careful to escape the -+."plus sign with a backslash \+ to remove the character's special meaning. -+.RE -+.TP -+.B concurrency <integer> -+Specify a desired level of concurrency. Provided to the underlying -+thread system as a hint. The default is not to provide any hint. This setting -+is only meaningful on some platforms where there is not a one to one -+correspondence between user threads and kernel threads. -+.TP -+.B conn_max_pending <integer> -+Specify the maximum number of pending requests for an anonymous session. -+If requests are submitted faster than the server can process them, they -+will be queued up to this limit. If the limit is exceeded, the session -+is closed. The default is 100. -+.TP -+.B conn_max_pending_auth <integer> -+Specify the maximum number of pending requests for an authenticated session. -+The default is 1000. -+.TP -+.B defaultsearchbase <dn> -+Specify a default search base to use when client submits a -+non-base search request with an empty base DN. -+Base scoped search requests with an empty base DN are not affected. -+.TP -+.B disallow <features> -+Specify a set of features (separated by white space) to -+disallow (default none). -+.B bind_anon -+disables acceptance of anonymous bind requests. Note that this setting -+does not prohibit anonymous directory access (See "require authc"). -+.B bind_simple -+disables simple (bind) authentication. -+.B tls_2_anon -+disables forcing session to anonymous status (see also -+.BR tls_authc ) -+upon StartTLS operation receipt. -+.B tls_authc -+disallows the StartTLS operation if authenticated (see also -+.BR tls_2_anon ). -+.B proxy_authz_non_critical -+disables acceptance of the proxied authorization control (RFC4370) -+with criticality set to FALSE. -+.B dontusecopy_non_critical -+disables acceptance of the dontUseCopy control (a work in progress) -+with criticality set to FALSE. -+.HP -+.hy 0 -+.B ditcontentrule "(\ <oid>\ -+ [NAME\ <name>]\ -+ [DESC\ <description>]\ -+ [OBSOLETE]\ -+ [AUX\ <oids>]\ -+ [MUST\ <oids>]\ -+ [MAY\ <oids>]\ -+ [NOT\ <oids>]\ )" -+.RS -+Specify an DIT Content Rule using the LDAPv3 syntax defined in RFC 4512. -+The slapd parser extends the RFC 4512 definition by allowing string -+forms as well as numeric OIDs to be used for the attribute OID and -+attribute syntax OID. -+(See the -+.B objectidentifier -+description.) -+.RE -+.TP -+.B gentlehup { on | off } -+A SIGHUP signal will only cause a 'gentle' shutdown-attempt: -+.B Slapd -+will stop listening for new connections, but will not close the -+connections to the current clients. Future write operations return -+unwilling-to-perform, though. Slapd terminates when all clients -+have closed their connections (if they ever do), or - as before - -+if it receives a SIGTERM signal. This can be useful if you wish to -+terminate the server and start a new -+.B slapd -+server -+.B with another database, -+without disrupting the currently active clients. -+The default is off. You may wish to use -+.B idletimeout -+along with this option. -+.TP -+.B idletimeout <integer> -+Specify the number of seconds to wait before forcibly closing -+an idle client connection. A setting of 0 disables this -+feature. The default is 0. You may also want to set the -+.B writetimeout -+option. -+.TP -+.B include <filename> -+Read additional configuration information from the given file before -+continuing with the next line of the current file. -+.TP -+.B index_hash64 { on | off } -+Use a 64 bit hash for indexing. The default is to use 32 bit hashes. -+These hashes are used for equality and substring indexing. The 64 bit -+version may be needed to avoid index collisions when the number of -+indexed values exceeds ~64 million. (Note that substring indexing -+generates multiple index values per actual attribute value.) -+Indices generated with 32 bit hashes are incompatible with the 64 bit -+version, and vice versa. Any existing databases must be fully reloaded -+when changing this setting. This directive is only supported on 64 bit CPUs. -+.TP -+.B index_intlen <integer> -+Specify the key length for ordered integer indices. The most significant -+bytes of the binary integer will be used for index keys. The default -+value is 4, which provides exact indexing for 31 bit values. -+A floating point representation is used to index too large values. -+.TP -+.B index_substr_if_maxlen <integer> -+Specify the maximum length for subinitial and subfinal indices. Only -+this many characters of an attribute value will be processed by the -+indexing functions; any excess characters are ignored. The default is 4. -+.TP -+.B index_substr_if_minlen <integer> -+Specify the minimum length for subinitial and subfinal indices. An -+attribute value must have at least this many characters in order to be -+processed by the indexing functions. The default is 2. -+.TP -+.B index_substr_any_len <integer> -+Specify the length used for subany indices. An attribute value must have -+at least this many characters in order to be processed. Attribute values -+longer than this length will be processed in segments of this length. The -+default is 4. The subany index will also be used in subinitial and -+subfinal index lookups when the filter string is longer than the -+.I index_substr_if_maxlen -+value. -+.TP -+.B index_substr_any_step <integer> -+Specify the steps used in subany index lookups. This value sets the offset -+for the segments of a filter string that are processed for a subany index -+lookup. The default is 2. For example, with the default values, a search -+using this filter "cn=*abcdefgh*" would generate index lookups for -+"abcd", "cdef", and "efgh". -+ -+.LP -+Note: Indexing support depends on the particular backend in use. Also, -+changing these settings will generally require deleting any indices that -+depend on these parameters and recreating them with -+.BR slapindex (8). -+ -+.HP -+.hy 0 -+.B ldapsyntax "(\ <oid>\ -+ [DESC\ <description>]\ -+ [X-SUBST <substitute-syntax>]\ )" -+.RS -+Specify an LDAP syntax using the LDAPv3 syntax defined in RFC 4512. -+The slapd parser extends the RFC 4512 definition by allowing string -+forms as well as numeric OIDs to be used for the syntax OID. -+(See the -+.B objectidentifier -+description.) -+The slapd parser also honors the -+.B X-SUBST -+extension (an OpenLDAP-specific extension), which allows one to use the -+.B ldapsyntax -+statement to define a non-implemented syntax along with another syntax, -+the extension value -+.IR substitute-syntax , -+as its temporary replacement. -+The -+.I substitute-syntax -+must be defined. -+This allows one to define attribute types that make use of non-implemented syntaxes -+using the correct syntax OID. -+Unless -+.B X-SUBST -+is used, this configuration statement would result in an error, -+since no handlers would be associated to the resulting syntax structure. -+.RE -+ -+.TP -+.B listener-threads <integer> -+Specify the number of threads to use for the connection manager. -+The default is 1 and this is typically adequate for up to 16 CPU cores. -+The value should be set to a power of 2. -+.TP -+.B localSSF <SSF> -+Specifies the Security Strength Factor (SSF) to be given local LDAP sessions, -+such as those to the ldapi:// listener. For a description of SSF values, -+see -+.BR sasl-secprops 's -+.B minssf -+option description. The default is 71. -+.TP -+.B logfile <filename> -+Specify a file for recording slapd debug messages. By default these messages -+only go to stderr, are not recorded anywhere else, and are unrelated to -+messages exposed by the -+.B loglevel -+configuration parameter. Specifying a logfile copies messages to both stderr -+and the logfile. -+.TP -+.B logfile-format debug | syslog-utc | syslog-localtime -+Specify the prefix format for messages written to the logfile. The debug -+format is the normal format used for slapd debug messages, with a timestamp -+in hexadecimal, followed by a thread ID. The other options are to -+use syslog(3) style prefixes, with timestamps either in UTC or in the -+local timezone. The default is debug format. -+.TP -+.B logfile-only on | off -+Specify that debug messages should only go to the configured logfile, and -+not to stderr. -+.TP -+.B logfile-rotate <max> <Mbytes> <hours> -+Specify automatic rotation for the configured logfile as the maximum -+number of old logfiles to retain, a maximum size in megabytes to allow a -+logfile to grow before rotation, and a maximum age in hours for a logfile -+to be used before rotation. The maximum number must be in the range 1-99. -+Setting Mbytes or hours to zero disables the size or age check, respectively. -+At least one of Mbytes or hours must be non-zero. By default no automatic -+rotation will be performed. -+.TP -+.B loglevel <integer> [...] -+Specify the level at which debugging statements and operation -+statistics should be syslogged (currently logged to the -+.BR syslogd (8) -+LOG_LOCAL4 facility). -+They must be considered subsystems rather than increasingly verbose -+log levels. -+Some messages with higher priority are logged regardless -+of the configured loglevel as soon as any logging is configured. -+Log levels are additive, and available levels are: -+.RS -+.RS -+.PD 0 -+.TP -+.B 1 -+.B (0x1 trace) -+trace function calls -+.TP -+.B 2 -+.B (0x2 packets) -+debug packet handling -+.TP -+.B 4 -+.B (0x4 args) -+heavy trace debugging (function args) -+.TP -+.B 8 -+.B (0x8 conns) -+connection management -+.TP -+.B 16 -+.B (0x10 BER) -+print out packets sent and received -+.TP -+.B 32 -+.B (0x20 filter) -+search filter processing -+.TP -+.B 64 -+.B (0x40 config) -+configuration file processing -+.TP -+.B 128 -+.B (0x80 ACL) -+access control list processing -+.TP -+.B 256 -+.B (0x100 stats) -+connections, LDAP operations, results (recommended) -+.TP -+.B 512 -+.B (0x200 stats2) -+stats2 log entries sent -+.TP -+.B 1024 -+.B (0x400 shell) -+print communication with shell backends -+.TP -+.B 2048 -+.B (0x800 parse) -+entry parsing -+".TP -+".B 4096 -+".B (0x1000 cache) -+"caching (unused) -+".TP -+".B 8192 -+".B (0x2000 index) -+"data indexing (unused) -+.TP -+.B 16384 -+.B (0x4000 sync) -+LDAPSync replication -+.TP -+.B 32768 -+.B (0x8000 none) -+only messages that get logged whatever log level is set -+.PD -+.RE -+The desired log level can be input as a single integer that combines -+the (ORed) desired levels, both in decimal or in hexadecimal notation, -+as a list of integers (that are ORed internally), -+or as a list of the names that are shown between parentheses, such that -+.LP -+.nf -+ loglevel 129 -+ loglevel 0x81 -+ loglevel 128 1 -+ loglevel 0x80 0x1 -+ loglevel acl trace -+.fi -+.LP -+are equivalent. -+The keyword -+.B any -+can be used as a shortcut to enable logging at all levels (equivalent to -1). -+The keyword -+.BR none , -+or the equivalent integer representation, causes those messages -+that are logged regardless of the configured loglevel to be logged. -+In fact, if loglevel is set to 0, no logging occurs, -+so at least the -+.B none -+level is required to have high priority messages logged. -+ -+Note that the -+.BR packets , -+.BR BER , -+and -+.B parse -+levels are only available as debug output on stderr, and are not -+sent to syslog. -+ -+The loglevel defaults to \fBstats\fP. -+This level should usually also be included when using other loglevels, to -+help analyze the logs. -+.RE -+.TP -+.B maxfilterdepth <integer> -+Specify the maximum depth of nested filters in search requests. -+The default is 1000. -+.TP -+.B moduleload <filename> [<arguments>...] -+Specify the name of a dynamically loadable module to load and any -+additional arguments if supported by the module. The filename -+may be an absolute path name or a simple filename. Non-absolute names -+are searched for in the directories specified by the -+.B modulepath -+option. This option and the -+.B modulepath -+option are only usable if slapd was compiled with --enable-modules. -+.TP -+.B modulepath <pathspec> -+Specify a list of directories to search for loadable modules. Typically -+the path is colon-separated but this depends on the operating system. -+The default is MODULEDIR, which is where the standard OpenLDAP install -+will place its modules. -+.HP -+.hy 0 -+.B objectclass "(\ <oid>\ -+ [NAME\ <name>]\ -+ [DESC\ <description>]\ -+ [OBSOLETE]\ -+ [SUP\ <oids>]\ -+ [{ ABSTRACT | STRUCTURAL | AUXILIARY }]\ -+ [MUST\ <oids>] [MAY\ <oids>] )" -+.RS -+Specify an objectclass using the LDAPv3 syntax defined in RFC 4512. -+The slapd parser extends the RFC 4512 definition by allowing string -+forms as well as numeric OIDs to be used for the object class OID. -+(See the -+.B -+objectidentifier -+description.) Object classes are "STRUCTURAL" by default. -+.RE -+.TP -+.B objectidentifier <name> "{ <oid> | <name>[:<suffix>] }" -+Define a string name that equates to the given OID. The string can be used -+in place of the numeric OID in objectclass and attribute definitions. The -+name can also be used with a suffix of the form ":xx" in which case the -+value "oid.xx" will be used. -+.TP -+.B password-hash <hash> [<hash>...] -+This option configures one or more hashes to be used in generation of user -+passwords stored in the userPassword attribute during processing of -+LDAP Password Modify Extended Operations (RFC 3062). -+The <hash> must be one of -+.BR {SSHA} , -+.BR {SHA} , -+.BR {SMD5} , -+.BR {MD5} , -+.BR {CRYPT} , -+and -+.BR {CLEARTEXT} . -+The default is -+.BR {SSHA} . -+ -+.B {SHA} -+and -+.B {SSHA} -+use the SHA-1 algorithm (FIPS 160-1), the latter with a seed. -+ -+.B {MD5} -+and -+.B {SMD5} -+use the MD5 algorithm (RFC 1321), the latter with a seed. -+ -+.B {CRYPT} -+uses the -+.BR crypt (3). -+ -+.B {CLEARTEXT} -+indicates that the new password should be -+added to userPassword as clear text. -+ -+Note that this option does not alter the normal user applications -+handling of userPassword during LDAP Add, Modify, or other LDAP operations. -+.TP -+.B password-crypt-salt-format <format> -+Specify the format of the salt passed to -+.BR crypt (3) -+when generating {CRYPT} passwords (see -+.BR password-hash ) -+during processing of LDAP Password Modify Extended Operations (RFC 3062). -+ -+This string needs to be in -+.BR sprintf (3) -+format and may include one (and only one) %s conversion. -+This conversion will be substituted with a string of random -+characters from [A-Za-z0-9./]. For example, "%.2s" -+provides a two character salt and "$1$%.8s" tells some -+versions of crypt(3) to use an MD5 algorithm and provides -+8 random characters of salt. The default is "%s", which -+provides 31 characters of salt. -+.TP -+.B pidfile <filename> -+The (absolute) name of a file that will hold the -+.B slapd -+server's process ID (see -+.BR getpid (2)). -+.TP -+.B pluginlog: <filename> -+The ( absolute ) name of a file that will contain log -+messages from -+.B SLAPI -+plugins. See -+.BR slapd.plugin (5) -+for details. -+.TP -+.B referral <url> -+Specify the referral to pass back when -+.BR slapd (8) -+cannot find a local database to handle a request. -+If specified multiple times, each url is provided. -+.TP -+.B require <conditions> -+Specify a set of conditions (separated by white space) to -+require (default none). -+The directive may be specified globally and/or per-database; -+databases inherit global conditions, so per-database specifications -+are additive. -+.B bind -+requires bind operation prior to directory operations. -+.B LDAPv3 -+requires session to be using LDAP version 3. -+.B authc -+requires authentication prior to directory operations. -+.B SASL -+requires SASL authentication prior to directory operations. -+.B strong -+requires strong authentication prior to directory operations. -+The strong keyword allows protected "simple" authentication -+as well as SASL authentication. -+.B none -+may be used to require no conditions (useful to clear out globally -+set conditions within a particular database); it must occur first -+in the list of conditions. -+.TP -+.B reverse-lookup on | off -+Enable/disable client name unverified reverse lookup (default is -+.BR off -+if compiled with --enable-rlookups). -+.TP -+.B rootDSE <file> -+Specify the name of an LDIF(5) file containing user defined attributes -+for the root DSE. These attributes are returned in addition to the -+attributes normally produced by slapd. -+ -+The root DSE is an entry with information about the server and its -+capabilities, in operational attributes. -+It has the empty DN, and can be read with e.g.: -+.ti +4 -+ldapsearch -x -b "" -s base "+" -+.br -+See RFC 4512 section 5.1 for details. -+.TP -+.B sasl-auxprops <plugin> [...] -+Specify which auxprop plugins to use for authentication lookups. The -+default is empty, which just uses slapd's internal support. Usually -+no other auxprop plugins are needed. -+.TP -+.B sasl-auxprops-dontusecopy <attr> [...] -+Specify which attribute(s) should be subject to the don't use copy control. This -+is necessary for some SASL mechanisms such as OTP to work in a replicated -+environment. The attribute "cmusaslsecretOTP" is the default value. -+.TP -+.B sasl-auxprops-dontusecopy-ignore on | off -+Used to disable replication of the attribute(s) defined by -+sasl-auxprops-dontusecopy and instead use a local value for the attribute. This -+allows the SASL mechanism to continue to work if the provider is offline. This can -+cause replication inconsistency. Defaults to off. -+.TP -+.B sasl-host <fqdn> -+Used to specify the fully qualified domain name used for SASL processing. -+.TP -+.B sasl-realm <realm> -+Specify SASL realm. Default is empty. -+.TP -+.B sasl-cbinding none | tls-unique | tls-endpoint -+Specify the channel-binding type, see also LDAP_OPT_X_SASL_CBINDING. -+Default is none. -+.TP -+.B sasl-secprops <properties> -+Used to specify Cyrus SASL security properties. -+The -+.B none -+flag (without any other properties) causes the flag properties -+default, "noanonymous,noplain", to be cleared. -+The -+.B noplain -+flag disables mechanisms susceptible to simple passive attacks. -+The -+.B noactive -+flag disables mechanisms susceptible to active attacks. -+The -+.B nodict -+flag disables mechanisms susceptible to passive dictionary attacks. -+The -+.B noanonymous -+flag disables mechanisms which support anonymous login. -+The -+.B forwardsec -+flag require forward secrecy between sessions. -+The -+.B passcred -+require mechanisms which pass client credentials (and allow -+mechanisms which can pass credentials to do so). -+The -+.B minssf=<factor> -+property specifies the minimum acceptable -+.I security strength factor -+as an integer approximate to effective key length used for -+encryption. 0 (zero) implies no protection, 1 implies integrity -+protection only, 128 allows RC4, Blowfish and other similar ciphers, -+256 will require modern ciphers. The default is 0. -+The -+.B maxssf=<factor> -+property specifies the maximum acceptable -+.I security strength factor -+as an integer (see minssf description). The default is INT_MAX. -+The -+.B maxbufsize=<size> -+property specifies the maximum security layer receive buffer -+size allowed. 0 disables security layers. The default is 65536. -+.TP -+.B schemadn <dn> -+Specify the distinguished name for the subschema subentry that -+controls the entries on this server. The default is "cn=Subschema". -+.TP -+.B security <factors> -+Specify a set of security strength factors (separated by white space) -+to require (see -+.BR sasl-secprops 's -+.B minssf -+option for a description of security strength factors). -+The directive may be specified globally and/or per-database. -+.B ssf=<n> -+specifies the overall security strength factor. -+.B transport=<n> -+specifies the transport security strength factor. -+.B tls=<n> -+specifies the TLS security strength factor. -+.B sasl=<n> -+specifies the SASL security strength factor. -+.B update_ssf=<n> -+specifies the overall security strength factor to require for -+directory updates. -+.B update_transport=<n> -+specifies the transport security strength factor to require for -+directory updates. -+.B update_tls=<n> -+specifies the TLS security strength factor to require for -+directory updates. -+.B update_sasl=<n> -+specifies the SASL security strength factor to require for -+directory updates. -+.B simple_bind=<n> -+specifies the security strength factor required for -+.I simple -+username/password authentication. -+Note that the -+.B transport -+factor is measure of security provided by the underlying transport, -+e.g. ldapi:// (and eventually IPSEC). It is not normally used. -+.TP -+.B serverID <integer> [<URL>] -+Specify an integer ID from 0 to 4095 for this server. The ID may also be -+specified as a hexadecimal ID by prefixing the value with "0x". -+Non-zero IDs are required when using multi-provider replication and each -+provider must have a unique non-zero ID. Note that this requirement also -+applies to separate providers contributing to a glued set of databases. -+If the URL is provided, this directive may be specified -+multiple times, providing a complete list of participating servers -+and their IDs. The fully qualified hostname of each server should be -+used in the supplied URLs. The IDs are used in the "replica id" field -+of all CSNs generated by the specified server. The default value is zero, which -+is only valid for single provider replication. -+Example: -+.LP -+.nf -+ serverID 1 ldap://ldap1.example.com -+ serverID 2 ldap://ldap2.example.com -+.fi -+.TP -+.B sizelimit {<integer>|unlimited} -+.TP -+.B sizelimit size[.{soft|hard}]=<integer> [...] -+Specify the maximum number of entries to return from a search operation. -+The default size limit is 500. -+Use -+.B unlimited -+to specify no limits. -+The second format allows a fine grain setting of the size limits. -+If no special qualifiers are specified, both soft and hard limits are set. -+Extra args can be added on the same line. -+Additional qualifiers are available; see -+.BR limits -+for an explanation of all of the different flags. -+.TP -+.B sockbuf_max_incoming <integer> -+Specify the maximum incoming LDAP PDU size for anonymous sessions. -+The default is 262143. -+.TP -+.B sockbuf_max_incoming_auth <integer> -+Specify the maximum incoming LDAP PDU size for authenticated sessions. -+The default is 4194303. -+.TP -+.B sortvals <attr> [...] -+Specify a list of multi-valued attributes whose values will always -+be maintained in sorted order. Using this option will allow Modify, -+Compare, and filter evaluations on these attributes to be performed -+more efficiently. The resulting sort order depends on the -+attributes' syntax and matching rules and may not correspond to -+lexical order or any other recognizable order. -+.TP -+.B tcp-buffer [listener=<URL>] [{read|write}=]<size> -+Specify the size of the TCP buffer. -+A global value for both read and write TCP buffers related to any listener -+is defined, unless the listener is explicitly specified, -+or either the read or write qualifiers are used. -+See -+.BR tcp (7) -+for details. -+Note that some OS-es implement automatic TCP buffer tuning. -+.TP -+.B threads <integer> -+Specify the maximum size of the primary thread pool. -+The default is 16; the minimum value is 2. -+.TP -+.B threadqueues <integer> -+Specify the number of work queues to use for the primary thread pool. -+The default is 1 and this is typically adequate for up to 8 CPU cores. -+The value should not exceed the number of CPUs in the system. -+.TP -+.B timelimit {<integer>|unlimited} -+.TP -+.B timelimit time[.{soft|hard}]=<integer> [...] -+Specify the maximum number of seconds (in real time) -+.B slapd -+will spend answering a search request. The default time limit is 3600. -+Use -+.B unlimited -+to specify no limits. -+The second format allows a fine grain setting of the time limits. -+Extra args can be added on the same line. See -+.BR limits -+for an explanation of the different flags. -+.TP -+.B tool-threads <integer> -+Specify the maximum number of threads to use in tool mode. -+This should not be greater than the number of CPUs in the system. -+The default is 1. -+.TP -+.B writetimeout <integer> -+Specify the number of seconds to wait before forcibly closing -+a connection with an outstanding write. This allows recovery from -+various network hang conditions. A writetimeout of 0 disables this -+feature. The default is 0. -+.SH TLS OPTIONS -+If -+.B slapd -+is built with support for Transport Layer Security, there are more options -+you can specify. -+.TP -+.B TLSCipherSuite <cipher-suite-spec> -+Permits configuring what ciphers will be accepted and the preference order. -+<cipher-suite-spec> should be a cipher specification for the TLS library -+in use (OpenSSL or GnuTLS). -+Example: -+.RS -+.RS -+.TP -+.I OpenSSL: -+TLSCipherSuite HIGH:MEDIUM:+SSLv2 -+.TP -+.I GnuTLS: -+TLSCiphersuite SECURE256:!AES-128-CBC -+.RE -+ -+To check what ciphers a given spec selects in OpenSSL, use: -+ -+.nf -+ openssl ciphers -v <cipher-suite-spec> -+.fi -+ -+With GnuTLS the available specs can be found in the manual page of -+.BR gnutls-cli (1) -+(see the description of the -+option -+.BR --priority ). -+ -+In older versions of GnuTLS, where gnutls-cli does not support the option -+--priority, you can obtain the (em more limited (em list of ciphers by calling: -+ -+.nf -+ gnutls-cli -l -+.fi -+.RE -+.TP -+.B TLSCACertificateFile <filename> -+Specifies the file that contains certificates for all of the Certificate -+Authorities that -+.B slapd -+will recognize. The certificate for -+the CA that signed the server certificate must(GnuTLS)/may(OpenSSL) be included among -+these certificates. If the signing CA was not a top-level (root) CA, -+certificates for the entire sequence of CA's from the signing CA to -+the top-level CA should be present. Multiple certificates are simply -+appended to the file; the order is not significant. -+.TP -+.B TLSCACertificatePath <path> -+Specifies the path of directories that contain Certificate Authority -+certificates in separate individual files. Usually only one of this -+or the TLSCACertificateFile is used. If both are specified, both -+locations will be used. Multiple directories may be specified, -+separated by a semi-colon. -+.TP -+.B TLSCertificateFile <filename> -+Specifies the file that contains the -+.B slapd -+server certificate. -+ -+When using OpenSSL that file may also contain any number of intermediate -+certificates after the server certificate. -+.TP -+.B TLSCertificateKeyFile <filename> -+Specifies the file that contains the -+.B slapd -+server private key that matches the certificate stored in the -+.B TLSCertificateFile -+file. Currently, the private key must not be protected with a password, so -+it is of critical importance that it is protected carefully. -+.TP -+.B TLSDHParamFile <filename> -+This directive specifies the file that contains parameters for Diffie-Hellman -+ephemeral key exchange. This is required in order to use a DSA certificate on -+the server, or an RSA certificate missing the "key encipherment" key usage. -+Note that setting this option may also enable -+Anonymous Diffie-Hellman key exchanges in certain non-default cipher suites. -+Anonymous key exchanges should generally be avoided since they provide no -+actual client or server authentication and provide no protection against -+man-in-the-middle attacks. -+You should append "!ADH" to your cipher suites to ensure that these suites -+are not used. -+.TP -+.B TLSECName <name> -+Specify the name of the curve(s) to use for Elliptic curve Diffie-Hellman -+ephemeral key exchange. This option is only used for OpenSSL. -+This option is not used with GnuTLS; the curves may be -+chosen in the GnuTLS ciphersuite specification. -+.TP -+.B TLSProtocolMin <major>[.<minor>] -+Specifies minimum SSL/TLS protocol version that will be negotiated. -+If the server doesn't support at least that version, -+the SSL handshake will fail. -+To require TLS 1.x or higher, set this option to 3.(x+1), -+e.g., -+ -+.nf -+ TLSProtocolMin 3.2 -+.fi -+ -+would require TLS 1.1. -+Specifying a minimum that is higher than that supported by the -+OpenLDAP implementation will result in it requiring the -+highest level that it does support. -+This directive is ignored with GnuTLS. -+.TP -+.B TLSRandFile <filename> -+Specifies the file to obtain random bits from when /dev/[u]random -+is not available. Generally set to the name of the EGD/PRNGD socket. -+The environment variable RANDFILE can also be used to specify the filename. -+This directive is ignored with GnuTLS. -+.TP -+.B TLSVerifyClient <level> -+Specifies what checks to perform on client certificates in an -+incoming TLS session, if any. -+The -+.B <level> -+can be specified as one of the following keywords: -+.RS -+.TP -+.B never -+This is the default. -+.B slapd -+will not ask the client for a certificate. -+.TP -+.B allow -+The client certificate is requested. If no certificate is provided, -+the session proceeds normally. If a bad certificate is provided, -+it will be ignored and the session proceeds normally. -+.TP -+.B try -+The client certificate is requested. If no certificate is provided, -+the session proceeds normally. If a bad certificate is provided, -+the session is immediately terminated. -+.TP -+.B demand | hard | true -+These keywords are all equivalent, for compatibility reasons. -+The client certificate is requested. If no certificate is provided, -+or a bad certificate is provided, the session is immediately terminated. -+ -+Note that a valid client certificate is required in order to use the -+SASL EXTERNAL authentication mechanism with a TLS session. As such, -+a non-default -+.B TLSVerifyClient -+setting must be chosen to enable SASL EXTERNAL authentication. -+.RE -+.TP -+.B TLSCRLCheck <level> -+Specifies if the Certificate Revocation List (CRL) of the CA should be -+used to verify if the client certificates have not been revoked. This -+requires -+.B TLSCACertificatePath -+parameter to be set. This directive is ignored with GnuTLS. -+.B <level> -+can be specified as one of the following keywords: -+.RS -+.TP -+.B none -+No CRL checks are performed -+.TP -+.B peer -+Check the CRL of the peer certificate -+.TP -+.B all -+Check the CRL for a whole certificate chain -+.RE -+.TP -+.B TLSCRLFile <filename> -+Specifies a file containing a Certificate Revocation List to be used -+for verifying that certificates have not been revoked. This directive is -+only valid when using GnuTLS. -+.SH GENERAL BACKEND OPTIONS -+Options in this section only apply to the configuration file section -+of all instances of the specified backend. All backends may support -+this class of options, but currently only back-mdb does. -+.TP -+.B backend <databasetype> -+Mark the beginning of a backend definition. <databasetype> -+should be one of -+.BR asyncmeta , -+.BR config , -+.BR dnssrv , -+.BR ldap , -+.BR ldif , -+.BR mdb , -+.BR meta , -+.BR monitor , -+.BR null , -+.BR passwd , -+.BR perl , -+.BR relay , -+.BR sock , -+.BR sql , -+or -+.BR wt . -+At present, only back-mdb implements any options of this type, so this -+setting is not needed for any other backends. -+ -+.SH GENERAL DATABASE OPTIONS -+Options in this section only apply to the configuration file section -+for the database in which they are defined. They are supported by every -+type of backend. Note that the -+.B database -+and at least one -+.B suffix -+option are mandatory for each database. -+.TP -+.B database <databasetype> -+Mark the beginning of a new database instance definition. <databasetype> -+should be one of -+.BR asyncmeta , -+.BR config , -+.BR dnssrv , -+.BR ldap , -+.BR ldif , -+.BR mdb , -+.BR meta , -+.BR monitor , -+.BR null , -+.BR passwd , -+.BR perl , -+.BR relay , -+.BR sock , -+.BR sql , -+or -+.BR wt , -+depending on which backend will serve the database. -+ -+LDAP operations, even subtree searches, normally access only one -+database. -+That can be changed by gluing databases together with the -+.B subordinate -+keyword. -+Access controls and some overlays can also involve multiple databases. -+.TP -+.B add_content_acl on | off -+Controls whether Add operations will perform ACL checks on -+the content of the entry being added. This check is off -+by default. See the -+.BR slapd.access (5) -+manual page for more details on ACL requirements for -+Add operations. -+.TP -+.B extra_attrs <attrlist> -+Lists what attributes need to be added to search requests. -+Local storage backends return the entire entry to the frontend. -+The frontend takes care of only returning the requested attributes -+that are allowed by ACLs. -+However, features like access checking and so may need specific -+attributes that are not automatically returned by remote storage -+backends, like proxy backends and so on. -+.B <attrlist> -+is a list of attributes that are needed for internal purposes -+and thus always need to be collected, even when not explicitly -+requested by clients. -+.TP -+.B hidden on | off -+Controls whether the database will be used to answer -+queries. A database that is hidden will never be -+selected to answer any queries, and any suffix configured -+on the database will be ignored in checks for conflicts -+with other databases. By default, hidden is off. -+.TP -+.B lastmod on | off -+Controls whether -+.B slapd -+will automatically maintain the -+modifiersName, modifyTimestamp, creatorsName, and -+createTimestamp attributes for entries. It also controls -+the entryCSN and entryUUID attributes, which are needed -+by the syncrepl provider. By default, lastmod is on. -+.TP -+.B lastbind on | off -+Controls whether -+.B slapd -+will automatically maintain the pwdLastSuccess attribute for -+entries. By default, lastbind is off. -+.TP -+.B lastbind-precision <integer> -+If lastbind is enabled, specifies how frequently pwdLastSuccess -+will be updated. More than -+.B integer -+seconds must have passed since the last successful bind. In a -+replicated environment with frequent bind activity it may be -+useful to set this to a large value. -+.TP -+.B limits <selector> <limit> [<limit> [...]] -+Specify time and size limits based on the operation's initiator or -+base DN. -+The argument -+.B <selector> -+can be any of -+.RS -+.RS -+.TP -+anonymous | users | [<dnspec>=]<pattern> | group[/oc[/at]]=<pattern> -+ -+.RE -+with -+.RS -+.TP -+<dnspec> ::= dn[.<type>][.<style>] -+.TP -+<type> ::= self | this -+.TP -+<style> ::= exact | base | onelevel | subtree | children | regex | anonymous -+ -+.RE -+DN type -+.B self -+is the default and means the bound user, while -+.B this -+means the base DN of the operation. -+The term -+.B anonymous -+matches all unauthenticated clients. -+The term -+.B users -+matches all authenticated clients; -+otherwise an -+.B exact -+dn pattern is assumed unless otherwise specified by qualifying -+the (optional) key string -+.B dn -+with -+.B exact -+or -+.B base -+(which are synonyms), to require an exact match; with -+.BR onelevel , -+to require exactly one level of depth match; with -+.BR subtree , -+to allow any level of depth match, including the exact match; with -+.BR children , -+to allow any level of depth match, not including the exact match; -+.BR regex -+explicitly requires the (default) match based on POSIX (''extended'') -+regular expression pattern. -+Finally, -+.B anonymous -+matches unbound operations; the -+.B pattern -+field is ignored. -+The same behavior is obtained by using the -+.B anonymous -+form of the -+.B <selector> -+clause. -+The term -+.BR group , -+with the optional objectClass -+.B oc -+and attributeType -+.B at -+fields, followed by -+.BR pattern , -+sets the limits for any DN listed in the values of the -+.B at -+attribute (default -+.BR member ) -+of the -+.B oc -+group objectClass (default -+.BR groupOfNames ) -+whose DN exactly matches -+.BR pattern . -+ -+The currently supported limits are -+.B size -+and -+.BR time . -+ -+The syntax for time limits is -+.BR time[.{soft|hard}]=<integer> , -+where -+.I integer -+is the number of seconds slapd will spend answering a search request. -+If no time limit is explicitly requested by the client, the -+.BR soft -+limit is used; if the requested time limit exceeds the -+.BR hard -+."limit, an -+.".I "Administrative limit exceeded" -+."error is returned. -+limit, the value of the limit is used instead. -+If the -+.BR hard -+limit is set to the keyword -+.IR soft , -+the soft limit is used in either case; if it is set to the keyword -+.IR unlimited , -+no hard limit is enforced. -+Explicit requests for time limits smaller or equal to the -+.BR hard -+limit are honored. -+If no limit specifier is set, the value is assigned to the -+.BR soft -+limit, and the -+.BR hard -+limit is set to -+.IR soft , -+to preserve the original behavior. -+ -+The syntax for size limits is -+.BR size[.{soft|hard|unchecked}]=<integer> , -+where -+.I integer -+is the maximum number of entries slapd will return answering a search -+request. -+If no size limit is explicitly requested by the client, the -+.BR soft -+limit is used; if the requested size limit exceeds the -+.BR hard -+."limit, an -+.".I "Administrative limit exceeded" -+."error is returned. -+limit, the value of the limit is used instead. -+If the -+.BR hard -+limit is set to the keyword -+.IR soft , -+the soft limit is used in either case; if it is set to the keyword -+.IR unlimited , -+no hard limit is enforced. -+Explicit requests for size limits smaller or equal to the -+.BR hard -+limit are honored. -+The -+.BR unchecked -+specifier sets a limit on the number of candidates a search request is allowed -+to examine. -+The rationale behind it is that searches for non-properly indexed -+attributes may result in large sets of candidates, which must be -+examined by -+.BR slapd (8) -+to determine whether they match the search filter or not. -+The -+.B unchecked -+limit provides a means to drop such operations before they are even -+started. -+If the selected candidates exceed the -+.BR unchecked -+limit, the search will abort with -+.IR "Unwilling to perform" . -+If it is set to the keyword -+.IR unlimited , -+no limit is applied (the default). -+If it is set to -+.IR disabled , -+the search is not even performed; this can be used to disallow searches -+for a specific set of users. -+If no limit specifier is set, the value is assigned to the -+.BR soft -+limit, and the -+.BR hard -+limit is set to -+.IR soft , -+to preserve the original behavior. -+ -+In case of no match, the global limits are used. -+The default values are the same as for -+.B sizelimit -+and -+.BR timelimit ; -+no limit is set on -+.BR unchecked . -+ -+If -+.B pagedResults -+control is requested, the -+.B hard -+size limit is used by default, because the request of a specific page size -+is considered an explicit request for a limitation on the number -+of entries to be returned. -+However, the size limit applies to the total count of entries returned within -+the search, and not to a single page. -+Additional size limits may be enforced; the syntax is -+.BR size.pr={<integer>|noEstimate|unlimited} , -+where -+.I integer -+is the max page size if no explicit limit is set; the keyword -+.I noEstimate -+inhibits the server from returning an estimate of the total number -+of entries that might be returned -+(note: the current implementation does not return any estimate). -+The keyword -+.I unlimited -+indicates that no limit is applied to the pagedResults control page size. -+The syntax -+.B size.prtotal={<integer>|hard|unlimited|disabled} -+allows one to set a limit on the total number of entries that the pagedResults -+control will return. -+By default it is set to the -+.B hard -+limit which will use the size.hard value. -+When set, -+.I integer -+is the max number of entries that the whole search with pagedResults control -+can return. -+Use -+.I unlimited -+to allow unlimited number of entries to be returned, e.g. to allow -+the use of the pagedResults control as a means to circumvent size -+limitations on regular searches; the keyword -+.I disabled -+disables the control, i.e. no paged results can be returned. -+Note that the total number of entries returned when the pagedResults control -+is requested cannot exceed the -+.B hard -+size limit of regular searches unless extended by the -+.B prtotal -+switch. -+ -+The \fBlimits\fP statement is typically used to let an unlimited -+number of entries be returned by searches performed -+with the identity used by the consumer for synchronization purposes -+by means of the RFC 4533 LDAP Content Synchronization protocol -+(see \fBsyncrepl\fP for details). -+ -+When using subordinate databases, it is necessary for any limits that -+are to be applied across the parent and its subordinates to be defined in -+both the parent and its subordinates. Otherwise the settings on the -+subordinate databases are not honored. -+.RE -+.TP -+.B maxderefdepth <depth> -+Specifies the maximum number of aliases to dereference when trying to -+resolve an entry, used to avoid infinite alias loops. The default is 15. -+.TP -+.B multiprovider on | off -+This option puts a consumer database into Multi-Provider mode. Update -+operations will be accepted from any user, not just the updatedn. The -+database must already be configured as a syncrepl consumer -+before this keyword may be set. This mode also requires a -+.B serverID -+(see above) to be configured. -+By default, multiprovider is off. -+.TP -+.B monitoring on | off -+This option enables database-specific monitoring in the entry related -+to the current database in the "cn=Databases,cn=Monitor" subtree -+of the monitor database, if the monitor database is enabled. -+Currently, only the MDB database provides database-specific monitoring. -+If monitoring is supported by the backend it defaults to on, otherwise -+off. -+.TP -+.B overlay <overlay-name> -+Add the specified overlay to this database. An overlay is a piece of -+code that intercepts database operations in order to extend or change -+them. Overlays are pushed onto -+a stack over the database, and so they will execute in the reverse -+of the order in which they were configured and the database itself -+will receive control last of all. See the -+.BR slapd.overlays (5) -+manual page for an overview of the available overlays. -+Note that all of the database's -+regular settings should be configured before any overlay settings. -+.TP -+.B readonly on | off -+This option puts the database into "read-only" mode. Any attempts to -+modify the database will return an "unwilling to perform" error. By -+default, readonly is off. -+.TP -+.B restrict <oplist> -+Specify a whitespace separated list of operations that are restricted. -+If defined inside a database specification, restrictions apply only -+to that database, otherwise they are global. -+Operations can be any of -+.BR add , -+.BR bind , -+.BR compare , -+.BR delete , -+.BR extended[=<OID>] , -+.BR modify , -+.BR rename , -+.BR search , -+or the special pseudo-operations -+.B read -+and -+.BR write , -+which respectively summarize read and write operations. -+The use of -+.I restrict write -+is equivalent to -+.I readonly on -+(see above). -+The -+.B extended -+keyword allows one to indicate the OID of the specific operation -+to be restricted. -+.TP -+.B rootdn <dn> -+Specify the distinguished name that is not subject to access control -+or administrative limit restrictions for operations on this database. -+This DN may or may not be associated with an entry. An empty root -+DN (the default) specifies no root access is to be granted. It is -+recommended that the rootdn only be specified when needed (such as -+when initially populating a database). If the rootdn is within -+a namingContext (suffix) of the database, a simple bind password -+may also be provided using the -+.B rootpw -+directive. Many optional features, including syncrepl, require the -+rootdn to be defined for the database. -+.TP -+.B rootpw <password> -+Specify a password (or hash of the password) for the rootdn. The -+password can only be set if the rootdn is within the namingContext -+(suffix) of the database. -+This option accepts all RFC 2307 userPassword formats known to -+the server (see -+.B password-hash -+description) as well as cleartext. -+.BR slappasswd (8) -+may be used to generate a hash of a password. Cleartext -+and \fB{CRYPT}\fP passwords are not recommended. If empty -+(the default), authentication of the root DN is by other means -+(e.g. SASL). Use of SASL is encouraged. -+.TP -+.B suffix <dn suffix> -+Specify the DN suffix of queries that will be passed to this -+backend database. Multiple suffix lines can be given and at least one is -+required for each database definition. -+ -+If the suffix of one database is "inside" that of another, the database -+with the inner suffix must come first in the configuration file. -+You may also want to glue such databases together with the -+.B subordinate -+keyword. -+.TP -+.B subordinate [advertise] -+Specify that the current backend database is a subordinate of another -+backend database. A subordinate database may have only one suffix. This -+option may be used to glue multiple databases into a single namingContext. -+If the suffix of the current database is within the namingContext of a -+superior database, searches against the superior database will be -+propagated to the subordinate as well. All of the databases -+associated with a single namingContext should have identical rootdns. -+Behavior of other LDAP operations is unaffected by this setting. In -+particular, it is not possible to use moddn to move an entry from -+one subordinate to another subordinate within the namingContext. -+ -+If the optional \fBadvertise\fP flag is supplied, the naming context of -+this database is advertised in the root DSE. The default is to hide this -+database context, so that only the superior context is visible. -+ -+If the slap tools -+.BR slapcat (8), -+.BR slapadd (8), -+.BR slapmodify (8), -+or -+.BR slapindex (8) -+are used on the superior database, any glued subordinates that support -+these tools are opened as well. -+ -+Databases that are glued together should usually be configured with the -+same indices (assuming they support indexing), even for attributes that -+only exist in some of these databases. In general, all of the glued -+databases should be configured as similarly as possible, since the intent -+is to provide the appearance of a single directory. -+ -+Note that the \fIsubordinate\fP functionality is implemented internally -+by the \fIglue\fP overlay and as such its behavior will interact with other -+overlays in use. By default, the glue overlay is automatically configured as -+the last overlay on the superior backend. Its position on the backend -+can be explicitly configured by setting an \fBoverlay glue\fP directive -+at the desired position. This explicit configuration is necessary e.g. -+when using the \fIsyncprov\fP overlay, which needs to follow \fIglue\fP -+in order to work over all of the glued databases. E.g. -+.RS -+.nf -+ database mdb -+ suffix dc=example,dc=com -+ ... -+ overlay glue -+ overlay syncprov -+.fi -+.RE -+.TP -+.B sync_use_subentry -+Store the syncrepl contextCSN in a subentry instead of the context entry -+of the database. The subentry's RDN will be "cn=ldapsync". By default -+the contextCSN is stored in the context entry. -+.HP -+.hy 0 -+.B syncrepl rid=<replica ID> -+.B provider=ldap[s]://<hostname>[:port] -+.B searchbase=<base DN> -+.B [type=refreshOnly|refreshAndPersist] -+.B [interval=dd:hh:mm:ss] -+.B [retry=[<retry interval> <# of retries>]+] -+.B [filter=<filter str>] -+.B [scope=sub|one|base|subord] -+.B [attrs=<attr list>] -+.B [exattrs=<attr list>] -+.B [attrsonly] -+.B [sizelimit=<limit>] -+.B [timelimit=<limit>] -+.B [schemachecking=on|off] -+.B [network-timeout=<seconds>] -+.B [timeout=<seconds>] -+.B [tcp-user-timeout=<milliseconds>] -+.B [bindmethod=simple|sasl] -+.B [binddn=<dn>] -+.B [saslmech=<mech>] -+.B [authcid=<identity>] -+.B [authzid=<identity>] -+.B [credentials=<passwd>] -+.B [realm=<realm>] -+.B [secprops=<properties>] -+.B [keepalive=<idle>:<probes>:<interval>] -+.B [starttls=yes|critical] -+.B [tls_cert=<file>] -+.B [tls_key=<file>] -+.B [tls_cacert=<file>] -+.B [tls_cacertdir=<path>] -+.B [tls_reqcert=never|allow|try|demand] -+.B [tls_reqsan=never|allow|try|demand] -+.B [tls_cipher_suite=<ciphers>] -+.B [tls_ecname=<names>] -+.B [tls_crlcheck=none|peer|all] -+.B [tls_protocol_min=<major>[.<minor>]] -+.B [suffixmassage=<real DN>] -+.B [logbase=<base DN>] -+.B [logfilter=<filter str>] -+.B [syncdata=default|accesslog|changelog] -+.B [lazycommit] -+.RS -+Specify the current database as a consumer which is kept up-to-date with the -+provider content by establishing the current -+.BR slapd (8) -+as a replication consumer site running a -+.B syncrepl -+replication engine. -+The consumer content is kept synchronized to the provider content using -+the LDAP Content Synchronization protocol. Refer to the -+"OpenLDAP Administrator's Guide" for detailed information on -+setting up a replicated -+.B slapd -+directory service using the -+.B syncrepl -+replication engine. -+ -+.B rid -+identifies the current -+.B syncrepl -+directive within the replication consumer site. -+It is a non-negative integer not greater than 999 (limited -+to three decimal digits). -+ -+.B provider -+specifies the replication provider site containing the provider content -+as an LDAP URI. If <port> is not given, the standard LDAP port number -+(389 or 636) is used. -+ -+The content of the -+.B syncrepl -+consumer is defined using a search -+specification as its result set. The consumer -+.B slapd -+will send search requests to the provider -+.B slapd -+according to the search specification. The search specification includes -+.BR searchbase ", " scope ", " filter ", " attrs ", " attrsonly ", " sizelimit ", " -+and -+.B timelimit -+parameters as in the normal search specification. The -+.B exattrs -+option may also be used to specify attributes that should be omitted -+from incoming entries. -+The \fBscope\fP defaults to \fBsub\fP, the \fBfilter\fP defaults to -+\fB(objectclass=*)\fP, and there is no default \fBsearchbase\fP. The -+\fBattrs\fP list defaults to \fB"*,+"\fP to return all user and operational -+attributes, and \fBattrsonly\fP and \fBexattrs\fP are unset by default. -+The \fBsizelimit\fP and \fBtimelimit\fP only -+accept "unlimited" and positive integers, and both default to "unlimited". -+The \fBsizelimit\fP and \fBtimelimit\fP parameters define -+a consumer requested limitation on the number of entries that can be returned -+by the LDAP Content Synchronization operation; these should be left unchanged -+from the default otherwise replication may never succeed. -+Note, however, that any provider-side limits for the replication identity -+will be enforced by the provider regardless of the limits requested -+by the LDAP Content Synchronization operation, much like for any other -+search operation. -+ -+The LDAP Content Synchronization protocol has two operation types. -+In the -+.B refreshOnly -+operation, the next synchronization search operation -+is periodically rescheduled at an interval time (specified by -+.B interval -+parameter; 1 day by default) -+after each synchronization operation finishes. -+In the -+.B refreshAndPersist -+operation, a synchronization search remains persistent in the provider slapd. -+Further updates to the provider will generate -+.B searchResultEntry -+to the consumer slapd as the search responses to the persistent -+synchronization search. If the initial search fails due to an error, the -+next synchronization search operation is periodically rescheduled at an -+interval time (specified by -+.B interval -+parameter; 1 day by default) -+ -+If an error occurs during replication, the consumer will attempt to -+reconnect according to the -+.B retry -+parameter which is a list of the <retry interval> and <# of retries> pairs. -+For example, retry="60 10 300 3" lets the consumer retry every 60 seconds -+for the first 10 times and then retry every 300 seconds for the next 3 -+times before stop retrying. The `+' in <# of retries> means indefinite -+number of retries until success. -+If no -+.B retry -+is specified, by default syncrepl retries every hour forever. -+ -+The schema checking can be enforced at the LDAP Sync -+consumer site by turning on the -+.B schemachecking -+parameter. The default is \fBoff\fP. -+Schema checking \fBon\fP means that replicated entries must have -+a structural objectClass, must obey to objectClass requirements -+in terms of required/allowed attributes, and that naming attributes -+and distinguished values must be present. -+As a consequence, schema checking should be \fBoff\fP when partial -+replication is used. -+ -+The -+.B network-timeout -+parameter sets how long the consumer will wait to establish a -+network connection to the provider. Once a connection is -+established, the -+.B timeout -+parameter determines how long the consumer will wait for the initial -+Bind request to complete. The defaults for these parameters come -+from -+.BR ldap.conf (5). -+The -+.B tcp-user-timeout -+parameter, if non-zero, corresponds to the -+.B TCP_USER_TIMEOUT -+set on the target connections, overriding the operating system setting. -+Only some systems support the customization of this parameter, it is -+ignored otherwise and system-wide settings are used. -+ -+A -+.B bindmethod -+of -+.B simple -+requires the options -+.B binddn -+and -+.B credentials -+and should only be used when adequate security services -+(e.g. TLS or IPSEC) are in place. -+.B REMEMBER: simple bind credentials must be in cleartext! -+A -+.B bindmethod -+of -+.B sasl -+requires the option -+.B saslmech. -+Depending on the mechanism, an authentication identity and/or -+credentials can be specified using -+.B authcid -+and -+.B credentials. -+The -+.B authzid -+parameter may be used to specify an authorization identity. -+Specific security properties (as with the -+.B sasl-secprops -+keyword above) for a SASL bind can be set with the -+.B secprops -+option. A non default SASL realm can be set with the -+.B realm -+option. -+The identity used for synchronization by the consumer should be allowed -+to receive an unlimited number of entries in response to a search request. -+The provider, other than allowing authentication of the syncrepl identity, -+should grant that identity appropriate access privileges to the data -+that is being replicated (\fBaccess\fP directive), and appropriate time -+and size limits. -+This can be accomplished by either allowing unlimited \fBsizelimit\fP -+and \fBtimelimit\fP, or by setting an appropriate \fBlimits\fP statement -+in the consumer's configuration (see \fBsizelimit\fP and \fBlimits\fP -+for details). -+ -+The -+.B keepalive -+parameter sets the values of \fIidle\fP, \fIprobes\fP, and \fIinterval\fP -+used to check whether a socket is alive; -+.I idle -+is the number of seconds a connection needs to remain idle before TCP -+starts sending keepalive probes; -+.I probes -+is the maximum number of keepalive probes TCP should send before dropping -+the connection; -+.I interval -+is interval in seconds between individual keepalive probes. -+Only some systems support the customization of these values; -+the -+.B keepalive -+parameter is ignored otherwise, and system-wide settings are used. -+ -+The -+.B starttls -+parameter specifies use of the StartTLS extended operation -+to establish a TLS session before Binding to the provider. If the -+.B critical -+argument is supplied, the session will be aborted if the StartTLS request -+fails. Otherwise the syncrepl session continues without TLS. The -+.B tls_reqcert -+setting defaults to "demand", the -+.B tls_reqsan -+setting defaults to "allow", and the other TLS settings -+default to the same as the main slapd TLS settings. -+ -+The -+.B suffixmassage -+parameter allows the consumer to pull entries from a remote directory -+whose DN suffix differs from the local directory. The portion of the -+remote entries' DNs that matches the \fIsearchbase\fP will be replaced -+with the suffixmassage DN. -+ -+Rather than replicating whole entries, the consumer can query logs of -+data modifications. This mode of operation is referred to as \fIdelta -+syncrepl\fP. In addition to the above parameters, the -+.B logbase -+and -+.B logfilter -+parameters must be set appropriately for the log that will be used. The -+.B syncdata -+parameter must be set to either "accesslog" if the log conforms to the -+.BR slapo-accesslog (5) -+log format, or "changelog" if the log conforms -+to the obsolete \fIchangelog\fP format. If the -+.B syncdata -+parameter is omitted or set to "default" then the log parameters are -+ignored. -+ -+The -+.B lazycommit -+parameter tells the underlying database that it can store changes without -+performing a full flush after each change. This may improve performance -+for the consumer, while sacrificing safety or durability. -+.RE -+.TP -+.B updatedn <dn> -+This option is only applicable in a replica -+database. -+It specifies the DN permitted to update (subject to access controls) -+the replica. It is only needed in certain push-mode -+replication scenarios. Generally, this DN -+.I should not -+be the same as the -+.B rootdn -+used at the provider. -+.TP -+.B updateref <url> -+Specify the referral to pass back when -+.BR slapd (8) -+is asked to modify a replicated local database. -+If specified multiple times, each url is provided. -+ -+.SH DATABASE-SPECIFIC OPTIONS -+Each database may allow specific configuration options; they are -+documented separately in the backends' manual pages. See the -+.BR slapd.backends (5) -+manual page for an overview of available backends. -+.SH EXAMPLES -+.LP -+Here is a short example of a configuration file: -+.LP -+.RS -+.nf -+include SYSCONFDIR/schema/core.schema -+pidfile LOCALSTATEDIR/run/slapd.pid -+ -+# Subtypes of "name" (e.g. "cn" and "ou") with the -+# option ";x-hidden" can be searched for/compared, -+# but are not shown. See \fBslapd.access\fP(5). -+attributeoptions x-hidden lang- -+access to attrs=name;x-hidden by * =cs -+ -+# Protect passwords. See \fBslapd.access\fP(5). -+access to attrs=userPassword by * auth -+# Read access to other attributes and entries. -+access to * by * read -+ -+database mdb -+suffix "dc=our-domain,dc=com" -+# The database directory MUST exist prior to -+# running slapd AND should only be accessible -+# by the slapd/tools. Mode 0700 recommended. -+directory LOCALSTATEDIR/openldap-data -+# Indices to maintain -+index objectClass eq -+index cn,sn,mail pres,eq,approx,sub -+ -+# We serve small clients that do not handle referrals, -+# so handle remote lookups on their behalf. -+database ldap -+suffix "" -+uri ldap://ldap.some-server.com/ -+lastmod off -+.fi -+.RE -+.LP -+"OpenLDAP Administrator's Guide" contains a longer annotated -+example of a configuration file. -+The original ETCDIR/slapd.conf is another example. -+.SH FILES -+.TP -+ETCDIR/slapd.conf -+default slapd configuration file -+.SH SEE ALSO -+.BR ldap (3), -+.BR gnutls-cli (1), -+.BR slapd-config (5), -+.BR slapd.access (5), -+.BR slapd.backends (5), -+.BR slapd.overlays (5), -+.BR slapd.plugin (5), -+.BR slapd (8), -+.BR slapacl (8), -+.BR slapadd (8), -+.BR slapauth (8), -+.BR slapcat (8), -+.BR slapdn (8), -+.BR slapindex (8), -+.BR slapmodify (8), -+.BR slappasswd (8), -+.BR slaptest (8). -+.LP -+"OpenLDAP Administrator's Guide" (http://www.OpenLDAP.org/doc/admin/) -+.SH ACKNOWLEDGEMENTS -+.so ../Project -diff -Naurp openldap-2.6.2.orig/doc/man/man5/slapd-config.5 openldap-2.6.2/doc/man/man5/slapd-config.5 ---- openldap-2.6.2.orig/doc/man/man5/slapd-config.5 2022-05-04 16:55:23.000000000 +0200 -+++ openldap-2.6.2/doc/man/man5/slapd-config.5 2022-05-05 12:05:53.312727754 +0200 -@@ -2233,7 +2233,7 @@ olcSuffix: "dc=our-domain,dc=com" - # The database directory MUST exist prior to - # running slapd AND should only be accessible - # by the slapd/tools. Mode 0700 recommended. --olcDbDirectory: LOCALSTATEDIR/openldap-data -+olcDbDirectory: LOCALSTATEDIR/lib/openldap - # Indices to maintain - olcDbIndex: objectClass eq - olcDbIndex: cn,sn,mail pres,eq,approx,sub -diff -Naurp openldap-2.6.2.orig/doc/man/man5/slapd-config.5.orig openldap-2.6.2/doc/man/man5/slapd-config.5.orig ---- openldap-2.6.2.orig/doc/man/man5/slapd-config.5.orig 1970-01-01 01:00:00.000000000 +0100 -+++ openldap-2.6.2/doc/man/man5/slapd-config.5.orig 2022-05-04 16:55:23.000000000 +0200 -@@ -0,0 +1,2302 @@ -+.TH SLAPD-CONFIG 5 "RELEASEDATE" "OpenLDAP LDVERSION" -+." Copyright 1998-2022 The OpenLDAP Foundation All Rights Reserved. -+." Copying restrictions apply. See COPYRIGHT/LICENSE. -+." $OpenLDAP$ -+.SH NAME -+slapd-config - configuration backend to slapd -+.SH SYNOPSIS -+ETCDIR/slapd.d -+.SH DESCRIPTION -+The -+.B config -+backend manages all of the configuration information for the -+.BR slapd (8) -+daemon. This configuration information is also used by the SLAPD tools -+.BR slapacl (8), -+.BR slapadd (8), -+.BR slapauth (8), -+.BR slapcat (8), -+.BR slapdn (8), -+.BR slapindex (8), -+.BR slapmodify (8), -+and -+.BR slaptest (8). -+.LP -+The -+.B config -+backend is backward compatible with the older -+.BR slapd.conf (5) -+file but provides the ability to change the configuration dynamically -+at runtime. If slapd is run with only a -+.B slapd.conf -+file dynamic changes will be allowed but they will not persist across -+a server restart. Dynamic changes are only saved when slapd is running -+from a -+.B slapd.d -+configuration directory. -+.LP -+ -+Unlike other backends, there can only be one instance of the -+.B config -+backend, and most of its structure is predefined. The root of the -+database is hardcoded to -+.B "cn=config" -+and this root entry contains -+global settings for slapd. Multiple child entries underneath the -+root entry are used to carry various other settings: -+.RS -+.TP -+.B cn=Module -+dynamically loaded modules -+.TP -+.B cn=Schema -+schema definitions -+.TP -+.B olcBackend=xxx -+backend-specific settings -+.TP -+.B olcDatabase=xxx -+database-specific settings -+.RE -+ -+The -+.B cn=Module -+entries will only appear in configurations where slapd -+was built with support for dynamically loaded modules. There can be -+multiple entries, one for each configured module path. Within each -+entry there will be values recorded for each module loaded on a -+given path. These entries have no children. -+ -+The -+.B cn=Schema -+entry contains all of the hardcoded schema elements. -+The children of this entry contain all user-defined schema elements. -+In schema that were loaded from include files, the child entry will -+be named after the include file from which the schema was loaded. -+Typically the first child in this subtree will be -+.BR cn=core,cn=schema,cn=config . -+ -+.B olcBackend -+entries are for storing settings specific to a single -+backend type (and thus global to all database instances of that type). -+At present, only back-mdb implements any options of this type, so this -+setting is not needed for any other backends. -+ -+.B olcDatabase -+entries store settings specific to a single database -+instance. These entries may have -+.B olcOverlay -+child entries corresponding -+to any overlays configured on the database. The olcDatabase and -+olcOverlay entries may also have miscellaneous child entries for -+other settings as needed. There are two special database entries -+that are predefined - one is an entry for the config database itself, -+and the other is for the "frontend" database. Settings in the -+frontend database are inherited by the other databases, unless -+they are explicitly overridden in a specific database. -+.LP -+The specific configuration options available are discussed below in the -+Global Configuration Options, General Backend Options, and General Database -+Options. Options are set by defining LDAP attributes with specific values. -+In general the names of the LDAP attributes are the same as the corresponding -+.B slapd.conf -+keyword, with an "olc" prefix added on. -+ -+The parser for many of these attributes is the same as used for parsing -+the slapd.conf keywords. As such, slapd.conf keywords that allow multiple -+items to be specified on one line, separated by whitespace, will allow -+multiple items to be specified in one attribute value. However, when -+reading the attribute via LDAP, the items will be returned as individual -+attribute values. -+ -+Backend-specific options are discussed in the -+.B slapd-<backend>(5) -+manual pages. Refer to the "OpenLDAP Administrator's Guide" for more -+details on configuring slapd. -+.SH GLOBAL CONFIGURATION OPTIONS -+Options described in this section apply to the server as a whole. -+Arguments that should be replaced by -+actual text are shown in brackets <>. -+ -+These options may only be specified in the -+.B cn=config -+entry. This entry must have an objectClass of -+.BR olcGlobal . -+ -+.TP -+.B olcAllows: <features> -+Specify a set of features to allow (default none). -+.B bind_v2 -+allows acceptance of LDAPv2 bind requests. Note that -+.BR slapd (8) -+does not truly implement LDAPv2 (RFC 1777), now Historic (RFC 3494). -+.B bind_anon_cred -+allows anonymous bind when credentials are not empty (e.g. -+when DN is empty). -+.B bind_anon_dn -+allows unauthenticated (anonymous) bind when DN is not empty. -+.B update_anon -+allows unauthenticated (anonymous) update operations to be processed -+(subject to access controls and other administrative limits). -+.B proxy_authz_anon -+allows unauthenticated (anonymous) proxy authorization control to be processed -+(subject to access controls, authorization and other administrative limits). -+.TP -+.B olcArgsFile: <filename> -+The (absolute) name of a file that will hold the -+.B slapd -+server's command line (program name and options). -+.TP -+.B olcAttributeOptions: <option-name>... -+Define tagging attribute options or option tag/range prefixes. -+Options must not end with `-', prefixes must end with `-'. -+The `lang-' prefix is predefined. -+If you use the -+.B olcAttributeOptions -+directive, `lang-' will no longer be defined and you must specify it -+explicitly if you want it defined. -+ -+An attribute description with a tagging option is a subtype of that -+attribute description without the option. -+Except for that, options defined this way have no special semantics. -+Prefixes defined this way work like the `lang-' options: -+They define a prefix for tagging options starting with the prefix. -+That is, if you define the prefix `x-foo-', you can use the option -+`x-foo-bar'. -+Furthermore, in a search or compare, a prefix or range name (with -+a trailing `-') matches all options starting with that name, as well -+as the option with the range name sans the trailing `-'. -+That is, `x-foo-bar-' matches `x-foo-bar' and `x-foo-bar-baz'. -+ -+RFC 4520 reserves options beginning with `x-' for private experiments. -+Other options should be registered with IANA, see RFC 4520 section 3.5. -+OpenLDAP also has the `binary' option built in, but this is a transfer -+option, not a tagging option. -+.TP -+.B olcAuthIDRewrite: <rewrite-rule> -+Used by the authentication framework to convert simple user names -+to an LDAP DN used for authorization purposes. -+Its purpose is analogous to that of -+.BR olcAuthzRegexp -+(see below). -+The -+.B rewrite-rule -+is a set of rules analogous to those described in -+.BR slapo-rwm (5) -+for data rewriting (after stripping the \fIrwm-\fP prefix). -+.B olcAuthIDRewrite -+and -+.B olcAuthzRegexp -+should not be intermixed. -+.TP -+.B olcAuthzPolicy: <policy> -+Used to specify which rules to use for Proxy Authorization. Proxy -+authorization allows a client to authenticate to the server using one -+user's credentials, but specify a different identity to use for authorization -+and access control purposes. It essentially allows user A to login as user -+B, using user A's password. -+The -+.B none -+flag disables proxy authorization. This is the default setting. -+The -+.B from -+flag will use rules in the -+.I authzFrom -+attribute of the authorization DN. -+The -+.B to -+flag will use rules in the -+.I authzTo -+attribute of the authentication DN. -+The -+.B any -+flag, an alias for the deprecated value of -+.BR both , -+will allow any of the above, whatever succeeds first (checked in -+.BR to , -+.B from -+sequence. -+The -+.B all -+flag requires both authorizations to succeed. -+.LP -+.RS -+The rules are mechanisms to specify which identities are allowed -+to perform proxy authorization. -+The -+.I authzFrom -+attribute in an entry specifies which other users -+are allowed to proxy login to this entry. The -+.I authzTo -+attribute in -+an entry specifies which other users this user can authorize as. Use of -+.I authzTo -+rules can be easily -+abused if users are allowed to write arbitrary values to this attribute. -+In general the -+.I authzTo -+attribute must be protected with ACLs such that -+only privileged users can modify it. -+The value of -+.I authzFrom -+and -+.I authzTo -+describes an -+.B identity -+or a set of identities; it can take five forms: -+.RS -+.TP -+.B ldap:///<base>??[<scope>]?<filter> -+.RE -+.RS -+.B dn[.<dnstyle>]:<pattern> -+.RE -+.RS -+.B u[.<mech>[<realm>]]:<pattern> -+.RE -+.RS -+.B group[/objectClass[/attributeType]]:<pattern> -+.RE -+.RS -+.B <pattern> -+.RE -+.RS -+ -+.B <dnstyle>:={exact|onelevel|children|subtree|regex} -+ -+.RE -+The first form is a valid LDAP -+.B URI -+where the -+.IR <host>:<port> , -+the -+.I <attrs> -+and the -+.I <extensions> -+portions must be absent, so that the search occurs locally on either -+.I authzFrom -+or -+.IR authzTo . -+ -+.LP -+The second form is a -+.BR DN , -+with the optional style modifiers -+.IR exact , -+.IR onelevel , -+.IR children , -+and -+.I subtree -+for exact, onelevel, children and subtree matches, which cause -+.I <pattern> -+to be normalized according to the DN normalization rules, or the special -+.I regex -+style, which causes the -+.I <pattern> -+to be treated as a POSIX (''extended'') regular expression, as -+discussed in -+.BR regex (7) -+and/or -+.BR re_format (7). -+A pattern of -+.I * -+means any non-anonymous DN. -+ -+.LP -+The third form is a SASL -+.BR id , -+with the optional fields -+.I <mech> -+and -+.I <realm> -+that allow to specify a SASL -+.BR mechanism , -+and eventually a SASL -+.BR realm , -+for those mechanisms that support one. -+The need to allow the specification of a mechanism is still debated, -+and users are strongly discouraged to rely on this possibility. -+ -+.LP -+The fourth form is a group specification. -+It consists of the keyword -+.BR group , -+optionally followed by the specification of the group -+.B objectClass -+and -+.BR attributeType . -+The -+.B objectClass -+defaults to -+.IR groupOfNames . -+The -+.B attributeType -+defaults to -+.IR member . -+The group with DN -+.B <pattern> -+is searched with base scope, filtered on the specified -+.BR objectClass . -+The values of the resulting -+.B attributeType -+are searched for the asserted DN. -+ -+.LP -+The fifth form is provided for backwards compatibility. If no identity -+type is provided, i.e. only -+.B <pattern> -+is present, an -+.I exact DN -+is assumed; as a consequence, -+.B <pattern> -+is subjected to DN normalization. -+ -+.LP -+Since the interpretation of -+.I authzFrom -+and -+.I authzTo -+can impact security, users are strongly encouraged -+to explicitly set the type of identity specification that is being used. -+A subset of these rules can be used as third arg in the -+.B olcAuthzRegexp -+statement (see below); significantly, the -+.IR URI , -+provided it results in exactly one entry, -+and the -+.I dn.exact:<dn> -+forms. -+.RE -+.TP -+.B olcAuthzRegexp: <match> <replace> -+Used by the authentication framework to convert simple user names, -+such as provided by SASL subsystem, or extracted from certificates -+in case of cert-based SASL EXTERNAL, or provided within the RFC 4370 -+"proxied authorization" control, to an LDAP DN used for -+authorization purposes. Note that the resulting DN need not refer -+to an existing entry to be considered valid. When an authorization -+request is received from the SASL subsystem, the SASL -+.BR USERNAME , -+.BR REALM , -+and -+.B MECHANISM -+are taken, when available, and combined into a name of the form -+.RS -+.RS -+.TP -+.B UID=<username>[[,CN=<realm>],CN=<mechanism>],CN=auth -+ -+.RE -+This name is then compared against the -+.B match -+POSIX (''extended'') regular expression, and if the match is successful, -+the name is replaced with the -+.B replace -+string. If there are wildcard strings in the -+.B match -+regular expression that are enclosed in parenthesis, e.g. -+.RS -+.TP -+.B UID=([^,]*),CN=.* -+ -+.RE -+then the portion of the name that matched the wildcard will be stored -+in the numbered placeholder variable $1. If there are other wildcard strings -+in parenthesis, the matching strings will be in $2, $3, etc. up to $9. The -+placeholders can then be used in the -+.B replace -+string, e.g. -+.RS -+.TP -+.B UID=$1,OU=Accounts,DC=example,DC=com -+ -+.RE -+The replaced name can be either a DN, i.e. a string prefixed by "dn:", -+or an LDAP URI. -+If the latter, the server will use the URI to search its own database(s) -+and, if the search returns exactly one entry, the name is -+replaced by the DN of that entry. The LDAP URI must have no -+hostport, attrs, or extensions components, but the filter is mandatory, -+e.g. -+.RS -+.TP -+.B ldap:///OU=Accounts,DC=example,DC=com??one?(UID=$1) -+ -+.RE -+The protocol portion of the URI must be strictly -+.BR ldap . -+Note that this search is subject to access controls. Specifically, -+the authentication identity must have "auth" access in the subject. -+ -+Multiple -+.B olcAuthzRegexp -+values can be specified to allow for multiple matching -+and replacement patterns. The matching patterns are checked in the order they -+appear in the attribute, stopping at the first successful match. -+ -+.".B Caution: -+."Because the plus sign + is a character recognized by the regular expression engine, -+."and it will appear in names that include a REALM, be careful to escape the -+."plus sign with a backslash \+ to remove the character's special meaning. -+.RE -+.TP -+.B olcConcurrency: <integer> -+Specify a desired level of concurrency. Provided to the underlying -+thread system as a hint. The default is not to provide any hint. This setting -+is only meaningful on some platforms where there is not a one to one -+correspondence between user threads and kernel threads. -+.TP -+.B olcConnMaxPending: <integer> -+Specify the maximum number of pending requests for an anonymous session. -+If requests are submitted faster than the server can process them, they -+will be queued up to this limit. If the limit is exceeded, the session -+is closed. The default is 100. -+.TP -+.B olcConnMaxPendingAuth: <integer> -+Specify the maximum number of pending requests for an authenticated session. -+The default is 1000. -+.TP -+.B olcDisallows: <features> -+Specify a set of features to disallow (default none). -+.B bind_anon -+disables acceptance of anonymous bind requests. Note that this setting -+does not prohibit anonymous directory access (See "require authc"). -+.B bind_simple -+disables simple (bind) authentication. -+.B tls_2_anon -+disables forcing session to anonymous status (see also -+.BR tls_authc ) -+upon StartTLS operation receipt. -+.B tls_authc -+disallows the StartTLS operation if authenticated (see also -+.BR tls_2_anon ). -+.B proxy_authz_non_critical -+disables acceptance of the proxied authorization control (RFC4370) -+with criticality set to FALSE. -+.B dontusecopy_non_critical -+disables acceptance of the dontUseCopy control (a work in progress) -+with criticality set to FALSE. -+.TP -+.B olcGentleHUP: { TRUE | FALSE } -+A SIGHUP signal will only cause a 'gentle' shutdown-attempt: -+.B Slapd -+will stop listening for new connections, but will not close the -+connections to the current clients. Future write operations return -+unwilling-to-perform, though. Slapd terminates when all clients -+have closed their connections (if they ever do), or - as before - -+if it receives a SIGTERM signal. This can be useful if you wish to -+terminate the server and start a new -+.B slapd -+server -+.B with another database, -+without disrupting the currently active clients. -+The default is FALSE. You may wish to use -+.B olcIdleTimeout -+along with this option. -+.TP -+.B olcIdleTimeout: <integer> -+Specify the number of seconds to wait before forcibly closing -+an idle client connection. A setting of 0 disables this -+feature. The default is 0. You may also want to set the -+.B olcWriteTimeout -+option. -+.TP -+.B olcIndexHash64: { on | off } -+Use a 64 bit hash for indexing. The default is to use 32 bit hashes. -+These hashes are used for equality and substring indexing. The 64 bit -+version may be needed to avoid index collisions when the number of -+indexed values exceeds ~64 million. (Note that substring indexing -+generates multiple index values per actual attribute value.) -+Indices generated with 32 bit hashes are incompatible with the 64 bit -+version, and vice versa. Any existing databases must be fully reloaded -+when changing this setting. This directive is only supported on 64 bit CPUs. -+.TP -+.B olcIndexIntLen: <integer> -+Specify the key length for ordered integer indices. The most significant -+bytes of the binary integer will be used for index keys. The default -+value is 4, which provides exact indexing for 31 bit values. -+A floating point representation is used to index too large values. -+.TP -+.B olcIndexSubstrIfMaxlen: <integer> -+Specify the maximum length for subinitial and subfinal indices. Only -+this many characters of an attribute value will be processed by the -+indexing functions; any excess characters are ignored. The default is 4. -+.TP -+.B olcIndexSubstrIfMinlen: <integer> -+Specify the minimum length for subinitial and subfinal indices. An -+attribute value must have at least this many characters in order to be -+processed by the indexing functions. The default is 2. -+.TP -+.B olcIndexSubstrAnyLen: <integer> -+Specify the length used for subany indices. An attribute value must have -+at least this many characters in order to be processed. Attribute values -+longer than this length will be processed in segments of this length. The -+default is 4. The subany index will also be used in subinitial and -+subfinal index lookups when the filter string is longer than the -+.I olcIndexSubstrIfMaxlen -+value. -+.TP -+.B olcIndexSubstrAnyStep: <integer> -+Specify the steps used in subany index lookups. This value sets the offset -+for the segments of a filter string that are processed for a subany index -+lookup. The default is 2. For example, with the default values, a search -+using this filter "cn=*abcdefgh*" would generate index lookups for -+"abcd", "cdef", and "efgh". -+ -+.LP -+Note: Indexing support depends on the particular backend in use. Also, -+changing these settings will generally require deleting any indices that -+depend on these parameters and recreating them with -+.BR slapindex (8). -+ -+.TP -+.B olcListenerThreads: <integer> -+Specify the number of threads to use for the connection manager. -+The default is 1 and this is typically adequate for up to 16 CPU cores. -+The value should be set to a power of 2. -+.TP -+.B olcLocalSSF: <SSF> -+Specifies the Security Strength Factor (SSF) to be given local LDAP sessions, -+such as those to the ldapi:// listener. For a description of SSF values, -+see -+.BR olcSaslSecProps 's -+.B minssf -+option description. The default is 71. -+.TP -+.B olcLogFile: <filename> -+Specify a file for recording slapd debug messages. By default these messages -+only go to stderr, are not recorded anywhere else, and are unrelated to -+messages exposed by the -+.B olcLogLevel -+configuration parameter. Specifying a logfile copies messages to both stderr -+and the logfile. -+.TP -+.B olcLogFileFormat: debug | syslog-utc | syslog-localtime -+Specify the prefix format for messages written to the logfile. The debug -+format is the normal format used for slapd debug messages, with a timestamp -+in hexadecimal, followed by a thread ID. The other options are to -+use syslog(3) style prefixes, with timestamps either in UTC or in the -+local timezone. The default is debug format. -+.TP -+.B olcLogFileOnly: TRUE | FALSE -+Specify that debug messages should only go to the configured logfile, and -+not to stderr. -+.TP -+.B olcLogFileRotate: <max> <Mbytes> <hours> -+Specify automatic rotation for the configured logfile as the maximum -+number of old logfiles to retain, a maximum size in megabytes to allow a -+logfile to grow before rotation, and a maximum age in hours for a logfile -+to be used before rotation. The maximum number must be in the range 1-99. -+Setting Mbytes or hours to zero disables the size or age check, respectively. -+At least one of Mbytes or hours must be non-zero. By default no automatic -+rotation will be performed. -+.TP -+.B olcLogLevel: <integer> [...] -+Specify the level at which debugging statements and operation -+statistics should be syslogged (currently logged to the -+.BR syslogd (8) -+LOG_LOCAL4 facility). -+They must be considered subsystems rather than increasingly verbose -+log levels. -+Some messages with higher priority are logged regardless -+of the configured loglevel as soon as any logging is configured. -+Log levels are additive, and available levels are: -+.RS -+.RS -+.PD 0 -+.TP -+.B 1 -+.B (0x1 trace) -+trace function calls -+.TP -+.B 2 -+.B (0x2 packets) -+debug packet handling -+.TP -+.B 4 -+.B (0x4 args) -+heavy trace debugging (function args) -+.TP -+.B 8 -+.B (0x8 conns) -+connection management -+.TP -+.B 16 -+.B (0x10 BER) -+print out packets sent and received -+.TP -+.B 32 -+.B (0x20 filter) -+search filter processing -+.TP -+.B 64 -+.B (0x40 config) -+configuration file processing -+.TP -+.B 128 -+.B (0x80 ACL) -+access control list processing -+.TP -+.B 256 -+.B (0x100 stats) -+connections, LDAP operations, results (recommended) -+.TP -+.B 512 -+.B (0x200 stats2) -+stats2 log entries sent -+.TP -+.B 1024 -+.B (0x400 shell) -+print communication with shell backends -+.TP -+.B 2048 -+.B (0x800 parse) -+entry parsing -+".TP -+".B 4096 -+".B (0x1000 cache) -+"caching (unused) -+".TP -+".B 8192 -+".B (0x2000 index) -+"data indexing (unused) -+.TP -+.B 16384 -+.B (0x4000 sync) -+LDAPSync replication -+.TP -+.B 32768 -+.B (0x8000 none) -+only messages that get logged whatever log level is set -+.PD -+.RE -+The desired log level can be input as a single integer that combines -+the (ORed) desired levels, both in decimal or in hexadecimal notation, -+as a list of integers (that are ORed internally), -+or as a list of the names that are shown between parenthesis, such that -+.LP -+.nf -+ olcLogLevel: 129 -+ olcLogLevel: 0x81 -+ olcLogLevel: 128 1 -+ olcLogLevel: 0x80 0x1 -+ olcLogLevel: acl trace -+.fi -+.LP -+are equivalent. -+The keyword -+.B any -+can be used as a shortcut to enable logging at all levels (equivalent to -1). -+The keyword -+.BR none , -+or the equivalent integer representation, causes those messages -+that are logged regardless of the configured olcLogLevel to be logged. -+In fact, if no olcLogLevel (or a 0 level) is defined, no logging occurs, -+so at least the -+.B none -+level is required to have high priority messages logged. -+ -+Note that the -+.BR packets , -+.BR BER , -+and -+.B parse -+levels are only available as debug output on stderr, and are not -+sent to syslog. -+ -+This setting defaults to \fBstats\fP. -+This level should usually also be included when using other loglevels, to -+help analyze the logs. -+.RE -+.TP -+.B olcMaxFilterDepth: <integer> -+Specify the maximum depth of nested filters in search requests. -+The default is 1000. -+.TP -+.B olcPasswordCryptSaltFormat: <format> -+Specify the format of the salt passed to -+.BR crypt (3) -+when generating {CRYPT} passwords (see -+.BR olcPasswordHash ) -+during processing of LDAP Password Modify Extended Operations (RFC 3062). -+ -+This string needs to be in -+.BR sprintf (3) -+format and may include one (and only one) %s conversion. -+This conversion will be substituted with a string of random -+characters from [A-Za-z0-9./]. For example, "%.2s" -+provides a two character salt and "$1$%.8s" tells some -+versions of crypt(3) to use an MD5 algorithm and provides -+8 random characters of salt. The default is "%s", which -+provides 31 characters of salt. -+.TP -+.B olcPidFile: <filename> -+The (absolute) name of a file that will hold the -+.B slapd -+server's process ID (see -+.BR getpid (2)). -+.TP -+.B olcPluginLogFile: <filename> -+The ( absolute ) name of a file that will contain log -+messages from -+.B SLAPI -+plugins. See -+.BR slapd.plugin (5) -+for details. -+.TP -+.B olcReferral: <url> -+Specify the referral to pass back when -+.BR slapd (8) -+cannot find a local database to handle a request. -+If multiple values are specified, each url is provided. -+.TP -+.B olcReverseLookup: TRUE | FALSE -+Enable/disable client name unverified reverse lookup (default is -+.BR FALSE -+if compiled with --enable-rlookups). -+.TP -+.B olcRootDSE: <file> -+Specify the name of an LDIF(5) file containing user defined attributes -+for the root DSE. These attributes are returned in addition to the -+attributes normally produced by slapd. -+ -+The root DSE is an entry with information about the server and its -+capabilities, in operational attributes. -+It has the empty DN, and can be read with e.g.: -+.ti +4 -+ldapsearch -x -b "" -s base "+" -+.br -+See RFC 4512 section 5.1 for details. -+.TP -+.B olcSaslAuxprops: <plugin> [...] -+Specify which auxprop plugins to use for authentication lookups. The -+default is empty, which just uses slapd's internal support. Usually -+no other auxprop plugins are needed. -+.TP -+.B olcSaslAuxpropsDontUseCopy: <attr> [...] -+Specify which attribute(s) should be subject to the don't use copy control. This -+is necessary for some SASL mechanisms such as OTP to work in a replicated -+environment. The attribute "cmusaslsecretOTP" is the default value. -+.TP -+.B olcSaslAuxpropsDontUseCopyIgnore TRUE | FALSE -+Used to disable replication of the attribute(s) defined by -+olcSaslAuxpropsDontUseCopy and instead use a local value for the attribute. This -+allows the SASL mechanism to continue to work if the provider is offline. This can -+cause replication inconsistency. Defaults to FALSE. -+.TP -+.B olcSaslHost: <fqdn> -+Used to specify the fully qualified domain name used for SASL processing. -+.TP -+.B olcSaslRealm: <realm> -+Specify SASL realm. Default is empty. -+.TP -+.B olcSaslCbinding: none | tls-unique | tls-endpoint -+Specify the channel-binding type, see also LDAP_OPT_X_SASL_CBINDING. -+Default is none. -+.TP -+.B olcSaslSecProps: <properties> -+Used to specify Cyrus SASL security properties. -+The -+.B none -+flag (without any other properties) causes the flag properties -+default, "noanonymous,noplain", to be cleared. -+The -+.B noplain -+flag disables mechanisms susceptible to simple passive attacks. -+The -+.B noactive -+flag disables mechanisms susceptible to active attacks. -+The -+.B nodict -+flag disables mechanisms susceptible to passive dictionary attacks. -+The -+.B noanonymous -+flag disables mechanisms which support anonymous login. -+The -+.B forwardsec -+flag require forward secrecy between sessions. -+The -+.B passcred -+require mechanisms which pass client credentials (and allow -+mechanisms which can pass credentials to do so). -+The -+.B minssf=<factor> -+property specifies the minimum acceptable -+.I security strength factor -+as an integer approximate to effective key length used for -+encryption. 0 (zero) implies no protection, 1 implies integrity -+protection only, 128 allows RC4, Blowfish and other similar ciphers, -+256 will require modern ciphers. The default is 0. -+The -+.B maxssf=<factor> -+property specifies the maximum acceptable -+.I security strength factor -+as an integer (see minssf description). The default is INT_MAX. -+The -+.B maxbufsize=<size> -+property specifies the maximum security layer receive buffer -+size allowed. 0 disables security layers. The default is 65536. -+.TP -+.B olcServerID: <integer> [<URL>] -+Specify an integer ID from 0 to 4095 for this server. The ID may also be -+specified as a hexadecimal ID by prefixing the value with "0x". -+Non-zero IDs are required when using multi-provider replication and each -+provider must have a unique non-zero ID. Note that this requirement also -+applies to separate providers contributing to a glued set of databases. -+If the URL is provided, this directive may be specified -+multiple times, providing a complete list of participating servers -+and their IDs. The fully qualified hostname of each server should be -+used in the supplied URLs. The IDs are used in the "replica id" field -+of all CSNs generated by the specified server. The default value is zero, which -+is only valid for single provider replication. -+Example: -+.LP -+.nf -+ olcServerID: 1 ldap://ldap1.example.com -+ olcServerID: 2 ldap://ldap2.example.com -+.fi -+.TP -+.B olcSockbufMaxIncoming: <integer> -+Specify the maximum incoming LDAP PDU size for anonymous sessions. -+The default is 262143. -+.TP -+.B olcSockbufMaxIncomingAuth: <integer> -+Specify the maximum incoming LDAP PDU size for authenticated sessions. -+The default is 4194303. -+.TP -+.B olcTCPBuffer [listener=<URL>] [{read|write}=]<size> -+Specify the size of the TCP buffer. -+A global value for both read and write TCP buffers related to any listener -+is defined, unless the listener is explicitly specified, -+or either the read or write qualifiers are used. -+See -+.BR tcp (7) -+for details. -+Note that some OS-es implement automatic TCP buffer tuning. -+.TP -+.B olcThreads: <integer> -+Specify the maximum size of the primary thread pool. -+The default is 16; the minimum value is 2. -+.TP -+.B olcThreadQueues: <integer> -+Specify the number of work queues to use for the primary thread pool. -+The default is 1 and this is typically adequate for up to 8 CPU cores. -+The value should not exceed the number of CPUs in the system. -+.TP -+.B olcToolThreads: <integer> -+Specify the maximum number of threads to use in tool mode. -+This should not be greater than the number of CPUs in the system. -+The default is 1. -+.TP -+.B olcWriteTimeout: <integer> -+Specify the number of seconds to wait before forcibly closing -+a connection with an outstanding write. This allows recovery from -+various network hang conditions. A setting of 0 disables this -+feature. The default is 0. -+.SH TLS OPTIONS -+If -+.B slapd -+is built with support for Transport Layer Security, there are more options -+you can specify. -+.TP -+.B olcTLSCipherSuite: <cipher-suite-spec> -+Permits configuring what ciphers will be accepted and the preference order. -+<cipher-suite-spec> should be a cipher specification for the TLS library -+in use (OpenSSL or GnuTLS). -+Example: -+.RS -+.RS -+.TP -+.I OpenSSL: -+olcTLSCipherSuite: HIGH:MEDIUM:+SSLv2 -+.TP -+.I GnuTLS: -+olcTLSCiphersuite: SECURE256:!AES-128-CBC -+.RE -+ -+To check what ciphers a given spec selects in OpenSSL, use: -+ -+.nf -+ openssl ciphers -v <cipher-suite-spec> -+.fi -+ -+With GnuTLS the available specs can be found in the manual page of -+.BR gnutls-cli (1) -+(see the description of the -+option -+.BR --priority ). -+ -+In older versions of GnuTLS, where gnutls-cli does not support the option -+--priority, you can obtain the (em more limited (em list of ciphers by calling: -+ -+.nf -+ gnutls-cli -l -+.fi -+.RE -+.TP -+.B olcTLSCACertificateFile: <filename> -+Specifies the file that contains certificates for all of the Certificate -+Authorities that -+.B slapd -+will recognize. The certificate for -+the CA that signed the server certificate must be included among -+these certificates. If the signing CA was not a top-level (root) CA, -+certificates for the entire sequence of CA's from the signing CA to -+the top-level CA should be present. Multiple certificates are simply -+appended to the file; the order is not significant. -+.TP -+.B olcTLSCACertificatePath: <path> -+Specifies the path of directories that contain Certificate Authority -+certificates in separate individual files. Usually only one of this -+or the olcTLSCACertificateFile is defined. If both are specified, both -+locations will be used. Multiple directories may be specified, -+separated by a semi-colon. -+.TP -+.B olcTLSCertificateFile: <filename> -+Specifies the file that contains the -+.B slapd -+server certificate. -+ -+When using OpenSSL that file may also contain any number of intermediate -+certificates after the server certificate. -+.TP -+.B olcTLSCertificateKeyFile: <filename> -+Specifies the file that contains the -+.B slapd -+server private key that matches the certificate stored in the -+.B olcTLSCertificateFile -+file. If the private key is protected with a password, the password must -+be manually typed in when slapd starts. Usually the private key is not -+protected with a password, to allow slapd to start without manual -+intervention, so -+it is of critical importance that the file is protected carefully. -+.TP -+.B olcTLSDHParamFile: <filename> -+This directive specifies the file that contains parameters for Diffie-Hellman -+ephemeral key exchange. This is required in order to use a DSA certificate on -+the server, or an RSA certificate missing the "key encipherment" key usage. -+Note that setting this option may also enable -+Anonymous Diffie-Hellman key exchanges in certain non-default cipher suites. -+Anonymous key exchanges should generally be avoided since they provide no -+actual client or server authentication and provide no protection against -+man-in-the-middle attacks. -+You should append "!ADH" to your cipher suites to ensure that these suites -+are not used. -+.TP -+.B olcTLSECName: <name> -+Specify the name of the curve(s) to use for Elliptic curve Diffie-Hellman -+ephemeral key exchange. This option is only used for OpenSSL. -+This option is not used with GnuTLS; the curves may be -+chosen in the GnuTLS ciphersuite specification. -+.TP -+.B olcTLSProtocolMin: <major>[.<minor>] -+Specifies minimum SSL/TLS protocol version that will be negotiated. -+If the server doesn't support at least that version, -+the SSL handshake will fail. -+To require TLS 1.x or higher, set this option to 3.(x+1), -+e.g., -+ -+.nf -+ olcTLSProtocolMin: 3.2 -+.fi -+ -+would require TLS 1.1. -+Specifying a minimum that is higher than that supported by the -+OpenLDAP implementation will result in it requiring the -+highest level that it does support. -+This directive is ignored with GnuTLS. -+.TP -+.B olcTLSRandFile: <filename> -+Specifies the file to obtain random bits from when /dev/[u]random -+is not available. Generally set to the name of the EGD/PRNGD socket. -+The environment variable RANDFILE can also be used to specify the filename. -+This directive is ignored with GnuTLS. -+.TP -+.B olcTLSVerifyClient: <level> -+Specifies what checks to perform on client certificates in an -+incoming TLS session, if any. -+The -+.B <level> -+can be specified as one of the following keywords: -+.RS -+.TP -+.B never -+This is the default. -+.B slapd -+will not ask the client for a certificate. -+.TP -+.B allow -+The client certificate is requested. If no certificate is provided, -+the session proceeds normally. If a bad certificate is provided, -+it will be ignored and the session proceeds normally. -+.TP -+.B try -+The client certificate is requested. If no certificate is provided, -+the session proceeds normally. If a bad certificate is provided, -+the session is immediately terminated. -+.TP -+.B demand | hard | true -+These keywords are all equivalent, for compatibility reasons. -+The client certificate is requested. If no certificate is provided, -+or a bad certificate is provided, the session is immediately terminated. -+ -+Note that a valid client certificate is required in order to use the -+SASL EXTERNAL authentication mechanism with a TLS session. As such, -+a non-default -+.B olcTLSVerifyClient -+setting must be chosen to enable SASL EXTERNAL authentication. -+.RE -+.TP -+.B olcTLSCRLCheck: <level> -+Specifies if the Certificate Revocation List (CRL) of the CA should be -+used to verify if the client certificates have not been revoked. This -+requires -+.B olcTLSCACertificatePath -+parameter to be set. This parameter is ignored with GnuTLS. -+.B <level> -+can be specified as one of the following keywords: -+.RS -+.TP -+.B none -+No CRL checks are performed -+.TP -+.B peer -+Check the CRL of the peer certificate -+.TP -+.B all -+Check the CRL for a whole certificate chain -+.RE -+.TP -+.B olcTLSCRLFile: <filename> -+Specifies a file containing a Certificate Revocation List to be used -+for verifying that certificates have not been revoked. This parameter is -+only valid when using GnuTLS. -+.SH DYNAMIC MODULE OPTIONS -+If -+.B slapd -+is compiled with --enable-modules then the module-related entries will -+be available. These entries are named -+.B cn=module{x},cn=config -+and -+must have the olcModuleList objectClass. One entry should be created -+per -+.B olcModulePath. -+Normally the config engine generates the "{x}" index in the RDN -+automatically, so it can be omitted when initially loading these entries. -+.TP -+.B olcModuleLoad: <filename> [<arguments>...] -+Specify the name of a dynamically loadable module to load and any -+additional arguments if supported by the module. The filename -+may be an absolute path name or a simple filename. Non-absolute names -+are searched for in the directories specified by the -+.B olcModulePath -+option. -+.TP -+.B olcModulePath: <pathspec> -+Specify a list of directories to search for loadable modules. Typically -+the path is colon-separated but this depends on the operating system. -+The default is MODULEDIR, which is where the standard OpenLDAP install -+will place its modules. -+.SH SCHEMA OPTIONS -+Schema definitions are created as entries in the -+.B cn=schema,cn=config -+subtree. These entries must have the olcSchemaConfig objectClass. -+As noted above, the actual -+.B cn=schema,cn=config -+entry is predefined and any values specified for it are ignored. -+ -+.HP -+.hy 0 -+.B olcAttributetypes: "(\ <oid>\ -+ [NAME\ <name>]\ -+ [DESC\ <description>]\ -+ [OBSOLETE]\ -+ [SUP\ <oid>]\ -+ [EQUALITY\ <oid>]\ -+ [ORDERING\ <oid>]\ -+ [SUBSTR\ <oid>]\ -+ [SYNTAX\ <oidlen>]\ -+ [SINGLE-VALUE]\ -+ [COLLECTIVE]\ -+ [NO-USER-MODIFICATION]\ -+ [USAGE\ <attributeUsage>]\ )" -+.RS -+Specify an attribute type using the LDAPv3 syntax defined in RFC 4512. -+The slapd parser extends the RFC 4512 definition by allowing string -+forms as well as numeric OIDs to be used for the attribute OID and -+attribute syntax OID. -+(See the -+.B olcObjectIdentifier -+description.) -+.RE -+ -+.HP -+.hy 0 -+.B olcDitContentRules: "(\ <oid>\ -+ [NAME\ <name>]\ -+ [DESC\ <description>]\ -+ [OBSOLETE]\ -+ [AUX\ <oids>]\ -+ [MUST\ <oids>]\ -+ [MAY\ <oids>]\ -+ [NOT\ <oids>]\ )" -+.RS -+Specify an DIT Content Rule using the LDAPv3 syntax defined in RFC 4512. -+The slapd parser extends the RFC 4512 definition by allowing string -+forms as well as numeric OIDs to be used for the attribute OID and -+attribute syntax OID. -+(See the -+.B olcObjectIdentifier -+description.) -+.RE -+ -+.HP -+.hy 0 -+.B olcLdapSyntaxes "(\ <oid>\ -+ [DESC\ <description>]\ -+ [X-SUBST <substitute-syntax>]\ )" -+.RS -+Specify an LDAP syntax using the LDAPv3 syntax defined in RFC 4512. -+The slapd parser extends the RFC 4512 definition by allowing string -+forms as well as numeric OIDs to be used for the syntax OID. -+(See the -+.B objectidentifier -+description.) -+The slapd parser also honors the -+.B X-SUBST -+extension (an OpenLDAP-specific extension), which allows one to use the -+.B olcLdapSyntaxes -+attribute to define a non-implemented syntax along with another syntax, -+the extension value -+.IR substitute-syntax , -+as its temporary replacement. -+The -+.I substitute-syntax -+must be defined. -+This allows one to define attribute types that make use of non-implemented syntaxes -+using the correct syntax OID. -+Unless -+.B X-SUBST -+is used, this configuration statement would result in an error, -+since no handlers would be associated to the resulting syntax structure. -+.RE -+ -+.HP -+.hy 0 -+.B olcObjectClasses: "(\ <oid>\ -+ [NAME\ <name>]\ -+ [DESC\ <description>]\ -+ [OBSOLETE]\ -+ [SUP\ <oids>]\ -+ [{ ABSTRACT | STRUCTURAL | AUXILIARY }]\ -+ [MUST\ <oids>] [MAY\ <oids>] )" -+.RS -+Specify an objectclass using the LDAPv3 syntax defined in RFC 4512. -+The slapd parser extends the RFC 4512 definition by allowing string -+forms as well as numeric OIDs to be used for the object class OID. -+(See the -+.B -+olcObjectIdentifier -+description.) Object classes are "STRUCTURAL" by default. -+.RE -+.TP -+.B olcObjectIdentifier: <name> "{ <oid> | <name>[:<suffix>] }" -+Define a string name that equates to the given OID. The string can be used -+in place of the numeric OID in objectclass and attribute definitions. The -+name can also be used with a suffix of the form ":xx" in which case the -+value "oid.xx" will be used. -+ -+.SH GENERAL BACKEND OPTIONS -+Options in these entries only apply to the configuration of a single -+type of backend. All backends may support this class of options, but -+currently only back-mdb does. -+The entry must be named -+.B olcBackend=<databasetype>,cn=config -+and must have the olcBackendConfig objectClass. -+<databasetype> -+should be one of -+.BR asyncmeta , -+.BR config , -+.BR dnssrv , -+.BR ldap , -+.BR ldif , -+.BR mdb , -+.BR meta , -+.BR monitor , -+.BR null , -+.BR passwd , -+.BR perl , -+.BR relay , -+.BR sock , -+.BR sql , -+or -+.BR wt . -+At present, only back-mdb implements any options of this type, so this -+entry should not be used for any other backends. -+ -+.SH DATABASE OPTIONS -+Database options are set in entries named -+.B olcDatabase={x}<databasetype>,cn=config -+and must have the olcDatabaseConfig objectClass. Normally the config -+engine generates the "{x}" index in the RDN automatically, so it -+can be omitted when initially loading these entries. -+ -+The special frontend database is always numbered "{-1}" and the config -+database is always numbered "{0}". -+ -+.SH GLOBAL DATABASE OPTIONS -+Options in this section may be set in the special "frontend" database -+and inherited in all the other databases. These options may be altered -+by further settings in each specific database. The frontend entry must -+be named -+.B olcDatabase=frontend,cn=config -+and must have the olcFrontendConfig objectClass. -+.TP -+.B olcAccess: to <what> "[ by <who> <access> <control> ]+" -+Grant access (specified by <access>) to a set of entries and/or -+attributes (specified by <what>) by one or more requestors (specified -+by <who>). -+If no access controls are present, the default policy -+allows anyone and everyone to read anything but restricts -+updates to rootdn. (e.g., "olcAccess: to * by * read"). -+See -+.BR slapd.access (5) -+and the "OpenLDAP Administrator's Guide" for details. -+ -+Access controls set in the frontend are appended to any access -+controls set on the specific databases. -+The rootdn of a database can always read and write EVERYTHING -+in that database. -+ -+Extra special care must be taken with the access controls on the -+config database. Unlike other databases, the default policy for the -+config database is to only allow access to the rootdn. Regular users -+should not have read access, and write access should be granted very -+carefully to privileged administrators. -+ -+.TP -+.B olcDefaultSearchBase: <dn> -+Specify a default search base to use when client submits a -+non-base search request with an empty base DN. -+Base scoped search requests with an empty base DN are not affected. -+This setting is only allowed in the frontend entry. -+.TP -+.B olcExtraAttrs: <attr> -+Lists what attributes need to be added to search requests. -+Local storage backends return the entire entry to the frontend. -+The frontend takes care of only returning the requested attributes -+that are allowed by ACLs. -+However, features like access checking and so may need specific -+attributes that are not automatically returned by remote storage -+backends, like proxy backends and so on. -+.B <attr> -+is an attribute that is needed for internal purposes -+and thus always needs to be collected, even when not explicitly -+requested by clients. -+This attribute is multi-valued. -+.TP -+.B olcPasswordHash: <hash> [<hash>...] -+This option configures one or more hashes to be used in generation of user -+passwords stored in the userPassword attribute during processing of -+LDAP Password Modify Extended Operations (RFC 3062). -+The <hash> must be one of -+.BR {SSHA} , -+.BR {SHA} , -+.BR {SMD5} , -+.BR {MD5} , -+.BR {CRYPT} , -+and -+.BR {CLEARTEXT} . -+The default is -+.BR {SSHA} . -+ -+.B {SHA} -+and -+.B {SSHA} -+use the SHA-1 algorithm (FIPS 160-1), the latter with a seed. -+ -+.B {MD5} -+and -+.B {SMD5} -+use the MD5 algorithm (RFC 1321), the latter with a seed. -+ -+.B {CRYPT} -+uses the -+.BR crypt (3). -+ -+.B {CLEARTEXT} -+indicates that the new password should be -+added to userPassword as clear text. -+ -+Note that this option does not alter the normal user applications -+handling of userPassword during LDAP Add, Modify, or other LDAP operations. -+This setting is only allowed in the frontend entry. -+.TP -+.B olcReadOnly: TRUE | FALSE -+This option puts the database into "read-only" mode. Any attempts to -+modify the database will return an "unwilling to perform" error. By -+default, olcReadOnly is FALSE. Note that when this option is set -+TRUE on the frontend, it cannot be reset without restarting the -+server, since further writes to the config database will be rejected. -+.TP -+.B olcRequires: <conditions> -+Specify a set of conditions to require (default none). -+The directive may be specified globally and/or per-database; -+databases inherit global conditions, so per-database specifications -+are additive. -+.B bind -+requires bind operation prior to directory operations. -+.B LDAPv3 -+requires session to be using LDAP version 3. -+.B authc -+requires authentication prior to directory operations. -+.B SASL -+requires SASL authentication prior to directory operations. -+.B strong -+requires strong authentication prior to directory operations. -+The strong keyword allows protected "simple" authentication -+as well as SASL authentication. -+.B none -+may be used to require no conditions (useful to clear out globally -+set conditions within a particular database); it must occur first -+in the list of conditions. -+.TP -+.B olcRestrict: <oplist> -+Specify a list of operations that are restricted. -+Restrictions on a specific database override any frontend setting. -+Operations can be any of -+.BR add , -+.BR bind , -+.BR compare , -+.BR delete , -+.BR extended[=<OID>] , -+.BR modify , -+.BR rename , -+.BR search , -+or the special pseudo-operations -+.B read -+and -+.BR write , -+which respectively summarize read and write operations. -+The use of -+.I restrict write -+is equivalent to -+.I olcReadOnly: TRUE -+(see above). -+The -+.B extended -+keyword allows one to indicate the OID of the specific operation -+to be restricted. -+.TP -+.B olcSchemaDN: <dn> -+Specify the distinguished name for the subschema subentry that -+controls the entries on this server. The default is "cn=Subschema". -+.TP -+.B olcSecurity: <factors> -+Specify a set of security strength factors (separated by white space) -+to require (see -+.BR olcSaslSecprops 's -+.B minssf -+option for a description of security strength factors). -+The directive may be specified globally and/or per-database. -+.B ssf=<n> -+specifies the overall security strength factor. -+.B transport=<n> -+specifies the transport security strength factor. -+.B tls=<n> -+specifies the TLS security strength factor. -+.B sasl=<n> -+specifies the SASL security strength factor. -+.B update_ssf=<n> -+specifies the overall security strength factor to require for -+directory updates. -+.B update_transport=<n> -+specifies the transport security strength factor to require for -+directory updates. -+.B update_tls=<n> -+specifies the TLS security strength factor to require for -+directory updates. -+.B update_sasl=<n> -+specifies the SASL security strength factor to require for -+directory updates. -+.B simple_bind=<n> -+specifies the security strength factor required for -+.I simple -+username/password authentication. -+Note that the -+.B transport -+factor is measure of security provided by the underlying transport, -+e.g. ldapi:// (and eventually IPSEC). It is not normally used. -+.TP -+.B olcSizeLimit: {<integer>|unlimited} -+.TP -+.B olcSizeLimit: size[.{soft|hard}]=<integer> [...] -+Specify the maximum number of entries to return from a search operation. -+The default size limit is 500. -+Use -+.B unlimited -+to specify no limits. -+The second format allows a fine grain setting of the size limits. -+If no special qualifiers are specified, both soft and hard limits are set. -+Extra args can be added in the same value. -+Additional qualifiers are available; see -+.BR olcLimits -+for an explanation of all of the different flags. -+.TP -+.B olcSortVals: <attr> [...] -+Specify a list of multi-valued attributes whose values will always -+be maintained in sorted order. Using this option will allow Modify, -+Compare, and filter evaluations on these attributes to be performed -+more efficiently. The resulting sort order depends on the -+attributes' syntax and matching rules and may not correspond to -+lexical order or any other recognizable order. -+This setting is only allowed in the frontend entry. -+.TP -+.B olcTimeLimit: {<integer>|unlimited} -+.TP -+.B olcTimeLimit: time[.{soft|hard}]=<integer> [...] -+Specify the maximum number of seconds (in real time) -+.B slapd -+will spend answering a search request. The default time limit is 3600. -+Use -+.B unlimited -+to specify no limits. -+The second format allows a fine grain setting of the time limits. -+Extra args can be added in the same value. See -+.BR olcLimits -+for an explanation of the different flags. -+ -+.SH GENERAL DATABASE OPTIONS -+Options in this section only apply to the specific database for -+which they are defined. They are supported by every -+type of backend. All of the Global Database Options may also be -+used here. -+.TP -+.B olcAddContentAcl: TRUE | FALSE -+Controls whether Add operations will perform ACL checks on -+the content of the entry being added. This check is off -+by default. See the -+.BR slapd.access (5) -+manual page for more details on ACL requirements for -+Add operations. -+.TP -+.B olcHidden: TRUE | FALSE -+Controls whether the database will be used to answer -+queries. A database that is hidden will never be -+selected to answer any queries, and any suffix configured -+on the database will be ignored in checks for conflicts -+with other databases. By default, olcHidden is FALSE. -+.TP -+.B olcLastMod: TRUE | FALSE -+Controls whether -+.B slapd -+will automatically maintain the -+modifiersName, modifyTimestamp, creatorsName, and -+createTimestamp attributes for entries. It also controls -+the entryCSN and entryUUID attributes, which are needed -+by the syncrepl provider. By default, olcLastMod is TRUE. -+.TP -+.B olcLastBind: TRUE | FALSE -+Controls whether -+.B slapd -+will automatically maintain the pwdLastSuccess attribute for -+entries. By default, olcLastBind is FALSE. -+.TP -+.B olcLastBindPrecision: <integer> -+If olcLastBind is enabled, specifies how frequently pwdLastSuccess -+will be updated. More than -+.B integer -+seconds must have passed since the last successful bind. In a -+replicated environment with frequent bind activity it may be -+useful to set this to a large value. -+.TP -+.B olcLimits: <selector> <limit> [<limit> [...]] -+Specify time and size limits based on the operation's initiator or -+base DN. -+The argument -+.B <selector> -+can be any of -+.RS -+.RS -+.TP -+anonymous | users | [<dnspec>=]<pattern> | group[/oc[/at]]=<pattern> -+ -+.RE -+with -+.RS -+.TP -+<dnspec> ::= dn[.<type>][.<style>] -+.TP -+<type> ::= self | this -+.TP -+<style> ::= exact | base | onelevel | subtree | children | regex | anonymous -+ -+.RE -+DN type -+.B self -+is the default and means the bound user, while -+.B this -+means the base DN of the operation. -+The term -+.B anonymous -+matches all unauthenticated clients. -+The term -+.B users -+matches all authenticated clients; -+otherwise an -+.B exact -+dn pattern is assumed unless otherwise specified by qualifying -+the (optional) key string -+.B dn -+with -+.B exact -+or -+.B base -+(which are synonyms), to require an exact match; with -+.BR onelevel , -+to require exactly one level of depth match; with -+.BR subtree , -+to allow any level of depth match, including the exact match; with -+.BR children , -+to allow any level of depth match, not including the exact match; -+.BR regex -+explicitly requires the (default) match based on POSIX (''extended'') -+regular expression pattern. -+Finally, -+.B anonymous -+matches unbound operations; the -+.B pattern -+field is ignored. -+The same behavior is obtained by using the -+.B anonymous -+form of the -+.B <selector> -+clause. -+The term -+.BR group , -+with the optional objectClass -+.B oc -+and attributeType -+.B at -+fields, followed by -+.BR pattern , -+sets the limits for any DN listed in the values of the -+.B at -+attribute (default -+.BR member ) -+of the -+.B oc -+group objectClass (default -+.BR groupOfNames ) -+whose DN exactly matches -+.BR pattern . -+ -+The currently supported limits are -+.B size -+and -+.BR time . -+ -+The syntax for time limits is -+.BR time[.{soft|hard}]=<integer> , -+where -+.I integer -+is the number of seconds slapd will spend answering a search request. -+If no time limit is explicitly requested by the client, the -+.BR soft -+limit is used; if the requested time limit exceeds the -+.BR hard -+."limit, an -+.".I "Administrative limit exceeded" -+."error is returned. -+limit, the value of the limit is used instead. -+If the -+.BR hard -+limit is set to the keyword -+.IR soft , -+the soft limit is used in either case; if it is set to the keyword -+.IR unlimited , -+no hard limit is enforced. -+Explicit requests for time limits smaller or equal to the -+.BR hard -+limit are honored. -+If no limit specifier is set, the value is assigned to the -+.BR soft -+limit, and the -+.BR hard -+limit is set to -+.IR soft , -+to preserve the original behavior. -+ -+The syntax for size limits is -+.BR size[.{soft|hard|unchecked}]=<integer> , -+where -+.I integer -+is the maximum number of entries slapd will return answering a search -+request. -+If no size limit is explicitly requested by the client, the -+.BR soft -+limit is used; if the requested size limit exceeds the -+.BR hard -+."limit, an -+.".I "Administrative limit exceeded" -+."error is returned. -+limit, the value of the limit is used instead. -+If the -+.BR hard -+limit is set to the keyword -+.IR soft , -+the soft limit is used in either case; if it is set to the keyword -+.IR unlimited , -+no hard limit is enforced. -+Explicit requests for size limits smaller or equal to the -+.BR hard -+limit are honored. -+The -+.BR unchecked -+specifier sets a limit on the number of candidates a search request is allowed -+to examine. -+The rationale behind it is that searches for non-properly indexed -+attributes may result in large sets of candidates, which must be -+examined by -+.BR slapd (8) -+to determine whether they match the search filter or not. -+The -+.B unchecked -+limit provides a means to drop such operations before they are even -+started. -+If the selected candidates exceed the -+.BR unchecked -+limit, the search will abort with -+.IR "Unwilling to perform" . -+If it is set to the keyword -+.IR unlimited , -+no limit is applied (the default). -+If it is set to -+.IR disabled , -+the search is not even performed; this can be used to disallow searches -+for a specific set of users. -+If no limit specifier is set, the value is assigned to the -+.BR soft -+limit, and the -+.BR hard -+limit is set to -+.IR soft , -+to preserve the original behavior. -+ -+In case of no match, the global limits are used. -+The default values are the same as for -+.B olcSizeLimit -+and -+.BR olcTimeLimit ; -+no limit is set on -+.BR unchecked . -+ -+If -+.B pagedResults -+control is requested, the -+.B hard -+size limit is used by default, because the request of a specific page size -+is considered an explicit request for a limitation on the number -+of entries to be returned. -+However, the size limit applies to the total count of entries returned within -+the search, and not to a single page. -+Additional size limits may be enforced; the syntax is -+.BR size.pr={<integer>|noEstimate|unlimited} , -+where -+.I integer -+is the max page size if no explicit limit is set; the keyword -+.I noEstimate -+inhibits the server from returning an estimate of the total number -+of entries that might be returned -+(note: the current implementation does not return any estimate). -+The keyword -+.I unlimited -+indicates that no limit is applied to the pagedResults control page size. -+The syntax -+.B size.prtotal={<integer>|hard|unlimited|disabled} -+allows one to set a limit on the total number of entries that the pagedResults -+control will return. -+By default it is set to the -+.B hard -+limit which will use the size.hard value. -+When set, -+.I integer -+is the max number of entries that the whole search with pagedResults control -+can return. -+Use -+.I unlimited -+to allow unlimited number of entries to be returned, e.g. to allow -+the use of the pagedResults control as a means to circumvent size -+limitations on regular searches; the keyword -+.I disabled -+disables the control, i.e. no paged results can be returned. -+Note that the total number of entries returned when the pagedResults control -+is requested cannot exceed the -+.B hard -+size limit of regular searches unless extended by the -+.B prtotal -+switch. -+ -+The \fBolcLimits\fP statement is typically used to let an unlimited -+number of entries be returned by searches performed -+with the identity used by the consumer for synchronization purposes -+by means of the RFC 4533 LDAP Content Synchronization protocol -+(see \fBolcSyncrepl\fP for details). -+ -+When using subordinate databases, it is necessary for any limits that -+are to be applied across the parent and its subordinates to be defined in -+both the parent and its subordinates. Otherwise the settings on the -+subordinate databases are not honored. -+.RE -+.TP -+.B olcMaxDerefDepth: <depth> -+Specifies the maximum number of aliases to dereference when trying to -+resolve an entry, used to avoid infinite alias loops. The default is 15. -+.TP -+.B olcMultiProvider: TRUE | FALSE -+This option puts a consumer database into Multi-Provider mode. Update -+operations will be accepted from any user, not just the updatedn. The -+database must already be configured as a syncrepl consumer -+before this keyword may be set. This mode also requires a -+.B olcServerID -+(see above) to be configured. -+By default, this setting is FALSE. -+.TP -+.B olcMonitoring: TRUE | FALSE -+This option enables database-specific monitoring in the entry related -+to the current database in the "cn=Databases,cn=Monitor" subtree -+of the monitor database, if the monitor database is enabled. -+Currently, only the MDB database provides database-specific monitoring. -+If monitoring is supported by the backend it defaults to TRUE, otherwise -+FALSE. -+.TP -+.B olcPlugin: <plugin_type> <lib_path> <init_function> [<arguments>] -+Configure a SLAPI plugin. See the -+.BR slapd.plugin (5) -+manpage for more details. -+.TP -+.B olcRootDN: <dn> -+Specify the distinguished name that is not subject to access control -+or administrative limit restrictions for operations on this database. -+This DN may or may not be associated with an entry. An empty root -+DN (the default) specifies no root access is to be granted. It is -+recommended that the rootdn only be specified when needed (such as -+when initially populating a database). If the rootdn is within -+a namingContext (suffix) of the database, a simple bind password -+may also be provided using the -+.B olcRootPW -+directive. Many optional features, including syncrepl, require the -+rootdn to be defined for the database. -+The -+.B olcRootDN -+of the -+.B cn=config -+database defaults to -+.B cn=config -+itself. -+.TP -+.B olcRootPW: <password> -+Specify a password (or hash of the password) for the rootdn. The -+password can only be set if the rootdn is within the namingContext -+(suffix) of the database. -+This option accepts all RFC 2307 userPassword formats known to -+the server (see -+.B olcPasswordHash -+description) as well as cleartext. -+.BR slappasswd (8) -+may be used to generate a hash of a password. Cleartext -+and \fB{CRYPT}\fP passwords are not recommended. If empty -+(the default), authentication of the root DN is by other means -+(e.g. SASL). Use of SASL is encouraged. -+.TP -+.B olcSubordinate: [TRUE | FALSE | advertise] -+Specify that the current backend database is a subordinate of another -+backend database. A subordinate database may have only one suffix. This -+option may be used to glue multiple databases into a single namingContext. -+If the suffix of the current database is within the namingContext of a -+superior database, searches against the superior database will be -+propagated to the subordinate as well. All of the databases -+associated with a single namingContext should have identical rootdns. -+Behavior of other LDAP operations is unaffected by this setting. In -+particular, it is not possible to use moddn to move an entry from -+one subordinate to another subordinate within the namingContext. -+ -+If the optional \fBadvertise\fP flag is supplied, the naming context of -+this database is advertised in the root DSE. The default is to hide this -+database context, so that only the superior context is visible. -+ -+If the slap tools -+.BR slapcat (8), -+.BR slapadd (8), -+.BR slapmodify (8), -+or -+.BR slapindex (8) -+are used on the superior database, any glued subordinates that support -+these tools are opened as well. -+ -+Databases that are glued together should usually be configured with the -+same indices (assuming they support indexing), even for attributes that -+only exist in some of these databases. In general, all of the glued -+databases should be configured as similarly as possible, since the intent -+is to provide the appearance of a single directory. -+ -+Note that the subordinate functionality is implemented internally -+by the \fIglue\fP overlay and as such its behavior will interact with other -+overlays in use. By default, the glue overlay is automatically configured as -+the last overlay on the superior database. Its position on the database -+can be explicitly configured by setting an \fBoverlay glue\fP directive -+at the desired position. This explicit configuration is necessary e.g. -+when using the \fIsyncprov\fP overlay, which needs to follow \fIglue\fP -+in order to work over all of the glued databases. E.g. -+.RS -+.nf -+ dn: olcDatabase={1}mdb,cn=config -+ olcSuffix: dc=example,dc=com -+ ... -+ -+ dn: olcOverlay={0}glue,olcDatabase={1}mdb,cn=config -+ ... -+ -+ dn: olcOverlay={1}syncprov,olcDatabase={1}mdb,cn=config -+ ... -+.fi -+.RE -+See the Overlays section below for more details. -+.TP -+.B olcSuffix: <dn suffix> -+Specify the DN suffix of queries that will be passed to this -+backend database. Multiple suffix lines can be given and at least one is -+required for each database definition. -+ -+If the suffix of one database is "inside" that of another, the database -+with the inner suffix must come first in the configuration file. -+You may also want to glue such databases together with the -+.B olcSubordinate -+attribute. -+.TP -+.B olcSyncUseSubentry: TRUE | FALSE -+Store the syncrepl contextCSN in a subentry instead of the context entry -+of the database. The subentry's RDN will be "cn=ldapsync". The default is -+FALSE, meaning the contextCSN is stored in the context entry. -+.HP -+.hy 0 -+.B olcSyncrepl: rid=<replica ID> -+.B provider=ldap[s]://<hostname>[:port] -+.B searchbase=<base DN> -+.B [type=refreshOnly|refreshAndPersist] -+.B [interval=dd:hh:mm:ss] -+.B [retry=[<retry interval> <# of retries>]+] -+.B [filter=<filter str>] -+.B [scope=sub|one|base|subord] -+.B [attrs=<attr list>] -+.B [exattrs=<attr list>] -+.B [attrsonly] -+.B [sizelimit=<limit>] -+.B [timelimit=<limit>] -+.B [schemachecking=on|off] -+.B [network-timeout=<seconds>] -+.B [timeout=<seconds>] -+.B [tcp-user-timeout=<milliseconds>] -+.B [bindmethod=simple|sasl] -+.B [binddn=<dn>] -+.B [saslmech=<mech>] -+.B [authcid=<identity>] -+.B [authzid=<identity>] -+.B [credentials=<passwd>] -+.B [realm=<realm>] -+.B [secprops=<properties>] -+.B [keepalive=<idle>:<probes>:<interval>] -+.B [starttls=yes|critical] -+.B [tls_cert=<file>] -+.B [tls_key=<file>] -+.B [tls_cacert=<file>] -+.B [tls_cacertdir=<path>] -+.B [tls_reqcert=never|allow|try|demand] -+.B [tls_reqsan=never|allow|try|demand] -+.B [tls_cipher_suite=<ciphers>] -+.B [tls_ecname=<names>] -+.B [tls_crlcheck=none|peer|all] -+.B [tls_protocol_min=<major>[.<minor>]] -+.B [suffixmassage=<real DN>] -+.B [logbase=<base DN>] -+.B [logfilter=<filter str>] -+.B [syncdata=default|accesslog|changelog] -+.B [lazycommit] -+.RS -+Specify the current database as a consumer which is kept up-to-date with the -+provider content by establishing the current -+.BR slapd (8) -+as a replication consumer site running a -+.B syncrepl -+replication engine. -+The consumer content is kept synchronized to the provider content using -+the LDAP Content Synchronization protocol. Refer to the -+"OpenLDAP Administrator's Guide" for detailed information on -+setting up a replicated -+.B slapd -+directory service using the -+.B syncrepl -+replication engine. -+ -+.B rid -+identifies the current -+.B syncrepl -+directive within the replication consumer site. -+It is a non-negative integer not greater than 999 (limited -+to three decimal digits). -+ -+.B provider -+specifies the replication provider site containing the provider content -+as an LDAP URI. If <port> is not given, the standard LDAP port number -+(389 or 636) is used. -+ -+The content of the -+.B syncrepl -+consumer is defined using a search -+specification as its result set. The consumer -+.B slapd -+will send search requests to the provider -+.B slapd -+according to the search specification. The search specification includes -+.BR searchbase ", " scope ", " filter ", " attrs ", " attrsonly ", " sizelimit ", " -+and -+.B timelimit -+parameters as in the normal search specification. The -+.B exattrs -+option may also be used to specify attributes that should be omitted -+from incoming entries. -+The \fBscope\fP defaults to \fBsub\fP, the \fBfilter\fP defaults to -+\fB(objectclass=*)\fP, and there is no default \fBsearchbase\fP. The -+\fBattrs\fP list defaults to \fB"*,+"\fP to return all user and operational -+attributes, and \fBattrsonly\fP and \fBexattrs\fP are unset by default. -+The \fBsizelimit\fP and \fBtimelimit\fP only -+accept "unlimited" and positive integers, and both default to "unlimited". -+The \fBsizelimit\fP and \fBtimelimit\fP parameters define -+a consumer requested limitation on the number of entries that can be returned -+by the LDAP Content Synchronization operation; these should be left unchanged -+from the default otherwise replication may never succeed. -+Note, however, that any provider-side limits for the replication identity -+will be enforced by the provider regardless of the limits requested -+by the LDAP Content Synchronization operation, much like for any other -+search operation. -+ -+The LDAP Content Synchronization protocol has two operation types. -+In the -+.B refreshOnly -+operation, the next synchronization search operation -+is periodically rescheduled at an interval time (specified by -+.B interval -+parameter; 1 day by default) -+after each synchronization operation finishes. -+In the -+.B refreshAndPersist -+operation, a synchronization search remains persistent in the provider slapd. -+Further updates to the provider will generate -+.B searchResultEntry -+to the consumer slapd as the search responses to the persistent -+synchronization search. If the initial search fails due to an error, the -+next synchronization search operation is periodically rescheduled at an -+interval time (specified by -+.B interval -+parameter; 1 day by default) -+ -+If an error occurs during replication, the consumer will attempt to -+reconnect according to the -+.B retry -+parameter which is a list of the <retry interval> and <# of retries> pairs. -+For example, retry="60 10 300 3" lets the consumer retry every 60 seconds -+for the first 10 times and then retry every 300 seconds for the next 3 -+times before stop retrying. The `+' in <# of retries> means indefinite -+number of retries until success. -+If no -+.B retry -+is specified, by default syncrepl retries every hour forever. -+ -+The schema checking can be enforced at the LDAP Sync -+consumer site by turning on the -+.B schemachecking -+parameter. The default is \fBoff\fP. -+Schema checking \fBon\fP means that replicated entries must have -+a structural objectClass, must obey to objectClass requirements -+in terms of required/allowed attributes, and that naming attributes -+and distinguished values must be present. -+As a consequence, schema checking should be \fBoff\fP when partial -+replication is used. -+ -+The -+.B network-timeout -+parameter sets how long the consumer will wait to establish a -+network connection to the provider. Once a connection is -+established, the -+.B timeout -+parameter determines how long the consumer will wait for the initial -+Bind request to complete. The defaults for these parameters come -+from -+.BR ldap.conf (5). -+The -+.B tcp-user-timeout -+parameter, if non-zero, corresponds to the -+.B TCP_USER_TIMEOUT -+set on the target connections, overriding the operating system setting. -+Only some systems support the customization of this parameter, it is -+ignored otherwise and system-wide settings are used. -+ -+A -+.B bindmethod -+of -+.B simple -+requires the options -+.B binddn -+and -+.B credentials -+and should only be used when adequate security services -+(e.g. TLS or IPSEC) are in place. -+.B REMEMBER: simple bind credentials must be in cleartext! -+A -+.B bindmethod -+of -+.B sasl -+requires the option -+.B saslmech. -+Depending on the mechanism, an authentication identity and/or -+credentials can be specified using -+.B authcid -+and -+.B credentials. -+The -+.B authzid -+parameter may be used to specify an authorization identity. -+Specific security properties (as with the -+.B sasl-secprops -+keyword above) for a SASL bind can be set with the -+.B secprops -+option. A non default SASL realm can be set with the -+.B realm -+option. -+The identity used for synchronization by the consumer should be allowed -+to receive an unlimited number of entries in response to a search request. -+The provider, other than allowing authentication of the syncrepl identity, -+should grant that identity appropriate access privileges to the data -+that is being replicated (\fBaccess\fP directive), and appropriate time -+and size limits. -+This can be accomplished by either allowing unlimited \fBsizelimit\fP -+and \fBtimelimit\fP, or by setting an appropriate \fBlimits\fP statement -+in the consumer's configuration (see \fBsizelimit\fP and \fBlimits\fP -+for details). -+ -+The -+.B keepalive -+parameter sets the values of \fIidle\fP, \fIprobes\fP, and \fIinterval\fP -+used to check whether a socket is alive; -+.I idle -+is the number of seconds a connection needs to remain idle before TCP -+starts sending keepalive probes; -+.I probes -+is the maximum number of keepalive probes TCP should send before dropping -+the connection; -+.I interval -+is interval in seconds between individual keepalive probes. -+Only some systems support the customization of these values; -+the -+.B keepalive -+parameter is ignored otherwise, and system-wide settings are used. -+ -+The -+.B starttls -+parameter specifies use of the StartTLS extended operation -+to establish a TLS session before Binding to the provider. If the -+.B critical -+argument is supplied, the session will be aborted if the StartTLS request -+fails. Otherwise the syncrepl session continues without TLS. The -+.B tls_reqcert -+setting defaults to "demand", the -+.B tls_reqsan -+setting defaults to "allow", and the other TLS settings -+default to the same as the main slapd TLS settings. -+ -+The -+.B suffixmassage -+parameter allows the consumer to pull entries from a remote directory -+whose DN suffix differs from the local directory. The portion of the -+remote entries' DNs that matches the \fIsearchbase\fP will be replaced -+with the suffixmassage DN. -+ -+Rather than replicating whole entries, the consumer can query logs of -+data modifications. This mode of operation is referred to as \fIdelta -+syncrepl\fP. In addition to the above parameters, the -+.B logbase -+and -+.B logfilter -+parameters must be set appropriately for the log that will be used. The -+.B syncdata -+parameter must be set to either "accesslog" if the log conforms to the -+.BR slapo-accesslog (5) -+log format, or "changelog" if the log conforms -+to the obsolete \fIchangelog\fP format. If the -+.B syncdata -+parameter is omitted or set to "default" then the log parameters are -+ignored. -+ -+The -+.B lazycommit -+parameter tells the underlying database that it can store changes without -+performing a full flush after each change. This may improve performance -+for the consumer, while sacrificing safety or durability. -+.RE -+.TP -+.B olcUpdateDN: <dn> -+This option is only applicable in a replica -+database. -+It specifies the DN permitted to update (subject to access controls) -+the replica. It is only needed in certain push-mode -+replication scenarios. Generally, this DN -+.I should not -+be the same as the -+.B rootdn -+used at the provider. -+.TP -+.B olcUpdateRef: <url> -+Specify the referral to pass back when -+.BR slapd (8) -+is asked to modify a replicated local database. -+If multiple values are specified, each url is provided. -+ -+.SH DATABASE-SPECIFIC OPTIONS -+Each database may allow specific configuration options; they are -+documented separately in the backends' manual pages. See the -+.BR slapd.backends (5) -+manual page for an overview of available backends. -+.SH OVERLAYS -+An overlay is a piece of -+code that intercepts database operations in order to extend or change -+them. Overlays are pushed onto -+a stack over the database, and so they will execute in the reverse -+of the order in which they were configured and the database itself -+will receive control last of all. -+ -+Overlays must be configured as child entries of a specific database. The -+entry's RDN must be of the form -+.B olcOverlay={x}<overlaytype> -+and the entry must have the olcOverlayConfig objectClass. Normally the -+config engine generates the "{x}" index in the RDN automatically, so -+it can be omitted when initially loading these entries. -+ -+See the -+.BR slapd.overlays (5) -+manual page for an overview of available overlays. -+.SH EXAMPLES -+.LP -+Here is a short example of a configuration in LDIF suitable for use with -+.BR slapadd (8) -+: -+.LP -+.RS -+.nf -+dn: cn=config -+objectClass: olcGlobal -+cn: config -+olcPidFile: LOCALSTATEDIR/run/slapd.pid -+olcAttributeOptions: x-hidden lang- -+ -+dn: cn=schema,cn=config -+objectClass: olcSchemaConfig -+cn: schema -+ -+include: file://SYSCONFDIR/schema/core.ldif -+ -+dn: olcDatabase=frontend,cn=config -+objectClass: olcDatabaseConfig -+objectClass: olcFrontendConfig -+olcDatabase: frontend -+# Subtypes of "name" (e.g. "cn" and "ou") with the -+# option ";x-hidden" can be searched for/compared, -+# but are not shown. See \fBslapd.access\fP(5). -+olcAccess: to attrs=name;x-hidden by * =cs -+# Protect passwords. See \fBslapd.access\fP(5). -+olcAccess: to attrs=userPassword by * auth -+# Read access to other attributes and entries. -+olcAccess: to * by * read -+ -+# set a rootpw for the config database so we can bind. -+# deny access to everyone else. -+dn: olcDatabase=config,cn=config -+objectClass: olcDatabaseConfig -+olcDatabase: config -+olcRootPW: {SSHA}XKYnrjvGT3wZFQrDD5040US592LxsdLy -+olcAccess: to * by * none -+ -+dn: olcDatabase=mdb,cn=config -+objectClass: olcDatabaseConfig -+objectClass: olcMdbConfig -+olcDatabase: mdb -+olcSuffix: "dc=our-domain,dc=com" -+# The database directory MUST exist prior to -+# running slapd AND should only be accessible -+# by the slapd/tools. Mode 0700 recommended. -+olcDbDirectory: LOCALSTATEDIR/openldap-data -+# Indices to maintain -+olcDbIndex: objectClass eq -+olcDbIndex: cn,sn,mail pres,eq,approx,sub -+ -+# We serve small clients that do not handle referrals, -+# so handle remote lookups on their behalf. -+dn: olcDatabase=ldap,cn=config -+objectClass: olcDatabaseConfig -+objectClass: olcLdapConfig -+olcDatabase: ldap -+olcSuffix: "" -+olcDbUri: ldap://ldap.some-server.com/ -+.fi -+.RE -+.LP -+Assuming the above data was saved in a file named "config.ldif" and the -+ETCDIR/slapd.d directory has been created, this command will initialize -+the configuration: -+.RS -+.nf -+slapadd -F ETCDIR/slapd.d -n 0 -l config.ldif -+.fi -+.RE -+ -+.LP -+"OpenLDAP Administrator's Guide" contains a longer annotated -+example of a slapd configuration. -+ -+Alternatively, an existing slapd.conf file can be converted to the new -+format using slapd or any of the slap tools: -+.RS -+.nf -+slaptest -f ETCDIR/slapd.conf -F ETCDIR/slapd.d -+.fi -+.RE -+ -+.SH FILES -+.TP -+ETCDIR/slapd.conf -+default slapd configuration file -+.TP -+ETCDIR/slapd.d -+default slapd configuration directory -+.SH SEE ALSO -+.BR ldap (3), -+.BR ldif (5), -+.BR gnutls-cli (1), -+.BR slapd.access (5), -+.BR slapd.backends (5), -+.BR slapd.conf (5), -+.BR slapd.overlays (5), -+.BR slapd.plugin (5), -+.BR slapd (8), -+.BR slapacl (8), -+.BR slapadd (8), -+.BR slapauth (8), -+.BR slapcat (8), -+.BR slapdn (8), -+.BR slapindex (8), -+.BR slapmodify (8), -+.BR slappasswd (8), -+.BR slaptest (8). -+.LP -+"OpenLDAP Administrator's Guide" (http://www.OpenLDAP.org/doc/admin/) -+.SH ACKNOWLEDGEMENTS -+.so ../Project -diff -Naurp openldap-2.6.2.orig/include/ldap_defaults.h openldap-2.6.2/include/ldap_defaults.h ---- openldap-2.6.2.orig/include/ldap_defaults.h 2022-05-04 16:55:23.000000000 +0200 -+++ openldap-2.6.2/include/ldap_defaults.h 2022-05-05 12:07:08.783961875 +0200 -@@ -40,7 +40,8 @@ - - /* default ldapi:// socket */ - #ifndef LDAPI_SOCK --#define LDAPI_SOCK LDAP_RUNDIR LDAP_DIRSEP "run" LDAP_DIRSEP "ldapi" -+#define LDAPI_SOCK LDAP_RUNDIR LDAP_DIRSEP "run" LDAP_DIRSEP "openldap" LDAP_DIRSEP "ldapi" -+ - #endif - - /* -@@ -54,7 +55,8 @@ - #define SLAPD_DEFAULT_CONFIGDIR LDAP_SYSCONFDIR LDAP_DIRSEP "slapd.d" - #endif - #ifndef SLAPD_DEFAULT_DB_DIR --#define SLAPD_DEFAULT_DB_DIR LDAP_RUNDIR LDAP_DIRSEP "openldap-data" -+#define SLAPD_DEFAULT_DB_DIR LDAP_RUNDIR LDAP_DIRSEP "lib" LDAP_DIRSEP "openldap" -+ - #endif - #define SLAPD_DEFAULT_DB_MODE 0600 - /* default max deref depth for aliases */ -diff -Naurp openldap-2.6.2.orig/libraries/liblber/Makefile.in openldap-2.6.2/libraries/liblber/Makefile.in ---- openldap-2.6.2.orig/libraries/liblber/Makefile.in 2022-05-04 16:55:23.000000000 +0200 -+++ openldap-2.6.2/libraries/liblber/Makefile.in 2022-05-05 12:05:53.313727757 +0200 -@@ -51,6 +51,6 @@ idtest: $(XLIBS) idtest.o - - install-local: FORCE - -$(MKDIR) $(DESTDIR)$(libdir) -- $(LTINSTALL) $(INSTALLFLAGS) -m 644 $(LIBRARY) $(DESTDIR)$(libdir) -+ $(LTINSTALL) $(INSTALLFLAGS) -m 755 $(LIBRARY) $(DESTDIR)$(libdir) - $(LTFINISH) $(DESTDIR)$(libdir) - -diff -Naurp openldap-2.6.2.orig/libraries/libldap/Makefile.in openldap-2.6.2/libraries/libldap/Makefile.in ---- openldap-2.6.2.orig/libraries/libldap/Makefile.in 2022-05-04 16:55:23.000000000 +0200 -+++ openldap-2.6.2/libraries/libldap/Makefile.in 2022-05-05 12:05:53.327727801 +0200 -@@ -82,7 +82,7 @@ CFFILES=ldap.conf - - install-local: $(CFFILES) FORCE - -$(MKDIR) $(DESTDIR)$(libdir) -- $(LTINSTALL) $(INSTALLFLAGS) -m 644 $(LIBRARY) $(DESTDIR)$(libdir) -+ $(LTINSTALL) $(INSTALLFLAGS) -m 755 $(LIBRARY) $(DESTDIR)$(libdir) - $(LTFINISH) $(DESTDIR)$(libdir) - -$(MKDIR) $(DESTDIR)$(sysconfdir) - @for i in $(CFFILES); do \ -diff -Naurp openldap-2.6.2.orig/servers/slapd/Makefile.in openldap-2.6.2/servers/slapd/Makefile.in ---- openldap-2.6.2.orig/servers/slapd/Makefile.in 2022-05-04 16:55:23.000000000 +0200 -+++ openldap-2.6.2/servers/slapd/Makefile.in 2022-05-05 12:05:53.329727807 +0200 -@@ -374,9 +374,10 @@ install-local-srv: install-slapd install - - install-slapd: FORCE - -$(MKDIR) $(DESTDIR)$(libexecdir) -+ -$(MKDIR) $(DESTDIR)$(sbindir) - -$(MKDIR) $(DESTDIR)$(localstatedir)/run - $(LTINSTALL) $(INSTALLFLAGS) $(STRIP_OPTS) -m 755 \ -- slapd$(EXEEXT) $(DESTDIR)$(libexecdir) -+ slapd$(EXEEXT) $(DESTDIR)$(sbindir) - @for i in $(SUBDIRS); do \ - if test -d $$i && test -f $$i/Makefile ; then \ - echo; echo " cd $$i && $(MAKE) $(MFLAGS) install"; \ -@@ -452,9 +453,9 @@ install-conf: FORCE - - install-db-config: FORCE - @-$(MKDIR) $(DESTDIR)$(localstatedir) $(DESTDIR)$(sysconfdir) -- @-$(INSTALL) -m 700 -d $(DESTDIR)$(localstatedir)/openldap-data -+ @-$(INSTALL) -m 700 -d $(DESTDIR)$(localstatedir)/lib/openldap - $(INSTALL) $(INSTALLFLAGS) -m 600 $(srcdir)/DB_CONFIG \ -- $(DESTDIR)$(localstatedir)/openldap-data/DB_CONFIG.example -+ $(DESTDIR)$(localstatedir)/lib/openldap/DB_CONFIG.example - $(INSTALL) $(INSTALLFLAGS) -m 600 $(srcdir)/DB_CONFIG \ - $(DESTDIR)$(sysconfdir)/DB_CONFIG.example - -@@ -462,6 +463,6 @@ install-tools: FORCE - -$(MKDIR) $(DESTDIR)$(sbindir) - for i in $(SLAPTOOLS); do \ - $(RM) $(DESTDIR)$(sbindir)/$$i$(EXEEXT); \ -- $(LN_S) -f $(DESTDIR)$(libexecdir)/slapd$(EXEEXT) $(DESTDIR)$(sbindir)/$$i$(EXEEXT); \ -+ $(LN_S) -f $(DESTDIR)$(sbindir)/slapd$(EXEEXT) $(DESTDIR)$(sbindir)/$$i$(EXEEXT); \ - done - -diff -Naurp openldap-2.6.2.orig/servers/slapd/slapd.conf openldap-2.6.2/servers/slapd/slapd.conf ---- openldap-2.6.2.orig/servers/slapd/slapd.conf 2022-05-04 16:55:23.000000000 +0200 -+++ openldap-2.6.2/servers/slapd/slapd.conf 2022-05-05 12:05:53.331727813 +0200 -@@ -10,8 +10,9 @@ include %SYSCONFDIR%/schema/core.schema - # service AND an understanding of referrals. - #referral ldap://root.openldap.org - --pidfile %LOCALSTATEDIR%/run/slapd.pid --argsfile %LOCALSTATEDIR%/run/slapd.args -+pidfile %LOCALSTATEDIR%/run/openldap/slapd.pid -+argsfile %LOCALSTATEDIR%/run/openldap/slapd.args -+ - - # Load dynamic backend modules: - modulepath %MODULEDIR% -@@ -69,7 +70,7 @@ rootpw secret - # The database directory MUST exist prior to running slapd AND - # should only be accessible by the slapd and slap tools. - # Mode 700 recommended. --directory %LOCALSTATEDIR%/openldap-data -+directory %LOCALSTATEDIR%/lib/openldap - # Indices to maintain - index objectClass eq - -diff -Naurp openldap-2.6.2.orig/servers/slapd/slapd.ldif openldap-2.6.2/servers/slapd/slapd.ldif ---- openldap-2.6.2.orig/servers/slapd/slapd.ldif 2022-05-04 16:55:23.000000000 +0200 -+++ openldap-2.6.2/servers/slapd/slapd.ldif 2022-05-05 12:05:53.332727816 +0200 -@@ -9,8 +9,8 @@ cn: config - # - # Define global ACLs to disable default read access. - # --olcArgsFile: %LOCALSTATEDIR%/run/slapd.args --olcPidFile: %LOCALSTATEDIR%/run/slapd.pid -+olcArgsFile: %LOCALSTATEDIR%/run/openldap/slapd.args -+olcPidFile: %LOCALSTATEDIR%/run/openldap/slapd.pid - # - # Do not enable referrals until AFTER you have a working directory - # service AND an understanding of referrals. -@@ -88,7 +88,7 @@ olcRootPW: secret - # The database directory MUST exist prior to running slapd AND - # should only be accessible by the slapd and slap tools. - # Mode 700 recommended. --olcDbDirectory: %LOCALSTATEDIR%/openldap-data -+olcDbDirectory: %LOCALSTATEDIR%/lib/openldap - # Indices to maintain - olcDbIndex: objectClass eq - -diff -Naurp openldap-2.6.2.orig/servers/slapd/slapi/Makefile.in openldap-2.6.2/servers/slapd/slapi/Makefile.in ---- openldap-2.6.2.orig/servers/slapd/slapi/Makefile.in 2022-05-04 16:55:23.000000000 +0200 -+++ openldap-2.6.2/servers/slapd/slapi/Makefile.in 2022-05-05 12:05:53.333727819 +0200 -@@ -46,6 +46,6 @@ BUILD_MOD = @BUILD_SLAPI@ - install-local: FORCE - if test "$(BUILD_MOD)" = "yes"; then \ - $(MKDIR) $(DESTDIR)$(libdir); \ -- $(LTINSTALL) $(INSTALLFLAGS) -m 644 $(LIBRARY) $(DESTDIR)$(libdir); \ -+ $(LTINSTALL) $(INSTALLFLAGS) -m 755 $(LIBRARY) $(DESTDIR)$(libdir); \ - fi - diff --git a/src/patches/openldap-2.6.8-consolidated-1.patch b/src/patches/openldap-2.6.8-consolidated-1.patch new file mode 100644 index 000000000..62dea2600 --- /dev/null +++ b/src/patches/openldap-2.6.8-consolidated-1.patch @@ -0,0 +1,175 @@ +Submitted by: Xi Ruoyao <xry111 at xry111 dot site> +Date: 2024-01-30 +Initial Package Version: 2.6.7 +Upstream Status: BLFS Specific +Origin: Armin K. <krejzi at email dot com> and Debian. + Rediffed multiple times by various editors. + For 2.6.7, manually edited to remove the bogus + ".orig" file creation, and change + %LOCALSTATEDIR%/run to /run because /var/run has + been deprecated. + +diff -Naurp openldap-2.6.2.orig/doc/man/man5/slapd.conf.5 openldap-2.6.2/doc/man/man5/slapd.conf.5 +--- openldap-2.6.2.orig/doc/man/man5/slapd.conf.5 2022-05-04 16:55:23.000000000 +0200 ++++ openldap-2.6.2/doc/man/man5/slapd.conf.5 2022-05-05 12:05:53.309727745 +0200 +@@ -2122,7 +2122,7 @@ suffix "dc=our-domain,dc=com" + # The database directory MUST exist prior to + # running slapd AND should only be accessible + # by the slapd/tools. Mode 0700 recommended. +-directory LOCALSTATEDIR/openldap-data ++directory LOCALSTATEDIR/lib/openldap + # Indices to maintain + index objectClass eq + index cn,sn,mail pres,eq,approx,sub +diff -Naurp openldap-2.6.2.orig/doc/man/man5/slapd-config.5 openldap-2.6.2/doc/man/man5/slapd-config.5 +--- openldap-2.6.2.orig/doc/man/man5/slapd-config.5 2022-05-04 16:55:23.000000000 +0200 ++++ openldap-2.6.2/doc/man/man5/slapd-config.5 2022-05-05 12:05:53.312727754 +0200 +@@ -2233,7 +2233,7 @@ olcSuffix: "dc=our-domain,dc=com" + # The database directory MUST exist prior to + # running slapd AND should only be accessible + # by the slapd/tools. Mode 0700 recommended. +-olcDbDirectory: LOCALSTATEDIR/openldap-data ++olcDbDirectory: LOCALSTATEDIR/lib/openldap + # Indices to maintain + olcDbIndex: objectClass eq + olcDbIndex: cn,sn,mail pres,eq,approx,sub + +diff -Naurp openldap-2.6.2.orig/include/ldap_defaults.h openldap-2.6.2/include/ldap_defaults.h +--- openldap-2.6.2.orig/include/ldap_defaults.h 2022-05-04 16:55:23.000000000 +0200 ++++ openldap-2.6.2/include/ldap_defaults.h 2022-05-05 12:07:08.783961875 +0200 +@@ -40,7 +40,8 @@ + + /* default ldapi:// socket */ + #ifndef LDAPI_SOCK +-#define LDAPI_SOCK LDAP_RUNDIR LDAP_DIRSEP "run" LDAP_DIRSEP "ldapi" ++#define LDAPI_SOCK "/run" LDAP_DIRSEP "openldap" LDAP_DIRSEP "ldapi" ++ + #endif + + /* +@@ -54,7 +55,8 @@ + #define SLAPD_DEFAULT_CONFIGDIR LDAP_SYSCONFDIR LDAP_DIRSEP "slapd.d" + #endif + #ifndef SLAPD_DEFAULT_DB_DIR +-#define SLAPD_DEFAULT_DB_DIR LDAP_RUNDIR LDAP_DIRSEP "openldap-data" ++#define SLAPD_DEFAULT_DB_DIR LDAP_RUNDIR LDAP_DIRSEP "lib" LDAP_DIRSEP "openldap" ++ + #endif + #define SLAPD_DEFAULT_DB_MODE 0600 + /* default max deref depth for aliases */ +diff -Naurp openldap-2.6.2.orig/libraries/liblber/Makefile.in openldap-2.6.2/libraries/liblber/Makefile.in +--- openldap-2.6.2.orig/libraries/liblber/Makefile.in 2022-05-04 16:55:23.000000000 +0200 ++++ openldap-2.6.2/libraries/liblber/Makefile.in 2022-05-05 12:05:53.313727757 +0200 +@@ -51,6 +51,6 @@ idtest: $(XLIBS) idtest.o + + install-local: FORCE + -$(MKDIR) $(DESTDIR)$(libdir) +- $(LTINSTALL) $(INSTALLFLAGS) -m 644 $(LIBRARY) $(DESTDIR)$(libdir) ++ $(LTINSTALL) $(INSTALLFLAGS) -m 755 $(LIBRARY) $(DESTDIR)$(libdir) + $(LTFINISH) $(DESTDIR)$(libdir) + +diff -Naurp openldap-2.6.2.orig/libraries/libldap/Makefile.in openldap-2.6.2/libraries/libldap/Makefile.in +--- openldap-2.6.2.orig/libraries/libldap/Makefile.in 2022-05-04 16:55:23.000000000 +0200 ++++ openldap-2.6.2/libraries/libldap/Makefile.in 2022-05-05 12:05:53.327727801 +0200 +@@ -82,7 +82,7 @@ CFFILES=ldap.conf + + install-local: $(CFFILES) FORCE + -$(MKDIR) $(DESTDIR)$(libdir) +- $(LTINSTALL) $(INSTALLFLAGS) -m 644 $(LIBRARY) $(DESTDIR)$(libdir) ++ $(LTINSTALL) $(INSTALLFLAGS) -m 755 $(LIBRARY) $(DESTDIR)$(libdir) + $(LTFINISH) $(DESTDIR)$(libdir) + -$(MKDIR) $(DESTDIR)$(sysconfdir) + @for i in $(CFFILES); do \ +diff -Naurp openldap-2.6.2.orig/servers/slapd/Makefile.in openldap-2.6.2/servers/slapd/Makefile.in +--- openldap-2.6.2.orig/servers/slapd/Makefile.in 2022-05-04 16:55:23.000000000 +0200 ++++ openldap-2.6.2/servers/slapd/Makefile.in 2022-05-05 12:05:53.329727807 +0200 +@@ -374,9 +374,10 @@ install-local-srv: install-slapd install + + install-slapd: FORCE + -$(MKDIR) $(DESTDIR)$(libexecdir) ++ -$(MKDIR) $(DESTDIR)$(sbindir) + -$(MKDIR) $(DESTDIR)$(localstatedir)/run + $(LTINSTALL) $(INSTALLFLAGS) $(STRIP_OPTS) -m 755 \ +- slapd$(EXEEXT) $(DESTDIR)$(libexecdir) ++ slapd$(EXEEXT) $(DESTDIR)$(sbindir) + @for i in $(SUBDIRS); do \ + if test -d $$i && test -f $$i/Makefile ; then \ + echo; echo " cd $$i && $(MAKE) $(MFLAGS) install"; \ +@@ -452,9 +453,9 @@ install-conf: FORCE + + install-db-config: FORCE + @-$(MKDIR) $(DESTDIR)$(localstatedir) $(DESTDIR)$(sysconfdir) +- @-$(INSTALL) -m 700 -d $(DESTDIR)$(localstatedir)/openldap-data ++ @-$(INSTALL) -m 700 -d $(DESTDIR)$(localstatedir)/lib/openldap + $(INSTALL) $(INSTALLFLAGS) -m 600 $(srcdir)/DB_CONFIG \ +- $(DESTDIR)$(localstatedir)/openldap-data/DB_CONFIG.example ++ $(DESTDIR)$(localstatedir)/lib/openldap/DB_CONFIG.example + $(INSTALL) $(INSTALLFLAGS) -m 600 $(srcdir)/DB_CONFIG \ + $(DESTDIR)$(sysconfdir)/DB_CONFIG.example + +@@ -462,6 +463,6 @@ install-tools: FORCE + -$(MKDIR) $(DESTDIR)$(sbindir) + for i in $(SLAPTOOLS); do \ + $(RM) $(DESTDIR)$(sbindir)/$$i$(EXEEXT); \ +- $(LN_S) -f $(DESTDIR)$(libexecdir)/slapd$(EXEEXT) $(DESTDIR)$(sbindir)/$$i$(EXEEXT); \ ++ $(LN_S) -f $(DESTDIR)$(sbindir)/slapd$(EXEEXT) $(DESTDIR)$(sbindir)/$$i$(EXEEXT); \ + done + +diff -Naurp openldap-2.6.2.orig/servers/slapd/slapd.conf openldap-2.6.2/servers/slapd/slapd.conf +--- openldap-2.6.2.orig/servers/slapd/slapd.conf 2022-05-04 16:55:23.000000000 +0200 ++++ openldap-2.6.2/servers/slapd/slapd.conf 2022-05-05 12:05:53.331727813 +0200 +@@ -10,8 +10,9 @@ include %SYSCONFDIR%/schema/core.schema + # service AND an understanding of referrals. + #referral ldap://root.openldap.org + +-pidfile %LOCALSTATEDIR%/run/slapd.pid +-argsfile %LOCALSTATEDIR%/run/slapd.args ++pidfile /run/openldap/slapd.pid ++argsfile /run/openldap/slapd.args ++ + + # Load dynamic backend modules: + modulepath %MODULEDIR% +@@ -69,7 +70,7 @@ rootpw secret + # The database directory MUST exist prior to running slapd AND + # should only be accessible by the slapd and slap tools. + # Mode 700 recommended. +-directory %LOCALSTATEDIR%/openldap-data ++directory %LOCALSTATEDIR%/lib/openldap + # Indices to maintain + index objectClass eq + +diff -Naurp openldap-2.6.2.orig/servers/slapd/slapd.ldif openldap-2.6.2/servers/slapd/slapd.ldif +--- openldap-2.6.2.orig/servers/slapd/slapd.ldif 2022-05-04 16:55:23.000000000 +0200 ++++ openldap-2.6.2/servers/slapd/slapd.ldif 2022-05-05 12:05:53.332727816 +0200 +@@ -9,8 +9,8 @@ cn: config + # + # Define global ACLs to disable default read access. + # +-olcArgsFile: %LOCALSTATEDIR%/run/slapd.args +-olcPidFile: %LOCALSTATEDIR%/run/slapd.pid ++olcArgsFile: /run/openldap/slapd.args ++olcPidFile: /run/openldap/slapd.pid + # + # Do not enable referrals until AFTER you have a working directory + # service AND an understanding of referrals. +@@ -88,7 +88,7 @@ olcRootPW: secret + # The database directory MUST exist prior to running slapd AND + # should only be accessible by the slapd and slap tools. + # Mode 700 recommended. +-olcDbDirectory: %LOCALSTATEDIR%/openldap-data ++olcDbDirectory: %LOCALSTATEDIR%/lib/openldap + # Indices to maintain + olcDbIndex: objectClass eq + +diff -Naurp openldap-2.6.2.orig/servers/slapd/slapi/Makefile.in openldap-2.6.2/servers/slapd/slapi/Makefile.in +--- openldap-2.6.2.orig/servers/slapd/slapi/Makefile.in 2022-05-04 16:55:23.000000000 +0200 ++++ openldap-2.6.2/servers/slapd/slapi/Makefile.in 2022-05-05 12:05:53.333727819 +0200 +@@ -46,6 +46,6 @@ BUILD_MOD = @BUILD_SLAPI@ + install-local: FORCE + if test "$(BUILD_MOD)" = "yes"; then \ + $(MKDIR) $(DESTDIR)$(libdir); \ +- $(LTINSTALL) $(INSTALLFLAGS) -m 644 $(LIBRARY) $(DESTDIR)$(libdir); \ ++ $(LTINSTALL) $(INSTALLFLAGS) -m 755 $(LIBRARY) $(DESTDIR)$(libdir); \ + fi +
- Update from version 3.3.2 to 3.4.0 - Update of rootfile - Changelog 3.4.0 This release incorporates the following potentially significant or incompatible changes: * Deprecation of TS_VERIFY_CTX_set_* functions and addition of replacement TS_VERIFY_CTX_set0_* functions with improved semantics * Redesigned use of OPENSSLDIR/ENGINESDIR/MODULESDIR on Windows such that what were formerly build time locations can now be defined at run time with registry keys * The X25519 and X448 key exchange implementation in the FIPS provider is unapproved and has `fips=no` property. * SHAKE-128 and SHAKE-256 implementations have no default digest length anymore. That means these algorithms cannot be used with EVP_DigestFinal/_ex() unless the `xoflen` param is set before. * Setting `config_diagnostics=1` in the config file will cause errors to be returned from SSL_CTX_new() and SSL_CTX_new_ex() if there is an error in the ssl module configuration. * An empty renegotiate extension will be used in TLS client hellos instead of the empty renegotiation SCSV, for all connections with a minimum TLS version > 1.0. * Deprecation of SSL_SESSION_get_time(), SSL_SESSION_set_time() and SSL_CTX_flush_sessions() functions in favor of their respective `_ex` functions which are Y2038-safe on platforms with Y2038-safe `time_t` This release adds the following new features: * Support for directly fetched composite signature algorithms such as RSA-SHA2-256 including new API functions * FIPS indicators support in the FIPS provider and various updates of the FIPS provider required for future FIPS 140-3 validations * Implementation of RFC 9579 (PBMAC1) in PKCS#12 * An optional additional random seed source RNG `JITTER` using a statically linked jitterentropy library * New options `-not_before` and `-not_after` for explicit setting start and end dates of certificates created with the `req` and `x509` apps * Support for integrity-only cipher suites TLS_SHA256_SHA256 and TLS_SHA384_SHA384 in TLS 1.3, as defined in RFC 9150 * Support for requesting CRL in CMP * Support for additional X.509v3 extensions related to Attribute Certificates * Initial Attribute Certificate (RFC 5755) support * Possibility to customize ECC groups initialization to use precomputed values to save CPU time and use of this feature by the P-256 implementation 3.3.3 security patch release. The most severe CVE fixed in this release is Low. This release incorporates the following bug fixes and mitigations: * Fixed possible OOB memory access with invalid low-level GF(2^m) elliptic curve parameters. ([CVE-2024-9143])
Signed-off-by: Adolf Belka adolf.belka@ipfire.org --- config/rootfiles/common/openssl | 254 +++++++++++++++++++++++++++++++- lfs/openssl | 4 +- 2 files changed, 255 insertions(+), 3 deletions(-)
diff --git a/config/rootfiles/common/openssl b/config/rootfiles/common/openssl index d9595bef9..9773c0fa1 100644 --- a/config/rootfiles/common/openssl +++ b/config/rootfiles/common/openssl @@ -84,6 +84,7 @@ usr/bin/openssl #usr/include/openssl/http.h #usr/include/openssl/httperr.h #usr/include/openssl/idea.h +#usr/include/openssl/indicator.h #usr/include/openssl/kdf.h #usr/include/openssl/kdferr.h #usr/include/openssl/lhash.h @@ -148,6 +149,7 @@ usr/bin/openssl #usr/include/openssl/uierr.h #usr/include/openssl/whrlpool.h #usr/include/openssl/x509.h +#usr/include/openssl/x509_acert.h #usr/include/openssl/x509_vfy.h #usr/include/openssl/x509err.h #usr/include/openssl/x509v3.h @@ -315,6 +317,7 @@ usr/lib/ossl-modules/legacy.so #usr/share/doc/openssl/html/man3/BN_swap.html #usr/share/doc/openssl/html/man3/BN_zero.html #usr/share/doc/openssl/html/man3/BUF_MEM_new.html +#usr/share/doc/openssl/html/man3/CMAC_CTX.html #usr/share/doc/openssl/html/man3/CMS_EncryptedData_decrypt.html #usr/share/doc/openssl/html/man3/CMS_EncryptedData_encrypt.html #usr/share/doc/openssl/html/man3/CMS_EnvelopedData_create.html @@ -419,6 +422,7 @@ usr/lib/ossl-modules/legacy.so #usr/share/doc/openssl/html/man3/EVP_PKEY_CTX_ctrl.html #usr/share/doc/openssl/html/man3/EVP_PKEY_CTX_get0_libctx.html #usr/share/doc/openssl/html/man3/EVP_PKEY_CTX_get0_pkey.html +#usr/share/doc/openssl/html/man3/EVP_PKEY_CTX_get_algor.html #usr/share/doc/openssl/html/man3/EVP_PKEY_CTX_new.html #usr/share/doc/openssl/html/man3/EVP_PKEY_CTX_set1_pbe_pass.html #usr/share/doc/openssl/html/man3/EVP_PKEY_CTX_set_hkdf_md.html @@ -487,6 +491,7 @@ usr/lib/ossl-modules/legacy.so #usr/share/doc/openssl/html/man3/EVP_sm3.html #usr/share/doc/openssl/html/man3/EVP_sm4_cbc.html #usr/share/doc/openssl/html/man3/EVP_whirlpool.html +#usr/share/doc/openssl/html/man3/GENERAL_NAME.html #usr/share/doc/openssl/html/man3/HMAC.html #usr/share/doc/openssl/html/man3/MD5.html #usr/share/doc/openssl/html/man3/MDC2_Init.html @@ -512,11 +517,13 @@ usr/lib/ossl-modules/legacy.so #usr/share/doc/openssl/html/man3/OPENSSL_instrument_bus.html #usr/share/doc/openssl/html/man3/OPENSSL_load_builtin_modules.html #usr/share/doc/openssl/html/man3/OPENSSL_malloc.html +#usr/share/doc/openssl/html/man3/OPENSSL_riscvcap.html #usr/share/doc/openssl/html/man3/OPENSSL_s390xcap.html #usr/share/doc/openssl/html/man3/OPENSSL_secure_malloc.html #usr/share/doc/openssl/html/man3/OPENSSL_strcasecmp.html #usr/share/doc/openssl/html/man3/OSSL_ALGORITHM.html #usr/share/doc/openssl/html/man3/OSSL_CALLBACK.html +#usr/share/doc/openssl/html/man3/OSSL_CMP_ATAV_set0.html #usr/share/doc/openssl/html/man3/OSSL_CMP_CTX_new.html #usr/share/doc/openssl/html/man3/OSSL_CMP_HDR_get0_transactionID.html #usr/share/doc/openssl/html/man3/OSSL_CMP_ITAV_new_caCerts.html @@ -545,12 +552,17 @@ usr/lib/ossl-modules/legacy.so #usr/share/doc/openssl/html/man3/OSSL_ENCODER_to_bio.html #usr/share/doc/openssl/html/man3/OSSL_ERR_STATE_save.html #usr/share/doc/openssl/html/man3/OSSL_ESS_check_signing_certs.html +#usr/share/doc/openssl/html/man3/OSSL_GENERAL_NAMES_print.html #usr/share/doc/openssl/html/man3/OSSL_HPKE_CTX_new.html #usr/share/doc/openssl/html/man3/OSSL_HTTP_REQ_CTX.html #usr/share/doc/openssl/html/man3/OSSL_HTTP_parse_url.html #usr/share/doc/openssl/html/man3/OSSL_HTTP_transfer.html +#usr/share/doc/openssl/html/man3/OSSL_IETF_ATTR_SYNTAX.html +#usr/share/doc/openssl/html/man3/OSSL_IETF_ATTR_SYNTAX_print.html +#usr/share/doc/openssl/html/man3/OSSL_INDICATOR_set_callback.html #usr/share/doc/openssl/html/man3/OSSL_ITEM.html #usr/share/doc/openssl/html/man3/OSSL_LIB_CTX.html +#usr/share/doc/openssl/html/man3/OSSL_LIB_CTX_set_conf_diagnostics.html #usr/share/doc/openssl/html/man3/OSSL_PARAM.html #usr/share/doc/openssl/html/man3/OSSL_PARAM_BLD.html #usr/share/doc/openssl/html/man3/OSSL_PARAM_allocate_from_text.html @@ -572,6 +584,7 @@ usr/lib/ossl-modules/legacy.so #usr/share/doc/openssl/html/man3/OSSL_trace_set_channel.html #usr/share/doc/openssl/html/man3/OpenSSL_add_all_algorithms.html #usr/share/doc/openssl/html/man3/OpenSSL_version.html +#usr/share/doc/openssl/html/man3/PBMAC1_get1_pbkdf2_param.html #usr/share/doc/openssl/html/man3/PEM_X509_INFO_read_bio_ex.html #usr/share/doc/openssl/html/man3/PEM_bytes_read_bio.html #usr/share/doc/openssl/html/man3/PEM_read.html @@ -749,6 +762,7 @@ usr/lib/ossl-modules/legacy.so #usr/share/doc/openssl/html/man3/SSL_get0_group_name.html #usr/share/doc/openssl/html/man3/SSL_get0_peer_rpk.html #usr/share/doc/openssl/html/man3/SSL_get0_peer_scts.html +#usr/share/doc/openssl/html/man3/SSL_get1_builtin_sigalgs.html #usr/share/doc/openssl/html/man3/SSL_get_SSL_CTX.html #usr/share/doc/openssl/html/man3/SSL_get_all_async_fds.html #usr/share/doc/openssl/html/man3/SSL_get_certificate.html @@ -813,13 +827,18 @@ usr/lib/ossl-modules/legacy.so #usr/share/doc/openssl/html/man3/SSL_want.html #usr/share/doc/openssl/html/man3/SSL_write.html #usr/share/doc/openssl/html/man3/TS_RESP_CTX_new.html -#usr/share/doc/openssl/html/man3/TS_VERIFY_CTX_set_certs.html +#usr/share/doc/openssl/html/man3/TS_VERIFY_CTX.html #usr/share/doc/openssl/html/man3/UI_STRING.html #usr/share/doc/openssl/html/man3/UI_UTIL_read_pw.html #usr/share/doc/openssl/html/man3/UI_create_method.html #usr/share/doc/openssl/html/man3/UI_new.html #usr/share/doc/openssl/html/man3/X509V3_get_d2i.html #usr/share/doc/openssl/html/man3/X509V3_set_ctx.html +#usr/share/doc/openssl/html/man3/X509_ACERT_add1_attr.html +#usr/share/doc/openssl/html/man3/X509_ACERT_add_attr_nconf.html +#usr/share/doc/openssl/html/man3/X509_ACERT_get0_holder_baseCertId.html +#usr/share/doc/openssl/html/man3/X509_ACERT_get_attr.html +#usr/share/doc/openssl/html/man3/X509_ACERT_print_ex.html #usr/share/doc/openssl/html/man3/X509_ALGOR_dup.html #usr/share/doc/openssl/html/man3/X509_ATTRIBUTE.html #usr/share/doc/openssl/html/man3/X509_CRL_get0_by_serial.html @@ -957,9 +976,11 @@ usr/lib/ossl-modules/legacy.so #usr/share/doc/openssl/html/man7/EVP_PKEY-RSA.html #usr/share/doc/openssl/html/man7/EVP_PKEY-SM2.html #usr/share/doc/openssl/html/man7/EVP_PKEY-X25519.html +#usr/share/doc/openssl/html/man7/EVP_RAND-CRNG-TEST.html #usr/share/doc/openssl/html/man7/EVP_RAND-CTR-DRBG.html #usr/share/doc/openssl/html/man7/EVP_RAND-HASH-DRBG.html #usr/share/doc/openssl/html/man7/EVP_RAND-HMAC-DRBG.html +#usr/share/doc/openssl/html/man7/EVP_RAND-JITTER.html #usr/share/doc/openssl/html/man7/EVP_RAND-SEED-SRC.html #usr/share/doc/openssl/html/man7/EVP_RAND-TEST-RAND.html #usr/share/doc/openssl/html/man7/EVP_RAND.html @@ -1016,6 +1037,7 @@ usr/lib/ossl-modules/legacy.so #usr/share/doc/openssl/html/man7/ossl-guide-tls-client-block.html #usr/share/doc/openssl/html/man7/ossl-guide-tls-client-non-block.html #usr/share/doc/openssl/html/man7/ossl-guide-tls-introduction.html +#usr/share/doc/openssl/html/man7/ossl-guide-tls-server-block.html #usr/share/doc/openssl/html/man7/ossl_store-file.html #usr/share/doc/openssl/html/man7/ossl_store.html #usr/share/doc/openssl/html/man7/passphrase-encoding.html @@ -1753,6 +1775,16 @@ usr/lib/ossl-modules/legacy.so #usr/share/man/man3/BUF_reverse.3ossl #usr/share/man/man3/CERTIFICATEPOLICIES_free.3ossl #usr/share/man/man3/CERTIFICATEPOLICIES_new.3ossl +#usr/share/man/man3/CMAC_CTX.3ossl +#usr/share/man/man3/CMAC_CTX_cleanup.3ossl +#usr/share/man/man3/CMAC_CTX_copy.3ossl +#usr/share/man/man3/CMAC_CTX_free.3ossl +#usr/share/man/man3/CMAC_CTX_get0_cipher_ctx.3ossl +#usr/share/man/man3/CMAC_CTX_new.3ossl +#usr/share/man/man3/CMAC_Final.3ossl +#usr/share/man/man3/CMAC_Init.3ossl +#usr/share/man/man3/CMAC_Update.3ossl +#usr/share/man/man3/CMAC_resume.3ossl #usr/share/man/man3/CMS_AuthEnvelopedData_create.3ossl #usr/share/man/man3/CMS_AuthEnvelopedData_create_ex.3ossl #usr/share/man/man3/CMS_ContentInfo_free.3ossl @@ -1880,11 +1912,15 @@ usr/lib/ossl-modules/legacy.so #usr/share/man/man3/CRYPTO_THREAD_run_once.3ossl #usr/share/man/man3/CRYPTO_THREAD_unlock.3ossl #usr/share/man/man3/CRYPTO_THREAD_write_lock.3ossl +#usr/share/man/man3/CRYPTO_aligned_alloc.3ossl #usr/share/man/man3/CRYPTO_alloc_ex_data.3ossl #usr/share/man/man3/CRYPTO_atomic_add.3ossl +#usr/share/man/man3/CRYPTO_atomic_add64.3ossl +#usr/share/man/man3/CRYPTO_atomic_and.3ossl #usr/share/man/man3/CRYPTO_atomic_load.3ossl #usr/share/man/man3/CRYPTO_atomic_load_int.3ossl #usr/share/man/man3/CRYPTO_atomic_or.3ossl +#usr/share/man/man3/CRYPTO_atomic_store.3ossl #usr/share/man/man3/CRYPTO_clear_free.3ossl #usr/share/man/man3/CRYPTO_clear_realloc.3ossl #usr/share/man/man3/CRYPTO_free.3ossl @@ -2054,6 +2090,7 @@ usr/lib/ossl-modules/legacy.so #usr/share/man/man3/DIRECTORYSTRING_new.3ossl #usr/share/man/man3/DISPLAYTEXT_free.3ossl #usr/share/man/man3/DISPLAYTEXT_new.3ossl +#usr/share/man/man3/DIST_POINT_NAME_dup.3ossl #usr/share/man/man3/DIST_POINT_NAME_free.3ossl #usr/share/man/man3/DIST_POINT_NAME_new.3ossl #usr/share/man/man3/DIST_POINT_free.3ossl @@ -2484,6 +2521,8 @@ usr/lib/ossl-modules/legacy.so #usr/share/man/man3/EVP_CIPHER_CTX_get0_cipher.3ossl #usr/share/man/man3/EVP_CIPHER_CTX_get0_name.3ossl #usr/share/man/man3/EVP_CIPHER_CTX_get1_cipher.3ossl +#usr/share/man/man3/EVP_CIPHER_CTX_get_algor.3ossl +#usr/share/man/man3/EVP_CIPHER_CTX_get_algor_params.3ossl #usr/share/man/man3/EVP_CIPHER_CTX_get_app_data.3ossl #usr/share/man/man3/EVP_CIPHER_CTX_get_block_size.3ossl #usr/share/man/man3/EVP_CIPHER_CTX_get_cipher_data.3ossl @@ -2509,6 +2548,7 @@ usr/lib/ossl-modules/legacy.so #usr/share/man/man3/EVP_CIPHER_CTX_num.3ossl #usr/share/man/man3/EVP_CIPHER_CTX_original_iv.3ossl #usr/share/man/man3/EVP_CIPHER_CTX_reset.3ossl +#usr/share/man/man3/EVP_CIPHER_CTX_set_algor_params.3ossl #usr/share/man/man3/EVP_CIPHER_CTX_set_app_data.3ossl #usr/share/man/man3/EVP_CIPHER_CTX_set_cipher_data.3ossl #usr/share/man/man3/EVP_CIPHER_CTX_set_flags.3ossl @@ -2671,6 +2711,7 @@ usr/lib/ossl-modules/legacy.so #usr/share/man/man3/EVP_KEYMGMT_do_all_provided.3ossl #usr/share/man/man3/EVP_KEYMGMT_fetch.3ossl #usr/share/man/man3/EVP_KEYMGMT_free.3ossl +#usr/share/man/man3/EVP_KEYMGMT_gen_gettable_params.3ossl #usr/share/man/man3/EVP_KEYMGMT_gen_settable_params.3ossl #usr/share/man/man3/EVP_KEYMGMT_get0_description.3ossl #usr/share/man/man3/EVP_KEYMGMT_get0_name.3ossl @@ -2724,6 +2765,7 @@ usr/lib/ossl-modules/legacy.so #usr/share/man/man3/EVP_MD_CTX_get_params.3ossl #usr/share/man/man3/EVP_MD_CTX_get_pkey_ctx.3ossl #usr/share/man/man3/EVP_MD_CTX_get_size.3ossl +#usr/share/man/man3/EVP_MD_CTX_get_size_ex.3ossl #usr/share/man/man3/EVP_MD_CTX_get_type.3ossl #usr/share/man/man3/EVP_MD_CTX_gettable_params.3ossl #usr/share/man/man3/EVP_MD_CTX_md.3ossl @@ -2788,6 +2830,7 @@ usr/lib/ossl-modules/legacy.so #usr/share/man/man3/EVP_MD_size.3ossl #usr/share/man/man3/EVP_MD_type.3ossl #usr/share/man/man3/EVP_MD_up_ref.3ossl +#usr/share/man/man3/EVP_MD_xof.3ossl #usr/share/man/man3/EVP_OpenFinal.3ossl #usr/share/man/man3/EVP_OpenInit.3ossl #usr/share/man/man3/EVP_OpenUpdate.3ossl @@ -2822,6 +2865,8 @@ usr/lib/ossl-modules/legacy.so #usr/share/man/man3/EVP_PKEY_CTX_get0_rsa_oaep_label.3ossl #usr/share/man/man3/EVP_PKEY_CTX_get1_id.3ossl #usr/share/man/man3/EVP_PKEY_CTX_get1_id_len.3ossl +#usr/share/man/man3/EVP_PKEY_CTX_get_algor.3ossl +#usr/share/man/man3/EVP_PKEY_CTX_get_algor_params.3ossl #usr/share/man/man3/EVP_PKEY_CTX_get_app_data.3ossl #usr/share/man/man3/EVP_PKEY_CTX_get_cb.3ossl #usr/share/man/man3/EVP_PKEY_CTX_get_dh_kdf_md.3ossl @@ -2859,6 +2904,7 @@ usr/lib/ossl-modules/legacy.so #usr/share/man/man3/EVP_PKEY_CTX_set1_rsa_keygen_pubexp.3ossl #usr/share/man/man3/EVP_PKEY_CTX_set1_scrypt_salt.3ossl #usr/share/man/man3/EVP_PKEY_CTX_set1_tls1_prf_secret.3ossl +#usr/share/man/man3/EVP_PKEY_CTX_set_algor_params.3ossl #usr/share/man/man3/EVP_PKEY_CTX_set_app_data.3ossl #usr/share/man/man3/EVP_PKEY_CTX_set_cb.3ossl #usr/share/man/man3/EVP_PKEY_CTX_set_dh_kdf_md.3ossl @@ -2911,6 +2957,7 @@ usr/lib/ossl-modules/legacy.so #usr/share/man/man3/EVP_PKEY_CTX_set_scrypt_maxmem_bytes.3ossl #usr/share/man/man3/EVP_PKEY_CTX_set_scrypt_p.3ossl #usr/share/man/man3/EVP_PKEY_CTX_set_scrypt_r.3ossl +#usr/share/man/man3/EVP_PKEY_CTX_set_signature.3ossl #usr/share/man/man3/EVP_PKEY_CTX_set_signature_md.3ossl #usr/share/man/man3/EVP_PKEY_CTX_set_tls1_prf_md.3ossl #usr/share/man/man3/EVP_PKEY_CTX_settable_params.3ossl @@ -3128,6 +3175,10 @@ usr/lib/ossl-modules/legacy.so #usr/share/man/man3/EVP_PKEY_sign.3ossl #usr/share/man/man3/EVP_PKEY_sign_init.3ossl #usr/share/man/man3/EVP_PKEY_sign_init_ex.3ossl +#usr/share/man/man3/EVP_PKEY_sign_init_ex2.3ossl +#usr/share/man/man3/EVP_PKEY_sign_message_final.3ossl +#usr/share/man/man3/EVP_PKEY_sign_message_init.3ossl +#usr/share/man/man3/EVP_PKEY_sign_message_update.3ossl #usr/share/man/man3/EVP_PKEY_size.3ossl #usr/share/man/man3/EVP_PKEY_todata.3ossl #usr/share/man/man3/EVP_PKEY_type.3ossl @@ -3136,9 +3187,14 @@ usr/lib/ossl-modules/legacy.so #usr/share/man/man3/EVP_PKEY_verify.3ossl #usr/share/man/man3/EVP_PKEY_verify_init.3ossl #usr/share/man/man3/EVP_PKEY_verify_init_ex.3ossl +#usr/share/man/man3/EVP_PKEY_verify_init_ex2.3ossl +#usr/share/man/man3/EVP_PKEY_verify_message_final.3ossl +#usr/share/man/man3/EVP_PKEY_verify_message_init.3ossl +#usr/share/man/man3/EVP_PKEY_verify_message_update.3ossl #usr/share/man/man3/EVP_PKEY_verify_recover.3ossl #usr/share/man/man3/EVP_PKEY_verify_recover_init.3ossl #usr/share/man/man3/EVP_PKEY_verify_recover_init_ex.3ossl +#usr/share/man/man3/EVP_PKEY_verify_recover_init_ex2.3ossl #usr/share/man/man3/EVP_Q_digest.3ossl #usr/share/man/man3/EVP_Q_mac.3ossl #usr/share/man/man3/EVP_RAND.3ossl @@ -3405,11 +3461,13 @@ usr/lib/ossl-modules/legacy.so #usr/share/man/man3/EXTENDED_KEY_USAGE_free.3ossl #usr/share/man/man3/EXTENDED_KEY_USAGE_new.3ossl #usr/share/man/man3/EXT_UTF8STRING.3ossl +#usr/share/man/man3/GENERAL_NAME.3ossl #usr/share/man/man3/GENERAL_NAMES_free.3ossl #usr/share/man/man3/GENERAL_NAMES_new.3ossl #usr/share/man/man3/GENERAL_NAME_dup.3ossl #usr/share/man/man3/GENERAL_NAME_free.3ossl #usr/share/man/man3/GENERAL_NAME_new.3ossl +#usr/share/man/man3/GENERAL_NAME_set1_X509_NAME.3ossl #usr/share/man/man3/GENERAL_SUBTREE_free.3ossl #usr/share/man/man3/GENERAL_SUBTREE_new.3ossl #usr/share/man/man3/GEN_SESSION_CB.3ossl @@ -3629,6 +3687,7 @@ usr/lib/ossl-modules/legacy.so #usr/share/man/man3/OPENSSL_VERSION_PREREQ.3ossl #usr/share/man/man3/OPENSSL_VERSION_PRE_RELEASE.3ossl #usr/share/man/man3/OPENSSL_VERSION_TEXT.3ossl +#usr/share/man/man3/OPENSSL_aligned_alloc.3ossl #usr/share/man/man3/OPENSSL_atexit.3ossl #usr/share/man/man3/OPENSSL_buf2hexstr.3ossl #usr/share/man/man3/OPENSSL_buf2hexstr_ex.3ossl @@ -3662,6 +3721,7 @@ usr/lib/ossl-modules/legacy.so #usr/share/man/man3/OPENSSL_memdup.3ossl #usr/share/man/man3/OPENSSL_no_config.3ossl #usr/share/man/man3/OPENSSL_realloc.3ossl +#usr/share/man/man3/OPENSSL_riscvcap.3ossl #usr/share/man/man3/OPENSSL_s390xcap.3ossl #usr/share/man/man3/OPENSSL_secure_actual_size.3ossl #usr/share/man/man3/OPENSSL_secure_clear_free.3ossl @@ -3699,6 +3759,7 @@ usr/lib/ossl-modules/legacy.so #usr/share/man/man3/OPENSSL_strlcpy.3ossl #usr/share/man/man3/OPENSSL_strncasecmp.3ossl #usr/share/man/man3/OPENSSL_strndup.3ossl +#usr/share/man/man3/OPENSSL_strtoul.3ossl #usr/share/man/man3/OPENSSL_thread_stop.3ossl #usr/share/man/man3/OPENSSL_thread_stop_ex.3ossl #usr/share/man/man3/OPENSSL_version_build_metadata.3ossl @@ -3708,8 +3769,33 @@ usr/lib/ossl-modules/legacy.so #usr/share/man/man3/OPENSSL_version_pre_release.3ossl #usr/share/man/man3/OPENSSL_zalloc.3ossl #usr/share/man/man3/OSSL_ALGORITHM.3ossl +#usr/share/man/man3/OSSL_ATTRIBUTES_SYNTAX_free.3ossl +#usr/share/man/man3/OSSL_ATTRIBUTES_SYNTAX_it.3ossl +#usr/share/man/man3/OSSL_ATTRIBUTES_SYNTAX_new.3ossl +#usr/share/man/man3/OSSL_BASIC_ATTR_CONSTRAINTS_free.3ossl +#usr/share/man/man3/OSSL_BASIC_ATTR_CONSTRAINTS_it.3ossl +#usr/share/man/man3/OSSL_BASIC_ATTR_CONSTRAINTS_new.3ossl #usr/share/man/man3/OSSL_CALLBACK.3ossl +#usr/share/man/man3/OSSL_CMP_ATAV.3ossl +#usr/share/man/man3/OSSL_CMP_ATAVS.3ossl +#usr/share/man/man3/OSSL_CMP_ATAVS_free.3ossl +#usr/share/man/man3/OSSL_CMP_ATAVS_it.3ossl +#usr/share/man/man3/OSSL_CMP_ATAVS_new.3ossl +#usr/share/man/man3/OSSL_CMP_ATAV_create.3ossl +#usr/share/man/man3/OSSL_CMP_ATAV_free.3ossl +#usr/share/man/man3/OSSL_CMP_ATAV_get0_algId.3ossl +#usr/share/man/man3/OSSL_CMP_ATAV_get0_type.3ossl +#usr/share/man/man3/OSSL_CMP_ATAV_get0_value.3ossl +#usr/share/man/man3/OSSL_CMP_ATAV_get_rsaKeyLen.3ossl +#usr/share/man/man3/OSSL_CMP_ATAV_new_algId.3ossl +#usr/share/man/man3/OSSL_CMP_ATAV_new_rsaKeyLen.3ossl +#usr/share/man/man3/OSSL_CMP_ATAV_push1.3ossl +#usr/share/man/man3/OSSL_CMP_ATAV_set0.3ossl #usr/share/man/man3/OSSL_CMP_CR.3ossl +#usr/share/man/man3/OSSL_CMP_CRLSTATUS_create.3ossl +#usr/share/man/man3/OSSL_CMP_CRLSTATUS_free.3ossl +#usr/share/man/man3/OSSL_CMP_CRLSTATUS_get0.3ossl +#usr/share/man/man3/OSSL_CMP_CRLSTATUS_new1.3ossl #usr/share/man/man3/OSSL_CMP_CTX_build_cert_chain.3ossl #usr/share/man/man3/OSSL_CMP_CTX_free.3ossl #usr/share/man/man3/OSSL_CMP_CTX_get0_geninfo_ITAVs.3ossl @@ -3786,12 +3872,18 @@ usr/lib/ossl-modules/legacy.so #usr/share/man/man3/OSSL_CMP_ITAV_free.3ossl #usr/share/man/man3/OSSL_CMP_ITAV_get0_caCerts.3ossl #usr/share/man/man3/OSSL_CMP_ITAV_get0_certProfile.3ossl +#usr/share/man/man3/OSSL_CMP_ITAV_get0_crlStatusList.3ossl +#usr/share/man/man3/OSSL_CMP_ITAV_get0_crls.3ossl #usr/share/man/man3/OSSL_CMP_ITAV_get0_rootCaCert.3ossl #usr/share/man/man3/OSSL_CMP_ITAV_get0_rootCaKeyUpdate.3ossl #usr/share/man/man3/OSSL_CMP_ITAV_get0_type.3ossl #usr/share/man/man3/OSSL_CMP_ITAV_get0_value.3ossl +#usr/share/man/man3/OSSL_CMP_ITAV_get1_certReqTemplate.3ossl #usr/share/man/man3/OSSL_CMP_ITAV_new0_certProfile.3ossl +#usr/share/man/man3/OSSL_CMP_ITAV_new0_certReqTemplate.3ossl +#usr/share/man/man3/OSSL_CMP_ITAV_new0_crlStatusList.3ossl #usr/share/man/man3/OSSL_CMP_ITAV_new_caCerts.3ossl +#usr/share/man/man3/OSSL_CMP_ITAV_new_crls.3ossl #usr/share/man/man3/OSSL_CMP_ITAV_new_rootCaCert.3ossl #usr/share/man/man3/OSSL_CMP_ITAV_new_rootCaKeyUpdate.3ossl #usr/share/man/man3/OSSL_CMP_ITAV_push0_stack_item.3ossl @@ -3856,6 +3948,8 @@ usr/lib/ossl-modules/legacy.so #usr/share/man/man3/OSSL_CMP_exec_RR_ses.3ossl #usr/share/man/man3/OSSL_CMP_exec_certreq.3ossl #usr/share/man/man3/OSSL_CMP_get1_caCerts.3ossl +#usr/share/man/man3/OSSL_CMP_get1_certReqTemplate.3ossl +#usr/share/man/man3/OSSL_CMP_get1_crlUpdate.3ossl #usr/share/man/man3/OSSL_CMP_get1_rootCaKeyUpdate.3ossl #usr/share/man/man3/OSSL_CMP_log_cb_t.3ossl #usr/share/man/man3/OSSL_CMP_log_close.3ossl @@ -3869,6 +3963,8 @@ usr/lib/ossl-modules/legacy.so #usr/share/man/man3/OSSL_CMP_validate_cert_path.3ossl #usr/share/man/man3/OSSL_CMP_validate_msg.3ossl #usr/share/man/man3/OSSL_CORE_MAKE_FUNC.3ossl +#usr/share/man/man3/OSSL_CRMF_ATTRIBUTETYPEANDVALUE_dup.3ossl +#usr/share/man/man3/OSSL_CRMF_ATTRIBUTETYPEANDVALUE_free.3ossl #usr/share/man/man3/OSSL_CRMF_CERTID_dup.3ossl #usr/share/man/man3/OSSL_CRMF_CERTID_free.3ossl #usr/share/man/man3/OSSL_CRMF_CERTID_gen.3ossl @@ -3876,6 +3972,7 @@ usr/lib/ossl-modules/legacy.so #usr/share/man/man3/OSSL_CRMF_CERTID_get0_serialNumber.3ossl #usr/share/man/man3/OSSL_CRMF_CERTID_it.3ossl #usr/share/man/man3/OSSL_CRMF_CERTID_new.3ossl +#usr/share/man/man3/OSSL_CRMF_CERTTEMPLATE_dup.3ossl #usr/share/man/man3/OSSL_CRMF_CERTTEMPLATE_fill.3ossl #usr/share/man/man3/OSSL_CRMF_CERTTEMPLATE_free.3ossl #usr/share/man/man3/OSSL_CRMF_CERTTEMPLATE_get0_extensions.3ossl @@ -4032,6 +4129,7 @@ usr/lib/ossl-modules/legacy.so #usr/share/man/man3/OSSL_ESS_check_signing_certs.3ossl #usr/share/man/man3/OSSL_ESS_signing_cert_new_init.3ossl #usr/share/man/man3/OSSL_ESS_signing_cert_v2_new_init.3ossl +#usr/share/man/man3/OSSL_GENERAL_NAMES_print.3ossl #usr/share/man/man3/OSSL_HPKE_CTX_free.3ossl #usr/share/man/man3/OSSL_HPKE_CTX_get_seq.3ossl #usr/share/man/man3/OSSL_HPKE_CTX_new.3ossl @@ -4077,15 +4175,45 @@ usr/lib/ossl-modules/legacy.so #usr/share/man/man3/OSSL_HTTP_proxy_connect.3ossl #usr/share/man/man3/OSSL_HTTP_set1_request.3ossl #usr/share/man/man3/OSSL_HTTP_transfer.3ossl +#usr/share/man/man3/OSSL_IETF_ATTR_SYNTAX.3ossl +#usr/share/man/man3/OSSL_IETF_ATTR_SYNTAX_VALUE_free.3ossl +#usr/share/man/man3/OSSL_IETF_ATTR_SYNTAX_VALUE_it.3ossl +#usr/share/man/man3/OSSL_IETF_ATTR_SYNTAX_VALUE_new.3ossl +#usr/share/man/man3/OSSL_IETF_ATTR_SYNTAX_add1_value.3ossl +#usr/share/man/man3/OSSL_IETF_ATTR_SYNTAX_free.3ossl +#usr/share/man/man3/OSSL_IETF_ATTR_SYNTAX_get0_policyAuthority.3ossl +#usr/share/man/man3/OSSL_IETF_ATTR_SYNTAX_get0_value.3ossl +#usr/share/man/man3/OSSL_IETF_ATTR_SYNTAX_get_value_num.3ossl +#usr/share/man/man3/OSSL_IETF_ATTR_SYNTAX_it.3ossl +#usr/share/man/man3/OSSL_IETF_ATTR_SYNTAX_new.3ossl +#usr/share/man/man3/OSSL_IETF_ATTR_SYNTAX_print.3ossl +#usr/share/man/man3/OSSL_IETF_ATTR_SYNTAX_set0_policyAuthority.3ossl +#usr/share/man/man3/OSSL_INDICATOR_get_callback.3ossl +#usr/share/man/man3/OSSL_INDICATOR_set_callback.3ossl +#usr/share/man/man3/OSSL_ISSUER_SERIAL_free.3ossl +#usr/share/man/man3/OSSL_ISSUER_SERIAL_get0_issuer.3ossl +#usr/share/man/man3/OSSL_ISSUER_SERIAL_get0_issuerUID.3ossl +#usr/share/man/man3/OSSL_ISSUER_SERIAL_get0_serial.3ossl +#usr/share/man/man3/OSSL_ISSUER_SERIAL_new.3ossl +#usr/share/man/man3/OSSL_ISSUER_SERIAL_set1_issuer.3ossl +#usr/share/man/man3/OSSL_ISSUER_SERIAL_set1_issuerUID.3ossl +#usr/share/man/man3/OSSL_ISSUER_SERIAL_set1_serial.3ossl #usr/share/man/man3/OSSL_ITEM.3ossl #usr/share/man/man3/OSSL_LIB_CTX.3ossl #usr/share/man/man3/OSSL_LIB_CTX_free.3ossl #usr/share/man/man3/OSSL_LIB_CTX_get0_global_default.3ossl +#usr/share/man/man3/OSSL_LIB_CTX_get_conf_diagnostics.3ossl +#usr/share/man/man3/OSSL_LIB_CTX_get_data.3ossl #usr/share/man/man3/OSSL_LIB_CTX_load_config.3ossl #usr/share/man/man3/OSSL_LIB_CTX_new.3ossl #usr/share/man/man3/OSSL_LIB_CTX_new_child.3ossl #usr/share/man/man3/OSSL_LIB_CTX_new_from_dispatch.3ossl #usr/share/man/man3/OSSL_LIB_CTX_set0_default.3ossl +#usr/share/man/man3/OSSL_LIB_CTX_set_conf_diagnostics.3ossl +#usr/share/man/man3/OSSL_OBJECT_DIGEST_INFO_free.3ossl +#usr/share/man/man3/OSSL_OBJECT_DIGEST_INFO_get0_digest.3ossl +#usr/share/man/man3/OSSL_OBJECT_DIGEST_INFO_new.3ossl +#usr/share/man/man3/OSSL_OBJECT_DIGEST_INFO_set1_digest.3ossl #usr/share/man/man3/OSSL_PARAM.3ossl #usr/share/man/man3/OSSL_PARAM_BLD.3ossl #usr/share/man/man3/OSSL_PARAM_BLD_free.3ossl @@ -4327,6 +4455,18 @@ usr/lib/ossl-modules/legacy.so #usr/share/man/man3/OSSL_STORE_register_loader.3ossl #usr/share/man/man3/OSSL_STORE_supports_search.3ossl #usr/share/man/man3/OSSL_STORE_unregister_loader.3ossl +#usr/share/man/man3/OSSL_TARGETING_INFORMATION_free.3ossl +#usr/share/man/man3/OSSL_TARGETING_INFORMATION_it.3ossl +#usr/share/man/man3/OSSL_TARGETING_INFORMATION_new.3ossl +#usr/share/man/man3/OSSL_TARGETS_free.3ossl +#usr/share/man/man3/OSSL_TARGETS_it.3ossl +#usr/share/man/man3/OSSL_TARGETS_new.3ossl +#usr/share/man/man3/OSSL_TARGET_CERT_free.3ossl +#usr/share/man/man3/OSSL_TARGET_CERT_it.3ossl +#usr/share/man/man3/OSSL_TARGET_CERT_new.3ossl +#usr/share/man/man3/OSSL_TARGET_free.3ossl +#usr/share/man/man3/OSSL_TARGET_it.3ossl +#usr/share/man/man3/OSSL_TARGET_new.3ossl #usr/share/man/man3/OSSL_THREAD_SUPPORT_FLAG_DEFAULT_SPAWN.3ossl #usr/share/man/man3/OSSL_THREAD_SUPPORT_FLAG_THREAD_POOL.3ossl #usr/share/man/man3/OSSL_TRACE.3ossl @@ -4346,6 +4486,9 @@ usr/lib/ossl-modules/legacy.so #usr/share/man/man3/OSSL_TRACE_END.3ossl #usr/share/man/man3/OSSL_TRACE_STRING.3ossl #usr/share/man/man3/OSSL_TRACE_STRING_MAX.3ossl +#usr/share/man/man3/OSSL_USER_NOTICE_SYNTAX_free.3ossl +#usr/share/man/man3/OSSL_USER_NOTICE_SYNTAX_it.3ossl +#usr/share/man/man3/OSSL_USER_NOTICE_SYNTAX_new.3ossl #usr/share/man/man3/OSSL_default_cipher_list.3ossl #usr/share/man/man3/OSSL_default_ciphersuites.3ossl #usr/share/man/man3/OSSL_get_max_threads.3ossl @@ -4378,6 +4521,10 @@ usr/lib/ossl-modules/legacy.so #usr/share/man/man3/PBEPARAM_new.3ossl #usr/share/man/man3/PBKDF2PARAM_free.3ossl #usr/share/man/man3/PBKDF2PARAM_new.3ossl +#usr/share/man/man3/PBMAC1PARAM_free.3ossl +#usr/share/man/man3/PBMAC1PARAM_it.3ossl +#usr/share/man/man3/PBMAC1PARAM_new.3ossl +#usr/share/man/man3/PBMAC1_get1_pbkdf2_param.3ossl #usr/share/man/man3/PEM_FLAG_EAY_COMPATIBLE.3ossl #usr/share/man/man3/PEM_FLAG_ONLY_B64.3ossl #usr/share/man/man3/PEM_FLAG_SECURE.3ossl @@ -4411,6 +4558,7 @@ usr/lib/ossl-modules/legacy.so #usr/share/man/man3/PEM_read_RSA_PUBKEY.3ossl #usr/share/man/man3/PEM_read_SSL_SESSION.3ossl #usr/share/man/man3/PEM_read_X509.3ossl +#usr/share/man/man3/PEM_read_X509_ACERT.3ossl #usr/share/man/man3/PEM_read_X509_AUX.3ossl #usr/share/man/man3/PEM_read_X509_CRL.3ossl #usr/share/man/man3/PEM_read_X509_PUBKEY.3ossl @@ -4438,6 +4586,7 @@ usr/lib/ossl-modules/legacy.so #usr/share/man/man3/PEM_read_bio_RSA_PUBKEY.3ossl #usr/share/man/man3/PEM_read_bio_SSL_SESSION.3ossl #usr/share/man/man3/PEM_read_bio_X509.3ossl +#usr/share/man/man3/PEM_read_bio_X509_ACERT.3ossl #usr/share/man/man3/PEM_read_bio_X509_AUX.3ossl #usr/share/man/man3/PEM_read_bio_X509_CRL.3ossl #usr/share/man/man3/PEM_read_bio_X509_PUBKEY.3ossl @@ -4468,6 +4617,7 @@ usr/lib/ossl-modules/legacy.so #usr/share/man/man3/PEM_write_RSA_PUBKEY.3ossl #usr/share/man/man3/PEM_write_SSL_SESSION.3ossl #usr/share/man/man3/PEM_write_X509.3ossl +#usr/share/man/man3/PEM_write_X509_ACERT.3ossl #usr/share/man/man3/PEM_write_X509_AUX.3ossl #usr/share/man/man3/PEM_write_X509_CRL.3ossl #usr/share/man/man3/PEM_write_X509_PUBKEY.3ossl @@ -4502,6 +4652,7 @@ usr/lib/ossl-modules/legacy.so #usr/share/man/man3/PEM_write_bio_RSA_PUBKEY.3ossl #usr/share/man/man3/PEM_write_bio_SSL_SESSION.3ossl #usr/share/man/man3/PEM_write_bio_X509.3ossl +#usr/share/man/man3/PEM_write_bio_X509_ACERT.3ossl #usr/share/man/man3/PEM_write_bio_X509_AUX.3ossl #usr/share/man/man3/PEM_write_bio_X509_CRL.3ossl #usr/share/man/man3/PEM_write_bio_X509_PUBKEY.3ossl @@ -4560,6 +4711,7 @@ usr/lib/ossl-modules/legacy.so #usr/share/man/man3/PKCS12_decrypt_skey_ex.3ossl #usr/share/man/man3/PKCS12_free.3ossl #usr/share/man/man3/PKCS12_gen_mac.3ossl +#usr/share/man/man3/PKCS12_get0_mac.3ossl #usr/share/man/man3/PKCS12_get_attr_gen.3ossl #usr/share/man/man3/PKCS12_get_friendlyname.3ossl #usr/share/man/man3/PKCS12_init.3ossl @@ -4582,6 +4734,7 @@ usr/lib/ossl-modules/legacy.so #usr/share/man/man3/PKCS12_pbe_crypt.3ossl #usr/share/man/man3/PKCS12_pbe_crypt_ex.3ossl #usr/share/man/man3/PKCS12_set_mac.3ossl +#usr/share/man/man3/PKCS12_set_pbmac1_pbkdf2.3ossl #usr/share/man/man3/PKCS12_setup_mac.3ossl #usr/share/man/man3/PKCS12_verify_mac.3ossl #usr/share/man/man3/PKCS5_PBE_keyivgen.3ossl @@ -4972,6 +5125,7 @@ usr/lib/ossl-modules/legacy.so #usr/share/man/man3/SSL_CTX_disable_ct.3ossl #usr/share/man/man3/SSL_CTX_enable_ct.3ossl #usr/share/man/man3/SSL_CTX_flush_sessions.3ossl +#usr/share/man/man3/SSL_CTX_flush_sessions_ex.3ossl #usr/share/man/man3/SSL_CTX_free.3ossl #usr/share/man/man3/SSL_CTX_generate_session_ticket_fn.3ossl #usr/share/man/man3/SSL_CTX_get0_CA_list.3ossl @@ -5080,6 +5234,7 @@ usr/lib/ossl-modules/legacy.so #usr/share/man/man3/SSL_CTX_set_async_callback.3ossl #usr/share/man/man3/SSL_CTX_set_async_callback_arg.3ossl #usr/share/man/man3/SSL_CTX_set_block_padding.3ossl +#usr/share/man/man3/SSL_CTX_set_block_padding_ex.3ossl #usr/share/man/man3/SSL_CTX_set_cert_cb.3ossl #usr/share/man/man3/SSL_CTX_set_cert_store.3ossl #usr/share/man/man3/SSL_CTX_set_cert_verify_callback.3ossl @@ -5365,6 +5520,7 @@ usr/lib/ossl-modules/legacy.so #usr/share/man/man3/SSL_get0_session.3ossl #usr/share/man/man3/SSL_get0_verified_chain.3ossl #usr/share/man/man3/SSL_get0_verify_cert_store.3ossl +#usr/share/man/man3/SSL_get1_builtin_sigalgs.3ossl #usr/share/man/man3/SSL_get1_compressed_cert.3ossl #usr/share/man/man3/SSL_get1_curves.3ossl #usr/share/man/man3/SSL_get1_groups.3ossl @@ -5566,6 +5722,7 @@ usr/lib/ossl-modules/legacy.so #usr/share/man/man3/SSL_set_async_callback_arg.3ossl #usr/share/man/man3/SSL_set_bio.3ossl #usr/share/man/man3/SSL_set_block_padding.3ossl +#usr/share/man/man3/SSL_set_block_padding_ex.3ossl #usr/share/man/man3/SSL_set_blocking_mode.3ossl #usr/share/man/man3/SSL_set_cert_cb.3ossl #usr/share/man/man3/SSL_set_cipher_list.3ossl @@ -5723,7 +5880,21 @@ usr/lib/ossl-modules/legacy.so #usr/share/man/man3/TS_TST_INFO_free.3ossl #usr/share/man/man3/TS_TST_INFO_new.3ossl #usr/share/man/man3/TS_VERIFY_CTS_set_certs.3ossl +#usr/share/man/man3/TS_VERIFY_CTX.3ossl +#usr/share/man/man3/TS_VERIFY_CTX_add_flags.3ossl +#usr/share/man/man3/TS_VERIFY_CTX_cleanup.3ossl +#usr/share/man/man3/TS_VERIFY_CTX_free.3ossl +#usr/share/man/man3/TS_VERIFY_CTX_init.3ossl +#usr/share/man/man3/TS_VERIFY_CTX_new.3ossl +#usr/share/man/man3/TS_VERIFY_CTX_set0_certs.3ossl +#usr/share/man/man3/TS_VERIFY_CTX_set0_data.3ossl +#usr/share/man/man3/TS_VERIFY_CTX_set0_imprint.3ossl +#usr/share/man/man3/TS_VERIFY_CTX_set0_store.3ossl #usr/share/man/man3/TS_VERIFY_CTX_set_certs.3ossl +#usr/share/man/man3/TS_VERIFY_CTX_set_data.3ossl +#usr/share/man/man3/TS_VERIFY_CTX_set_flags.3ossl +#usr/share/man/man3/TS_VERIFY_CTX_set_imprint.3ossl +#usr/share/man/man3/TS_VERIFY_CTX_set_store.3ossl #usr/share/man/man3/UI.3ossl #usr/share/man/man3/UI_METHOD.3ossl #usr/share/man/man3/UI_OpenSSL.3ossl @@ -5801,6 +5972,53 @@ usr/lib/ossl-modules/legacy.so #usr/share/man/man3/X509V3_get_d2i.3ossl #usr/share/man/man3/X509V3_set_ctx.3ossl #usr/share/man/man3/X509V3_set_issuer_pkey.3ossl +#usr/share/man/man3/X509_ACERT_INFO_free.3ossl +#usr/share/man/man3/X509_ACERT_INFO_it.3ossl +#usr/share/man/man3/X509_ACERT_INFO_new.3ossl +#usr/share/man/man3/X509_ACERT_ISSUER_V2FORM_free.3ossl +#usr/share/man/man3/X509_ACERT_ISSUER_V2FORM_new.3ossl +#usr/share/man/man3/X509_ACERT_add1_attr.3ossl +#usr/share/man/man3/X509_ACERT_add1_attr_by_NID.3ossl +#usr/share/man/man3/X509_ACERT_add1_attr_by_OBJ.3ossl +#usr/share/man/man3/X509_ACERT_add1_attr_by_txt.3ossl +#usr/share/man/man3/X509_ACERT_add1_ext_i2d.3ossl +#usr/share/man/man3/X509_ACERT_add_attr_nconf.3ossl +#usr/share/man/man3/X509_ACERT_delete_attr.3ossl +#usr/share/man/man3/X509_ACERT_dup.3ossl +#usr/share/man/man3/X509_ACERT_free.3ossl +#usr/share/man/man3/X509_ACERT_get0_extensions.3ossl +#usr/share/man/man3/X509_ACERT_get0_holder_baseCertId.3ossl +#usr/share/man/man3/X509_ACERT_get0_holder_digest.3ossl +#usr/share/man/man3/X509_ACERT_get0_holder_entityName.3ossl +#usr/share/man/man3/X509_ACERT_get0_info_sigalg.3ossl +#usr/share/man/man3/X509_ACERT_get0_issuerName.3ossl +#usr/share/man/man3/X509_ACERT_get0_issuerUID.3ossl +#usr/share/man/man3/X509_ACERT_get0_notAfter.3ossl +#usr/share/man/man3/X509_ACERT_get0_notBefore.3ossl +#usr/share/man/man3/X509_ACERT_get0_serialNumber.3ossl +#usr/share/man/man3/X509_ACERT_get0_signature.3ossl +#usr/share/man/man3/X509_ACERT_get_attr.3ossl +#usr/share/man/man3/X509_ACERT_get_attr_by_NID.3ossl +#usr/share/man/man3/X509_ACERT_get_attr_by_OBJ.3ossl +#usr/share/man/man3/X509_ACERT_get_attr_count.3ossl +#usr/share/man/man3/X509_ACERT_get_ext_d2i.3ossl +#usr/share/man/man3/X509_ACERT_get_signature_nid.3ossl +#usr/share/man/man3/X509_ACERT_get_version.3ossl +#usr/share/man/man3/X509_ACERT_it.3ossl +#usr/share/man/man3/X509_ACERT_new.3ossl +#usr/share/man/man3/X509_ACERT_print.3ossl +#usr/share/man/man3/X509_ACERT_print_ex.3ossl +#usr/share/man/man3/X509_ACERT_set0_holder_baseCertId.3ossl +#usr/share/man/man3/X509_ACERT_set0_holder_digest.3ossl +#usr/share/man/man3/X509_ACERT_set0_holder_entityName.3ossl +#usr/share/man/man3/X509_ACERT_set1_issuerName.3ossl +#usr/share/man/man3/X509_ACERT_set1_notAfter.3ossl +#usr/share/man/man3/X509_ACERT_set1_notBefore.3ossl +#usr/share/man/man3/X509_ACERT_set1_serialNumber.3ossl +#usr/share/man/man3/X509_ACERT_set_version.3ossl +#usr/share/man/man3/X509_ACERT_sign.3ossl +#usr/share/man/man3/X509_ACERT_sign_ctx.3ossl +#usr/share/man/man3/X509_ACERT_verify.3ossl #usr/share/man/man3/X509_ALGOR_cmp.3ossl #usr/share/man/man3/X509_ALGOR_copy.3ossl #usr/share/man/man3/X509_ALGOR_dup.3ossl @@ -6299,6 +6517,7 @@ usr/lib/ossl-modules/legacy.so #usr/share/man/man3/X509at_get_attr_by_OBJ.3ossl #usr/share/man/man3/X509at_get_attr_count.3ossl #usr/share/man/man3/X509v3_add_ext.3ossl +#usr/share/man/man3/X509v3_add_extensions.3ossl #usr/share/man/man3/X509v3_delete_ext.3ossl #usr/share/man/man3/X509v3_get_ext.3ossl #usr/share/man/man3/X509v3_get_ext_by_NID.3ossl @@ -6412,6 +6631,9 @@ usr/lib/ossl-modules/legacy.so #usr/share/man/man3/d2i_OCSP_SERVICELOC.3ossl #usr/share/man/man3/d2i_OCSP_SIGNATURE.3ossl #usr/share/man/man3/d2i_OCSP_SINGLERESP.3ossl +#usr/share/man/man3/d2i_OSSL_ATTRIBUTES_SYNTAX.3ossl +#usr/share/man/man3/d2i_OSSL_BASIC_ATTR_CONSTRAINTS.3ossl +#usr/share/man/man3/d2i_OSSL_CMP_ATAVS.3ossl #usr/share/man/man3/d2i_OSSL_CMP_MSG.3ossl #usr/share/man/man3/d2i_OSSL_CMP_MSG_bio.3ossl #usr/share/man/man3/d2i_OSSL_CMP_PKIHEADER.3ossl @@ -6424,10 +6646,19 @@ usr/lib/ossl-modules/legacy.so #usr/share/man/man3/d2i_OSSL_CRMF_PBMPARAMETER.3ossl #usr/share/man/man3/d2i_OSSL_CRMF_PKIPUBLICATIONINFO.3ossl #usr/share/man/man3/d2i_OSSL_CRMF_SINGLEPUBINFO.3ossl +#usr/share/man/man3/d2i_OSSL_IETF_ATTR_SYNTAX.3ossl +#usr/share/man/man3/d2i_OSSL_ISSUER_SERIAL.3ossl +#usr/share/man/man3/d2i_OSSL_OBJECT_DIGEST_INFO.3ossl +#usr/share/man/man3/d2i_OSSL_TARGET.3ossl +#usr/share/man/man3/d2i_OSSL_TARGETING_INFORMATION.3ossl +#usr/share/man/man3/d2i_OSSL_TARGETS.3ossl +#usr/share/man/man3/d2i_OSSL_TARGET_CERT.3ossl +#usr/share/man/man3/d2i_OSSL_USER_NOTICE_SYNTAX.3ossl #usr/share/man/man3/d2i_OTHERNAME.3ossl #usr/share/man/man3/d2i_PBE2PARAM.3ossl #usr/share/man/man3/d2i_PBEPARAM.3ossl #usr/share/man/man3/d2i_PBKDF2PARAM.3ossl +#usr/share/man/man3/d2i_PBMAC1PARAM.3ossl #usr/share/man/man3/d2i_PKCS12.3ossl #usr/share/man/man3/d2i_PKCS12_BAGS.3ossl #usr/share/man/man3/d2i_PKCS12_MAC_DATA.3ossl @@ -6505,6 +6736,9 @@ usr/lib/ossl-modules/legacy.so #usr/share/man/man3/d2i_TS_TST_INFO_fp.3ossl #usr/share/man/man3/d2i_USERNOTICE.3ossl #usr/share/man/man3/d2i_X509.3ossl +#usr/share/man/man3/d2i_X509_ACERT.3ossl +#usr/share/man/man3/d2i_X509_ACERT_bio.3ossl +#usr/share/man/man3/d2i_X509_ACERT_fp.3ossl #usr/share/man/man3/d2i_X509_ALGOR.3ossl #usr/share/man/man3/d2i_X509_ALGORS.3ossl #usr/share/man/man3/d2i_X509_ATTRIBUTE.3ossl @@ -6634,6 +6868,9 @@ usr/lib/ossl-modules/legacy.so #usr/share/man/man3/i2d_OCSP_SERVICELOC.3ossl #usr/share/man/man3/i2d_OCSP_SIGNATURE.3ossl #usr/share/man/man3/i2d_OCSP_SINGLERESP.3ossl +#usr/share/man/man3/i2d_OSSL_ATTRIBUTES_SYNTAX.3ossl +#usr/share/man/man3/i2d_OSSL_BASIC_ATTR_CONSTRAINTS.3ossl +#usr/share/man/man3/i2d_OSSL_CMP_ATAVS.3ossl #usr/share/man/man3/i2d_OSSL_CMP_MSG.3ossl #usr/share/man/man3/i2d_OSSL_CMP_MSG_bio.3ossl #usr/share/man/man3/i2d_OSSL_CMP_PKIHEADER.3ossl @@ -6646,10 +6883,19 @@ usr/lib/ossl-modules/legacy.so #usr/share/man/man3/i2d_OSSL_CRMF_PBMPARAMETER.3ossl #usr/share/man/man3/i2d_OSSL_CRMF_PKIPUBLICATIONINFO.3ossl #usr/share/man/man3/i2d_OSSL_CRMF_SINGLEPUBINFO.3ossl +#usr/share/man/man3/i2d_OSSL_IETF_ATTR_SYNTAX.3ossl +#usr/share/man/man3/i2d_OSSL_ISSUER_SERIAL.3ossl +#usr/share/man/man3/i2d_OSSL_OBJECT_DIGEST_INFO.3ossl +#usr/share/man/man3/i2d_OSSL_TARGET.3ossl +#usr/share/man/man3/i2d_OSSL_TARGETING_INFORMATION.3ossl +#usr/share/man/man3/i2d_OSSL_TARGETS.3ossl +#usr/share/man/man3/i2d_OSSL_TARGET_CERT.3ossl +#usr/share/man/man3/i2d_OSSL_USER_NOTICE_SYNTAX.3ossl #usr/share/man/man3/i2d_OTHERNAME.3ossl #usr/share/man/man3/i2d_PBE2PARAM.3ossl #usr/share/man/man3/i2d_PBEPARAM.3ossl #usr/share/man/man3/i2d_PBKDF2PARAM.3ossl +#usr/share/man/man3/i2d_PBMAC1PARAM.3ossl #usr/share/man/man3/i2d_PKCS12.3ossl #usr/share/man/man3/i2d_PKCS12_BAGS.3ossl #usr/share/man/man3/i2d_PKCS12_MAC_DATA.3ossl @@ -6726,6 +6972,9 @@ usr/lib/ossl-modules/legacy.so #usr/share/man/man3/i2d_TS_TST_INFO_fp.3ossl #usr/share/man/man3/i2d_USERNOTICE.3ossl #usr/share/man/man3/i2d_X509.3ossl +#usr/share/man/man3/i2d_X509_ACERT.3ossl +#usr/share/man/man3/i2d_X509_ACERT_bio.3ossl +#usr/share/man/man3/i2d_X509_ACERT_fp.3ossl #usr/share/man/man3/i2d_X509_ALGOR.3ossl #usr/share/man/man3/i2d_X509_ALGORS.3ossl #usr/share/man/man3/i2d_X509_ATTRIBUTE.3ossl @@ -6911,9 +7160,11 @@ usr/lib/ossl-modules/legacy.so #usr/share/man/man7/EVP_PKEY-Siphash.7ossl #usr/share/man/man7/EVP_PKEY-X25519.7ossl #usr/share/man/man7/EVP_PKEY-X448.7ossl +#usr/share/man/man7/EVP_RAND-CRNG-TEST.7ossl #usr/share/man/man7/EVP_RAND-CTR-DRBG.7ossl #usr/share/man/man7/EVP_RAND-HASH-DRBG.7ossl #usr/share/man/man7/EVP_RAND-HMAC-DRBG.7ossl +#usr/share/man/man7/EVP_RAND-JITTER.7ossl #usr/share/man/man7/EVP_RAND-SEED-SRC.7ossl #usr/share/man/man7/EVP_RAND-TEST-RAND.7ossl #usr/share/man/man7/EVP_RAND.7ossl @@ -6976,6 +7227,7 @@ usr/lib/ossl-modules/legacy.so #usr/share/man/man7/ossl-guide-tls-client-block.7ossl #usr/share/man/man7/ossl-guide-tls-client-non-block.7ossl #usr/share/man/man7/ossl-guide-tls-introduction.7ossl +#usr/share/man/man7/ossl-guide-tls-server-block.7ossl #usr/share/man/man7/ossl_store-file.7ossl #usr/share/man/man7/ossl_store.7ossl #usr/share/man/man7/passphrase-encoding.7ossl diff --git a/lfs/openssl b/lfs/openssl index 22a670118..e14722c0c 100644 --- a/lfs/openssl +++ b/lfs/openssl @@ -24,7 +24,7 @@
include Config
-VER = 3.3.2 +VER = 3.4.0
THISAPP = openssl-$(VER) DL_FILE = $(THISAPP).tar.gz @@ -72,7 +72,7 @@ objects = $(DL_FILE)
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
-$(DL_FILE)_BLAKE2 = cc53d45418673bc2a406d6697b8bd17ff6c726463c4ccc87bb2fa5a6592d0d178dc8cfeb2fbb980ea354a5dc2c86f31c48453427c6937896c7221273e623c9b5 +$(DL_FILE)_BLAKE2 = 1c3a0dfd0a2ed902d4d289bad0f63f20fe1825abe388fc40aad1a0ab5782f385bf52eed2fa98e04f0fb8c53ea42974f5b2203cbe290ab2736bfdbe43bd90c9e8
install : $(TARGET)