aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'linux-pam-conf')
-rw-r--r--linux-pam-conf7
1 files changed, 6 insertions, 1 deletions
diff --git a/linux-pam-conf b/linux-pam-conf
index ee34768..b5db3c3 100644
--- a/linux-pam-conf
+++ b/linux-pam-conf
@@ -1,6 +1,5 @@
#define HAVE_LIMITS 1
#define HAVE_ENV 1
-#define HAVE_TALLY 1
#define HAVE_ACCESS 1
#define HAVE_SHELLS 1
#define HAVE_MOTD 1
@@ -15,5 +14,11 @@
# define UNIX_EXTENDED_ENCRYPTION md5 shadow
#endif
+#if LINUX_PAM_VERSION > 0x010100 /* 1.1.0 */
+# define TALLY_MODULE pam_tally2.so
+#else
+# define TALLY_MODULE pam_tally.so
+#endif
+
#define LIKEAUTH likeauth
#define DEBUG_NOLOGIN