summaryrefslogtreecommitdiffstats
path: root/src/config/SSSDConfigTest.py
diff options
context:
space:
mode:
authorPavel Reichl <preichl@redhat.com>2015-04-16 03:41:58 -0400
committerJakub Hrozek <jhrozek@redhat.com>2015-07-06 20:19:09 +0200
commit0aa18cc0bf3447ca734476926724f1632e160807 (patch)
tree5dd2d0e24e80753849e41fa3e574d1fa1743fa08 /src/config/SSSDConfigTest.py
parent32cc237aa0f3c70a4e0bc0491ec0cba0016aaf5a (diff)
downloadsssd-0aa18cc0bf3447ca734476926724f1632e160807.tar.gz
sssd-0aa18cc0bf3447ca734476926724f1632e160807.tar.xz
sssd-0aa18cc0bf3447ca734476926724f1632e160807.zip
PAM: authenticate agains cache
Enable authenticating users from cache even when SSSD is in online mode. Introduce new option `cached_auth_timeout`. Resolves: https://fedorahosted.org/sssd/ticket/1807 Reviewed-by: Jakub Hrozek <jhrozek@redhat.com>
Diffstat (limited to 'src/config/SSSDConfigTest.py')
-rwxr-xr-xsrc/config/SSSDConfigTest.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/config/SSSDConfigTest.py b/src/config/SSSDConfigTest.py
index c6ba9f051..1d6107cea 100755
--- a/src/config/SSSDConfigTest.py
+++ b/src/config/SSSDConfigTest.py
@@ -547,7 +547,8 @@ class SSSDConfigTestSSSDDomain(unittest.TestCase):
'subdomains_provider',
'realmd_tags',
'subdomain_refresh_interval',
- 'subdomain_inherit']
+ 'subdomain_inherit',
+ 'cached_auth_timeout']
self.assertTrue(type(options) == dict,
"Options should be a dictionary")
@@ -910,7 +911,8 @@ class SSSDConfigTestSSSDDomain(unittest.TestCase):
'subdomains_provider',
'realmd_tags',
'subdomain_refresh_interval',
- 'subdomain_inherit']
+ 'subdomain_inherit',
+ 'cached_auth_timeout']
self.assertTrue(type(options) == dict,
"Options should be a dictionary")