[SSSD] [PATCH] Properly document ldap_purge_cache_timeout

Sumit Bose sbose at redhat.com
Mon Nov 8 09:25:24 UTC 2010


On Fri, Nov 05, 2010 at 08:59:02AM -0400, Stephen Gallagher wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> This option was missing from the manpage.
> 
> Also, this patch allows cache cleanup to be disabled entirely by setting
> it to zero.
> 
> 
> - -- 
> Stephen Gallagher
> RHCE 804006346421761
> 
> Delivering value year after year.
> Red Hat ranks #1 in value among software vendors.
> http://www.redhat.com/promo/vendor/
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.11 (GNU/Linux)
> Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/
> 
> iEYEARECAAYFAkzT/5YACgkQeiVVYja6o6NPqQCglPqrNcAiy8/8ChFVU5Hdldrv
> uj8AoI8A0aHE5iA3X+5pJxHNVIRRFmtl
> =0PM8
> -----END PGP SIGNATURE-----

> From 0802a80bff870d9ac122d2f12ead137e40d6188c Mon Sep 17 00:00:00 2001
> From: Stephen Gallagher <sgallagh at redhat.com>
> Date: Tue, 2 Nov 2010 07:46:13 -0400
> Subject: [PATCH 1/2] Properly document ldap_purge_cache_timeout
> 
> Also allow it to be disabled entirely
> ---
>  src/man/sssd-ldap.5.xml          |   15 +++++++++++++++
>  src/providers/ldap/ldap_common.c |   10 +++++++++-
>  2 files changed, 24 insertions(+), 1 deletions(-)
> 
> diff --git a/src/man/sssd-ldap.5.xml b/src/man/sssd-ldap.5.xml
> index 2123ffd1c4afe39bf956cfd41e4dd63a83304275..6737bbcaba80317db794e5e954d3b72a063c0b6c 100644
> --- a/src/man/sssd-ldap.5.xml
> +++ b/src/man/sssd-ldap.5.xml
> @@ -458,6 +458,21 @@
>                  </varlistentry>
>  
>                  <varlistentry>
> +                    <term>ldap_purge_cache_timeout</term>
> +                    <listitem>
> +                        <para>
> +                            Determine how often to check the cache for
> +                            inactive entries (such as groups with no
> +                            members and users who have never logged in) and
> +                            remove them to save space.
> +                        </para>
> +                        <para>
> +                            Default: 10800 (12 hours)
> +                        </para>
> +                    </listitem>
> +                </varlistentry>
> +

Although it is quite a common pattern I think we should mention that a
value of '0' disables this feature.

Otherwise ACK.

bye,
Sumit



More information about the sssd-devel mailing list