- fix use of passwd command when ldap auth enabled [SME: 6453] - delete spool file only if exists to avoid error [SME: 12763]
9 lines
246 B
Plaintext
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
|
|
|