diff options
author | Simo Sorce <idra@samba.org> | 2009-01-11 12:17:18 -0500 |
---|---|---|
committer | Simo Sorce <idra@samba.org> | 2009-01-11 12:17:18 -0500 |
commit | 28fc5582c207d493a33406222da517a241a157ec (patch) | |
tree | 87b4944e91df4b3783da193c58c3e8f5734a5344 /server/nss/nsssrv.c | |
parent | 91dfe750f64cc0d8a970864959767379e0d128db (diff) | |
download | sssd-28fc5582c207d493a33406222da517a241a157ec.tar.gz sssd-28fc5582c207d493a33406222da517a241a157ec.tar.xz sssd-28fc5582c207d493a33406222da517a241a157ec.zip |
Add caching behavior to nsssrv_cmd.c check cache first and
dispatch to backends only if we have a cache miss.
Diffstat (limited to 'server/nss/nsssrv.c')
-rw-r--r-- | server/nss/nsssrv.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/server/nss/nsssrv.c b/server/nss/nsssrv.c index 5fc707f85..c787637aa 100644 --- a/server/nss/nsssrv.c +++ b/server/nss/nsssrv.c @@ -439,6 +439,8 @@ int nss_process_init(TALLOC_CTX *mem_ctx, return ret; } + nctx->cache_timeout = 600; /* FIXME: read from conf */ + DEBUG(1, ("NSS Initialization complete\n")); return EOK; |