diff options
author | Fabiano Fidêncio <fidencio@redhat.com> | 2017-02-22 08:07:45 +0100 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2017-03-14 12:35:01 +0100 |
commit | 8bb6680637ead03e24a38d15ec5265d11a920a1d (patch) | |
tree | f5e4cc597dcf9012c54fd4e83a25e27029d8558b /src/confdb/confdb.h | |
parent | 9286d0d4143bcb4e36b91022107e307998122bbb (diff) | |
download | sssd-8bb6680637ead03e24a38d15ec5265d11a920a1d.tar.gz sssd-8bb6680637ead03e24a38d15ec5265d11a920a1d.tar.xz sssd-8bb6680637ead03e24a38d15ec5265d11a920a1d.zip |
CACHE_REQ: Check the caches first
This patch introduces a new configurable option to define whether the
responder should query all domains' caches before querying the Data
Providers.
This new option is called cache_first and, by default, it's disabled,
meaning that, for each provider, the responder may contact the cache and
the data provider in the same iteration.
Co-Author: Pavel Březina <pbrezina@redhat.com>
Related:
https://pagure.io/SSSD/sssd/issue/3001
Signed-off-by: Fabiano Fidêncio <fidencio@redhat.com>
Reviewed-by: Pavel Březina <pbrezina@redhat.com>
Diffstat (limited to 'src/confdb/confdb.h')
-rw-r--r-- | src/confdb/confdb.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/confdb/confdb.h b/src/confdb/confdb.h index 89b89bf0d..c05b1cee4 100644 --- a/src/confdb/confdb.h +++ b/src/confdb/confdb.h @@ -88,6 +88,7 @@ #define CONFDB_RESPONDER_LOCAL_NEG_TIMEOUT "local_negative_timeout" #define CONFDB_RESPONDER_IDLE_TIMEOUT "responder_idle_timeout" #define CONFDB_RESPONDER_IDLE_DEFAULT_TIMEOUT 300 +#define CONFDB_RESPONDER_CACHE_FIRST "cache_first" /* NSS */ #define CONFDB_NSS_CONF_ENTRY "config/nss" |