From 915fc1d442972b9c8012186ae51ee426d371d7bb Mon Sep 17 00:00:00 2001 From: Laurent Declercq Date: Sat, 6 May 2017 12:55:35 +0200 Subject: [PATCH] Fixed: mod_auth_pam.c slow down authentication and prevent user login with mod_sql.c --- contrib/Listeners/ProFTPd/10_proftpd_auth_unix.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/Listeners/ProFTPd/10_proftpd_auth_unix.pl b/contrib/Listeners/ProFTPd/10_proftpd_auth_unix.pl index 4f97c7a5b5..5cef27bfe4 100644 --- a/contrib/Listeners/ProFTPd/10_proftpd_auth_unix.pl +++ b/contrib/Listeners/ProFTPd/10_proftpd_auth_unix.pl @@ -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; }