Files
smeserver-base/root/etc/e-smith/templates/etc/pam.d/system-auth/40password
Jean-Philippe Pialasse ed89fb60f4 * Sat Dec 21 2024 Jean-Philippe Pialasse <jpp@koozali.org> 11.0.0-15.sme
- fix use of passwd command when ldap auth enabled [SME: 6453]
- delete spool file only if exists to avoid error [SME: 12763]
2024-12-22 00:32:50 -05:00

9 lines
246 B
Plaintext

password sufficient pam_unix.so nullok md5 shadow
{
my $status = $ldap{Authentication} || 'disabled';
return unless $status eq 'enabled';
$OUT .= "password sufficient pam_ldap.so";
}
password required pam_deny.so