diff options
author | Petr Cech <pcech@redhat.com> | 2016-05-05 11:16:14 -0400 |
---|---|---|
committer | Lukas Slebodnik <lslebodn@redhat.com> | 2016-06-10 18:42:25 +0200 |
commit | e7ccfb139388c947ec2dee16cfe3005f5643b90d (patch) | |
tree | adf642cd84332a6afafa90a70919117ecefbb5f0 /src/config | |
parent | acf7cee13f07b368b0ccae69776309f7f69cbca1 (diff) | |
download | sssd-e7ccfb139388c947ec2dee16cfe3005f5643b90d.tar.gz sssd-e7ccfb139388c947ec2dee16cfe3005f5643b90d.tar.xz sssd-e7ccfb139388c947ec2dee16cfe3005f5643b90d.zip |
RESPONDERS: Negative caching of local users
This patch adds new option 'neg_cache_locals_timeout' into section
of NSS responder. It allows negative caching of local groups and
users. Default value is 0 which means no caching.
Resolves:
https://fedorahosted.org/sssd/ticket/2928
Reviewed-by: Pavel Březina <pbrezina@redhat.com>
Diffstat (limited to 'src/config')
-rw-r--r-- | src/config/SSSDConfig/__init__.py.in | 1 | ||||
-rw-r--r-- | src/config/etc/sssd.api.conf | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/config/SSSDConfig/__init__.py.in b/src/config/SSSDConfig/__init__.py.in index e7bf43dfd..abbf5dca8 100644 --- a/src/config/SSSDConfig/__init__.py.in +++ b/src/config/SSSDConfig/__init__.py.in @@ -67,6 +67,7 @@ option_strings = { 'enum_cache_timeout' : _('Enumeration cache timeout length (seconds)'), 'entry_cache_no_wait_timeout' : _('Entry cache background update timeout length (seconds)'), 'entry_negative_timeout' : _('Negative cache timeout length (seconds)'), + 'local_negative_timeout' : _('Files negative cache timeout length (seconds)'), 'filter_users' : _('Users that SSSD should explicitly ignore'), 'filter_groups' : _('Groups that SSSD should explicitly ignore'), 'filter_users_in_groups' : _('Should filtered users appear in groups'), diff --git a/src/config/etc/sssd.api.conf b/src/config/etc/sssd.api.conf index a0a82543f..fef55364d 100644 --- a/src/config/etc/sssd.api.conf +++ b/src/config/etc/sssd.api.conf @@ -33,6 +33,7 @@ certificate_verification = str, None, false enum_cache_timeout = int, None, false entry_cache_nowait_percentage = int, None, false entry_negative_timeout = int, None, false +local_negative_timeout = int, None, false filter_users = list, str, false filter_groups = list, str, false filter_users_in_groups = bool, None, false |