diff options
author | Sumit Bose <sbose@redhat.com> | 2010-01-25 13:45:16 +0100 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2010-02-02 14:41:41 -0500 |
commit | 7ea48433b3bab77813b11c60e1ea82cb9793dc33 (patch) | |
tree | f7012746fd8f727cd80bd2361cb239893004f2b5 /server/confdb | |
parent | 245818557767e511d46b566bd1352f4d8fcb3426 (diff) | |
download | sssd-7ea48433b3bab77813b11c60e1ea82cb9793dc33.tar.gz sssd-7ea48433b3bab77813b11c60e1ea82cb9793dc33.tar.xz sssd-7ea48433b3bab77813b11c60e1ea82cb9793dc33.zip |
Add offline failed login counter
Diffstat (limited to 'server/confdb')
-rw-r--r-- | server/confdb/confdb.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/server/confdb/confdb.h b/server/confdb/confdb.h index 7f6c63b04..874f60890 100644 --- a/server/confdb/confdb.h +++ b/server/confdb/confdb.h @@ -65,6 +65,10 @@ /* PAM */ #define CONFDB_PAM_CONF_ENTRY "config/pam" #define CONFDB_PAM_CRED_TIMEOUT "offline_credentials_expiration" +#define CONFDB_PAM_FAILED_LOGIN_ATTEMPTS "offline_failed_login_attempts" +#define CONFDB_DEFAULT_PAM_FAILED_LOGIN_ATTEMPTS 0 +#define CONFDB_PAM_FAILED_LOGIN_DELAY "offline_failed_login_delay" +#define CONFDB_DEFAULT_PAM_FAILED_LOGIN_DELAY 5 /* Data Provider */ #define CONFDB_DP_CONF_ENTRY "config/dp" |