Blame SOURCES/authconfig-6.2.8-faillock-preauth.patch

7a7bf9
diff -Naur old/authinfo.py new/authinfo.py
7a7bf9
--- old/authinfo.py	2017-05-05 11:47:38.522857750 +0200
7a7bf9
+++ new/authinfo.py	2017-05-05 11:57:28.372141053 +0200
7a7bf9
@@ -463,6 +463,8 @@
7a7bf9
 	 "env",			[]],
7a7bf9
 	[True,  AUTH,		LOGIC_REQUIRED,
7a7bf9
 	 "faildelay",		argv_faildelay],
7a7bf9
+	[False,  AUTH,		LOGIC_REQUIRED,
7a7bf9
+	 "faillock",		["preauth", "silent"]],
7a7bf9
 	[False,  AUTH,          LOGIC_SKIPNEXT,
7a7bf9
 	 "succeed_if",		argv_succeed_if_nonlogin],
7a7bf9
 	[False,  AUTH,          LOGIC_PKCS11,
7a7bf9
@@ -604,6 +606,8 @@
7a7bf9
 	 "env",			[]],
7a7bf9
 	[True,  AUTH,		LOGIC_REQUIRED,
7a7bf9
 	 "faildelay",		argv_faildelay],
7a7bf9
+	[False,  AUTH,		LOGIC_REQUIRED,
7a7bf9
+	 "faillock",		["preauth", "silent"]],
7a7bf9
 	[False, AUTH,		LOGIC_REQUIRED,
7a7bf9
 	 "deny",		[]],
7a7bf9
 	[False, AUTH,		LOGIC_SKIPNEXT_ON_FAILURE,
7a7bf9
@@ -706,6 +710,8 @@
7a7bf9
 	[True,  AUTH,		LOGIC_REQUIRED,
7a7bf9
 	 "env",			[]],
7a7bf9
 	[False,  AUTH,		LOGIC_REQUIRED,
7a7bf9
+	 "faillock",		["preauth", "silent"]],
7a7bf9
+	[False,  AUTH,		LOGIC_REQUIRED,
7a7bf9
 	 "deny",		[]],
7a7bf9
 	[False,  AUTH,		LOGIC_SUFFICIENT,
7a7bf9
 	 "fprintd",		[]],
7a7bf9
@@ -764,6 +770,8 @@
7a7bf9
 pam_modules[SMARTCARD] = [
7a7bf9
 	[True,  AUTH,		LOGIC_REQUIRED,
7a7bf9
 	 "env",			[]],
7a7bf9
+	[False,  AUTH,		LOGIC_REQUIRED,
7a7bf9
+	 "faillock",		["preauth", "silent"]],
7a7bf9
 	[False,  AUTH,		LOGIC_SUFFICIENT,
7a7bf9
 	 "sss",			argv_sssd_missing_name],
7a7bf9
 	[False,  AUTH,		LOGIC_PKCS11,