summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/man/sssd.conf.5.xml2
-rw-r--r--src/responder/nss/nsssrv.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/man/sssd.conf.5.xml b/src/man/sssd.conf.5.xml
index b8f22047..1d0194fb 100644
--- a/src/man/sssd.conf.5.xml
+++ b/src/man/sssd.conf.5.xml
@@ -331,7 +331,7 @@
(0 disables this feature)
</para>
<para>
- Default: 0
+ Default: 50
</para>
</listitem>
</varlistentry>
diff --git a/src/responder/nss/nsssrv.c b/src/responder/nss/nsssrv.c
index b3e2c696..f33f8f4c 100644
--- a/src/responder/nss/nsssrv.c
+++ b/src/responder/nss/nsssrv.c
@@ -153,7 +153,7 @@ static int nss_get_config(struct nss_ctx *nctx,
if (ret != EOK) goto done;
ret = confdb_get_int(cdb, nctx, CONFDB_NSS_CONF_ENTRY,
- CONFDB_NSS_ENTRY_CACHE_NOWAIT_PERCENTAGE, 0,
+ CONFDB_NSS_ENTRY_CACHE_NOWAIT_PERCENTAGE, 50,
&nctx->cache_refresh_percent);
if (ret != EOK) goto done;
if (nctx->cache_refresh_percent < 0 ||