On 04/18/2016 12:50 PM, Petr Cech wrote:
Hi,
recently, negcache saves time of saving. If you check negcache, you need
to provide appropriate timeout.
I am working on [1] (NSS responder should negatively cache local users
for a longer time) and I need to have two different timeouts. You can
see new layer between negcache and responder at [2]. Rest of
implementation into NSS responder is in [3, 4].
I discussed this topic with Jakub. We would like to ask you if it makes
sense to you to rewrite negcache to saving expiration time, not time of
saving.
Thanks for opinions...
[1]
https://fedorahosted.org/sssd/ticket/2928
[2]
https://github.com/celestian/sssd/commit/a72d747ad4b6d0cf8d18cc540cd66669...
[3]
https://github.com/celestian/sssd/commit/0064c79f8380bcb67ead97426e996748...
[4]
https://github.com/celestian/sssd/commit/26ca12513292e765acd660ade646dde8...
Regards
PavelB and MichalZ agreed off-list.
--
Petr^4 Čech