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/config | |
parent | 245818557767e511d46b566bd1352f4d8fcb3426 (diff) | |
download | sssd-7ea48433b3bab77813b11c60e1ea82cb9793dc33.tar.gz sssd-7ea48433b3bab77813b11c60e1ea82cb9793dc33.tar.bz2 sssd-7ea48433b3bab77813b11c60e1ea82cb9793dc33.zip |
Add offline failed login counter
Diffstat (limited to 'server/config')
-rw-r--r-- | server/config/SSSDConfig.py | 2 | ||||
-rw-r--r-- | server/config/etc/sssd.api.conf | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/server/config/SSSDConfig.py b/server/config/SSSDConfig.py index b08e9f4f..b751e4db 100644 --- a/server/config/SSSDConfig.py +++ b/server/config/SSSDConfig.py @@ -61,6 +61,8 @@ option_strings = { # [pam] 'offline_credentials_expiration' : _('How long to allow cached logins between online logins (days)'), + 'offline_failed_login_attempts' : _('How many failed logins attempts are allowed when offline'), + 'offline_failed_login_delay' : _('How long (minutes) to deny login after offline_failed_login_attempts has been reached'), # [provider] 'id_provider' : _('Identity provider'), diff --git a/server/config/etc/sssd.api.conf b/server/config/etc/sssd.api.conf index bdb6aab2..5fc8e781 100644 --- a/server/config/etc/sssd.api.conf +++ b/server/config/etc/sssd.api.conf @@ -31,6 +31,8 @@ pwfield = str, None, * [pam] # Authentication service offline_credentials_expiration = int, None +offline_failed_login_attempts = int, None +offline_failed_login_delay = int, None [provider] #Available provider types |