summaryrefslogtreecommitdiffstats
path: root/src/responder/nss/nsssrv.c
diff options
context:
space:
mode:
authorSimo Sorce <simo@redhat.com>2012-01-03 00:43:58 -0500
committerStephen Gallagher <sgallagh@redhat.com>2012-03-19 09:45:25 -0400
commitc3ef027218fe9a7d16a70ca9d2f53e3d995e369f (patch)
tree4bb77a6725d882a17c6583d5efeadde12715f5b5 /src/responder/nss/nsssrv.c
parent1171986bdc3011555c5b62a9d9ee9f7481f48cdc (diff)
downloadsssd-c3ef027218fe9a7d16a70ca9d2f53e3d995e369f.tar.gz
sssd-c3ef027218fe9a7d16a70ca9d2f53e3d995e369f.tar.xz
sssd-c3ef027218fe9a7d16a70ca9d2f53e3d995e369f.zip
nsssrv: add handling of memory cache group map
Diffstat (limited to 'src/responder/nss/nsssrv.c')
-rw-r--r--src/responder/nss/nsssrv.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/responder/nss/nsssrv.c b/src/responder/nss/nsssrv.c
index 5ba91f3c3..f2c893033 100644
--- a/src/responder/nss/nsssrv.c
+++ b/src/responder/nss/nsssrv.c
@@ -316,7 +316,14 @@ int nss_process_init(TALLOC_CTX *mem_ctx,
50000,
&nctx->pwd_mc_ctx);
if (ret) {
- DEBUG(SSSDBG_CRIT_FAILURE, ("mmap cache is DISABLED"));
+ DEBUG(SSSDBG_CRIT_FAILURE, ("passwd mmap cache is DISABLED"));
+ }
+
+ ret = sss_mmap_cache_init(nctx, "group", SSS_MC_GROUP,
+ 50000,
+ &nctx->grp_mc_ctx);
+ if (ret) {
+ DEBUG(SSSDBG_CRIT_FAILURE, ("group mmap cache is DISABLED"));
}
/* Set up file descriptor limits */