1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-11 02:50:24 +00:00
freebsd-ports/security/pam_abl/files/patch-pam_abl.h
Pav Lucistnik bf663cc26b The pam_abl provides auto blacklisting of hosts and users
responsible for repeated failed authentication attempts.

WWW: http://www.hexten.net/pam_abl/

PR:		ports/100635
Submitted by:	Petr Rehor <prehor@gmail.com>
2006-09-01 18:34:03 +00:00

20 lines
476 B
C

--- pam_abl.h.orig Wed Oct 12 21:22:27 2005
+++ pam_abl.h Sat Jan 14 19:25:44 2006
@@ -51,6 +51,7 @@
#define __PAM_ABL_H
#include <security/pam_modules.h>
+#include <security/pam_appl.h>
#include <db.h>
#include <ctype.h>
@@ -74,7 +75,7 @@
/* User purge time in seconds */
#define USER_PURGE (HOURSECS * 24)
-#define CONFIG "/etc/security/pam_abl.conf"
+#define CONFIG "%%ETCPREFIX%%/etc/pam_abl.conf"
typedef struct abl_string {
struct abl_string *link;