remove use_authtok from pam config when ldap auth is enabled 13254
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user