summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen Gallagher <sgallagh@redhat.com>2011-09-08 16:56:52 (GMT)
committerStephen Gallagher <sgallagh@redhat.com>2011-09-21 18:51:28 (GMT)
commitdb2c71bd61b7e1610ea1a178ef05059ef952685a (patch)
tree70319ca91518dff4189f8a8300fc670886839bcb
parent1f6ef3004e260f0cbad79f61c42200b5f737fd91 (diff)
downloadsssd-db2c71bd61b7e1610ea1a178ef05059ef952685a.zip
sssd-db2c71bd61b7e1610ea1a178ef05059ef952685a.tar.gz
sssd-db2c71bd61b7e1610ea1a178ef05059ef952685a.tar.xz
Enable the midpoint cache update by default
https://fedorahosted.org/sssd/ticket/918
-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 b8f2204..1d0194f 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 b3e2c69..f33f8f4 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 ||