From cc527d1c2828d2e249d75de48356d562c1758f9f15f03d536c46c885e8ff2827 Mon Sep 17 00:00:00 2001 From: Tim Ooms Date: Mon, 14 Oct 2024 14:07:09 +0200 Subject: [PATCH] Add cracklib requirement --- openldap2.spec | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/openldap2.spec b/openldap2.spec index 07ea3a1..81f7e02 100644 --- a/openldap2.spec +++ b/openldap2.spec @@ -74,6 +74,7 @@ BuildRequires: pkgconfig(systemd) %if "%flavor" == "contrib" BuildRequires: gcc-c++ BuildRequires: openldap2-devel +BuildRequires: cracklib-devel %endif %if %{suse_version} < 1500 %{?systemd_requires} @@ -146,6 +147,7 @@ to be applied with all usages of libldap. Summary: OpenLDAP Contrib Modules Group: Productivity/Networking/LDAP/Servers Requires: openldap2 = %{version} +Recommends: cracklib %description contrib Various overlays found in contrib/: @@ -159,7 +161,7 @@ datamorph store enumerated values and fixed size integers denyop lastbind writes last bind timestamp to entry noopsrch handles no-op search control -ppm password policy module for OpenLDAP ppolicy overlay +ppm password policy module for OpenLDAP ppolicy overlay (requires cracklib) pw-sha2 generates/validates SHA-2 password hashes pw-pbkdf2 generates/validates PBKDF2 password hashes smbk5pwd generates Samba3 password hashes (heimdal krb disabled)