Skip to content

Commit

Permalink
Fixed: mod_auth_pam.c slow down authentication and prevent user login…
Browse files Browse the repository at this point in the history
… with mod_sql.c
  • Loading branch information
nuxwin committed May 6, 2017
1 parent e36ce60 commit 915fc1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contrib/Listeners/ProFTPd/10_proftpd_auth_unix.pl
Expand Up @@ -34,7 +34,7 @@ package Listener::ProFTPd::Auth::Unix;
my ($tplContent, $tplName) = @_;

return 0 unless $tplName eq 'proftpd.conf';
${$tplContent} =~ s/(AuthOrder\s+.*)/$1 mod_auth_pam.c* mod_auth_unix.c/im;
${$tplContent} =~ s/(AuthOrder\s+.*)/$1 mod_auth_unix.c/im;
${$tplContent} =~ s/(<\/Global>)/\n PersistentPasswd off\n$1/im;
0;
}
Expand Down

0 comments on commit 915fc1d

Please sign in to comment.