diff options
author | Simo Sorce <simo@redhat.com> | 2012-01-03 00:43:58 -0500 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2012-03-19 09:45:25 -0400 |
commit | c3ef027218fe9a7d16a70ca9d2f53e3d995e369f (patch) | |
tree | 4bb77a6725d882a17c6583d5efeadde12715f5b5 /src/responder/nss/nsssrv.c | |
parent | 1171986bdc3011555c5b62a9d9ee9f7481f48cdc (diff) | |
download | sssd-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.c | 9 |
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 */ |