summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorStephen Gallagher <sgallagh@redhat.com>2011-09-08 12:56:52 -0400
committerStephen Gallagher <sgallagh@redhat.com>2011-09-21 14:51:28 -0400
commitdb2c71bd61b7e1610ea1a178ef05059ef952685a (patch)
tree70319ca91518dff4189f8a8300fc670886839bcb /src
parent1f6ef3004e260f0cbad79f61c42200b5f737fd91 (diff)
downloadsssd-db2c71bd61b7e1610ea1a178ef05059ef952685a.tar.gz
sssd-db2c71bd61b7e1610ea1a178ef05059ef952685a.tar.bz2
sssd-db2c71bd61b7e1610ea1a178ef05059ef952685a.zip
Enable the midpoint cache update by default
https://fedorahosted.org/sssd/ticket/918
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 ||