On Tue, 2012-11-20 at 14:29 +0100, Michal Židek wrote:
On 11/20/2012 02:22 PM, Michal Židek wrote:
> Patch 1: sss_cache refactor. See patch description for more details.
> Patch 2: Remove mmap cache properly in sss_userdel and sss_groupdel
It looks a bit excessive to remove the whole cache when you change 1
user, would be probably better to fix this by a slightly more complex
construct.
After you delete the data from the ldb cache you could query sssd_nss
for the user name. And make sure that sssd_nss also searches the mc
cache and remove the entry if it is found there on user lookup failure
(we can later on use this feature to implement negative caching at the
mc layer).
Simo.
--
Simo Sorce * Red Hat, Inc * New York