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

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