[Freeipa-users] SSSD Cache

Dmitri Pal dpal at redhat.com
Tue Jun 29 23:32:40 UTC 2010


Simo Sorce wrote:
> On Tue, 29 Jun 2010 16:51:39 -0400
> Dan Scott <danieljamesscott at gmail.com> wrote:
>
>   
>> Hi,
>>
>> I'm using Fedora 13 with the new SSSD daemon (Which conflicts with the
>> old nscd daemon). Does anyone know how to clear the cache of this
>> service?
>>
>> I've added a user to a few groups and "id username" shows the correct
>> groups on the FreeIPA server, but not on my client machine. I used to
>> run "/etc/init.d/nscd reload" for nscd, but this does not appear to
>> work for sssd.
>>
>> I've read through the SSSD howto:
>>
>> https://fedorahosted.org/sssd/wiki/HOWTO_Configure_1_0_2
>>
>> but this does not mention clearing the cache - only how to set the
>> cache timeouts.
>>     
>
> Dan,
> SSSD will update the cache on any login that goes through PAM.
>
> Do you need a way to refresh specific user information it logs in ?
>
> If so, at the moment you can reset the cache by stopping SSSD and
> deleting the appropriate file in /var/lib/sss/db and restarting SSSD.
> The db file to be deleted has the domain name (as used in the sssd.conf
> section tag) in the file name.
>
> Simo.
>
>   
... and we already have a ticket to add this procedure to the documentation.

-- 
Thank you,
Dmitri Pal

Engineering Manager IPA project,
Red Hat Inc.


-------------------------------
Looking to carve out IT costs?
www.redhat.com/carveoutcosts/




More information about the Freeipa-users mailing list