summaryrefslogtreecommitdiff
path: root/server/responder/nss/nsssrv.h
diff options
context:
space:
mode:
authorSimo Sorce <ssorce@redhat.com>2009-03-12 22:59:31 -0400
committerSimo Sorce <ssorce@redhat.com>2009-03-13 13:47:38 -0400
commitdd4d867835a1443cb5a10b7a678d1d12400690d6 (patch)
treea78b211c0ae56369ba22a8dc7add0de3f13c7a77 /server/responder/nss/nsssrv.h
parent063ef0f15dfc32d15d2e9bdcba819906aa99b948 (diff)
downloadsssd-dd4d867835a1443cb5a10b7a678d1d12400690d6.tar.gz
sssd-dd4d867835a1443cb5a10b7a678d1d12400690d6.tar.bz2
sssd-dd4d867835a1443cb5a10b7a678d1d12400690d6.zip
Implement Negative cache for NSS
As for positive caches, negative caches are implement for all queries except enumerations. Also set the correct requires in sssd.spec as we now depend directly on tdb as well.
Diffstat (limited to 'server/responder/nss/nsssrv.h')
-rw-r--r--server/responder/nss/nsssrv.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/server/responder/nss/nsssrv.h b/server/responder/nss/nsssrv.h
index 949961a4..4f5750de 100644
--- a/server/responder/nss/nsssrv.h
+++ b/server/responder/nss/nsssrv.h
@@ -64,6 +64,8 @@ struct nss_ctx {
char *default_domain;
int cache_timeout;
+ int neg_timeout;
+ struct nss_nc_ctx *ncache;
int expire_time;
time_t last_user_enum;