diff options
author | Pavel Březina <pbrezina@redhat.com> | 2013-10-22 14:07:49 +0200 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2013-10-25 22:12:18 +0200 |
commit | cd4cc8d8829f1ea5257bf874b91980368114275f (patch) | |
tree | 04a6e2be8fb2c6ff70138e56659444d38c5628f5 /src/config | |
parent | 1ce58f139699dd26b8888f4131c996263b6a80a5 (diff) | |
download | sssd-cd4cc8d8829f1ea5257bf874b91980368114275f.tar.gz sssd-cd4cc8d8829f1ea5257bf874b91980368114275f.tar.xz sssd-cd4cc8d8829f1ea5257bf874b91980368114275f.zip |
dp: make subdomains refresh interval configurable
This patch makes the refresh of available subdomains configurable.
New option:
subdomain_refresh_interval (undocumented)
Resolves:
https://fedorahosted.org/sssd/ticket/1968
Diffstat (limited to 'src/config')
-rw-r--r-- | src/config/SSSDConfig/__init__.py.in | 1 | ||||
-rwxr-xr-x | src/config/SSSDConfigTest.py | 6 | ||||
-rw-r--r-- | src/config/etc/sssd.api.conf | 1 |
3 files changed, 6 insertions, 2 deletions
diff --git a/src/config/SSSDConfig/__init__.py.in b/src/config/SSSDConfig/__init__.py.in index f073419e9..af5903c65 100644 --- a/src/config/SSSDConfig/__init__.py.in +++ b/src/config/SSSDConfig/__init__.py.in @@ -134,6 +134,7 @@ option_strings = { 'dyndns_force_tcp' : _("Whether the nsupdate utility should default to using TCP"), 'dyndns_auth' : _("What kind of authentication should be used to perform the DNS update"), 'subdomain_enumerate' : _('Control enumeration of trusted domains'), + 'subdomain_refresh_interval' : _('How often should subdomains list be refreshed'), # [provider/ipa] 'ipa_domain' : _('IPA domain'), diff --git a/src/config/SSSDConfigTest.py b/src/config/SSSDConfigTest.py index acec3e6f4..b6c1d74aa 100755 --- a/src/config/SSSDConfigTest.py +++ b/src/config/SSSDConfigTest.py @@ -533,7 +533,8 @@ class SSSDConfigTestSSSDDomain(unittest.TestCase): 'session_provider', 'hostid_provider', 'subdomains_provider', - 'realmd_tags'] + 'realmd_tags', + 'subdomain_refresh_interval'] self.assertTrue(type(options) == dict, "Options should be a dictionary") @@ -888,7 +889,8 @@ class SSSDConfigTestSSSDDomain(unittest.TestCase): 'session_provider', 'hostid_provider', 'subdomains_provider', - 'realmd_tags'] + 'realmd_tags', + 'subdomain_refresh_interval'] self.assertTrue(type(options) == dict, "Options should be a dictionary") diff --git a/src/config/etc/sssd.api.conf b/src/config/etc/sssd.api.conf index 4b8e97ba1..ed65d2d78 100644 --- a/src/config/etc/sssd.api.conf +++ b/src/config/etc/sssd.api.conf @@ -116,6 +116,7 @@ override_shell = str, None, false default_shell = str, None, false description = str, None, false realmd_tags = str, None, false +subdomain_refresh_interval = int, None, false #Entry cache timeouts entry_cache_user_timeout = int, None, false |