summaryrefslogtreecommitdiffstats
path: root/src/responder/common/negcache.h
diff options
context:
space:
mode:
authorPetr Cech <pcech@redhat.com>2016-05-05 11:16:14 -0400
committerLukas Slebodnik <lslebodn@redhat.com>2016-06-10 18:42:25 +0200
commite7ccfb139388c947ec2dee16cfe3005f5643b90d (patch)
treeadf642cd84332a6afafa90a70919117ecefbb5f0 /src/responder/common/negcache.h
parentacf7cee13f07b368b0ccae69776309f7f69cbca1 (diff)
downloadsssd-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/responder/common/negcache.h')
-rw-r--r--src/responder/common/negcache.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/responder/common/negcache.h b/src/responder/common/negcache.h
index 572c723cc..377f97c8b 100644
--- a/src/responder/common/negcache.h
+++ b/src/responder/common/negcache.h
@@ -26,7 +26,7 @@ struct sss_nc_ctx;
/* init the in memory negative cache */
int sss_ncache_init(TALLOC_CTX *memctx, uint32_t timeout,
- struct sss_nc_ctx **_ctx);
+ uint32_t local_timeout, struct sss_nc_ctx **_ctx);
uint32_t sss_ncache_get_timeout(struct sss_nc_ctx *ctx);