[SSSD] debbuging, how to turn off cache

steve steve at steve-ss.com
Tue Apr 16 07:58:09 UTC 2013


On 04/15/2013 09:10 PM, steve wrote:
> Hi
> When I'm debugging or adding new objects and attributes to the 
> directory, I need to be able to turn off the sssd cache. Otherwise, I 
> do not see any of the changes I have made.
>
> How can I force sssd to read from the directory and not from the cache?
>
> Cheers,
> Steve
>
> ____
Hi again
OK, I found it. sss_cache

Unfortunately it gives an error even if a correct switch and domain are 
given:

  sudo sss_cache -d default
Usage: sss_cache [-?UGNSA] [-?|--help] [--usage] [-u|--user=STRING]
         [-U|--users] [-g|--group=STRING] [-G|--groups]
         [-n|--netgroup=STRING] [-N|--netgroups] [-s|--service=STRING]
         [-S|--services] [-a|--autofs-map=STRING] [-A|--autofs-maps]
         [-d|--domain=STRING]
Please select at least one object to invalidate
(Tue Apr 16 09:37:15:820975 2013) [sssd] [main] (0x0020): Error 
initializing context for the application

The other switches, e.g. sss_cache -u steve2 works OK.

sssd 1.9.4

Cheers,
Steve





More information about the sssd-devel mailing list