[SSSD-users] sssd cache detection ?

Ash Nand ashy.nand at gmail.com
Fri Jan 30 07:33:38 UTC 2015


Hi there.

Does sssd export any library/function which would allow one to test if the
dataset *was* coming from a cache and NOT the real source (assuming source
outage)?

I have a LDAP backend provider here with a generous cache timeout. I was
wondering if it would be possible to tap somewhere , to achieve something 
equivalent to `getent -s sss passwd xxx` but only if/when user xxx was
cached by sssd and in offline mode.

In other words detect when sssd is in offline mode, the sssd cache is
transparently servicing clients without resorting to parsing log files.


thkx

-ash




More information about the sssd-users mailing list