From d877fea3b271cd8e409935ed282c57c94a99cc17 Mon Sep 17 00:00:00 2001 From: Zsolt Vasarhelyi Date: Mon, 27 Oct 2025 12:52:10 +0200 Subject: [PATCH] remove use_authtok from pam config when ldap auth is enabled 13254 --- .../templates-custom/etc/pam.d/system-auth/40password | 2 +- smeserver-password.spec | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/root/etc/e-smith/templates-custom/etc/pam.d/system-auth/40password b/root/etc/e-smith/templates-custom/etc/pam.d/system-auth/40password index 32f435a..d15dc82 100644 --- a/root/etc/e-smith/templates-custom/etc/pam.d/system-auth/40password +++ b/root/etc/e-smith/templates-custom/etc/pam.d/system-auth/40password @@ -12,7 +12,7 @@ { my $status = $ldap{Authentication} || 'disabled'; return unless $status eq 'enabled'; - $OUT .= "password sufficient pam_ldap.so use_authtok"; + $OUT .= "password sufficient pam_ldap.so"; } password required pam_deny.so diff --git a/smeserver-password.spec b/smeserver-password.spec index 878cfb0..4ad5eeb 100644 --- a/smeserver-password.spec +++ b/smeserver-password.spec @@ -4,7 +4,7 @@ %define name smeserver-password %define version 1.2.0 -%define release 17 +%define release 18 Summary: SME Server password panel Name: %{name} @@ -23,6 +23,9 @@ Requires: smeserver-formmagick >= 1.4.0-12 Smeserver addon panel to change password strength and password ageing %changelog +* Mon Oct 27 2025 Vasarhelyi Zsolt 1.2.0-18.sme +- remove use_authtok from pam config when ldap auth is enabled [SME: 13254] + * Sun Sep 08 2024 fix-e-smith-pkg.sh by Trevor Batley 1.2.0-17.sme - Fix e-smith references in smeserver-password [SME: 12732]