summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen Gallagher <sgallagh@redhat.com>2011-09-08 12:56:52 -0400
committerStephen Gallagher <sgallagh@redhat.com>2011-09-22 16:29:32 -0400
commit77861bc2335233b35021cebb22c705133c1e8654 (patch)
tree564457f0d500e7f684a62f4c8991f2448db68293
parentb7f8dc24329a7de89dcc9c0bdfb933a8688260c2 (diff)
downloadsssd_unused-77861bc2335233b35021cebb22c705133c1e8654.tar.gz
sssd_unused-77861bc2335233b35021cebb22c705133c1e8654.tar.xz
sssd_unused-77861bc2335233b35021cebb22c705133c1e8654.zip
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 bed06eb5..4f992397 100644
--- a/src/man/sssd.conf.5.xml
+++ b/src/man/sssd.conf.5.xml
@@ -329,7 +329,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 ec2f0caf..fa8ad436 100644
--- a/src/responder/nss/nsssrv.c
+++ b/src/responder/nss/nsssrv.c
@@ -157,7 +157,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 ||