[SSSD] sss_cache --everything

Stephen Gallagher sgallagh at redhat.com
Wed Aug 7 12:07:15 UTC 2013


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 08/07/2013 07:48 AM, steve wrote:
> On Wed, 2013-08-07 at 13:17 +0200, Jakub Hrozek wrote:
>>> 
>> 
>> What kind of script?
> 
> #!/bin/bash systemctl stop sssd rm /usr/local/var/lib/sss/db/* 
> systemctl start sssd
> 

It's worth noting that sss_cache does not *delete* the cache contents,
it only marks them all as expired. This means you don't lose cached
credentials and if your LDAP server isn't available to repopulate the
cache, you still have access to the old, expired data until it is.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.13 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAlICOHMACgkQeiVVYja6o6MAagCeOu/2daCT/jASQaxp9ct8q55t
kNkAnRoGZh6W0pLdI7yGQmSoYEA29HAw
=H82e
-----END PGP SIGNATURE-----



More information about the sssd-devel mailing list