[SSSD] Re: [PATCH] NEGCACHE: Removing of condition for ttl = -1

2016-04-20 Thread Lukas Slebodnik
On (20/04/16 08:41), Petr Cech wrote: >On 04/19/2016 01:55 PM, Petr Cech wrote: >> Hi, >> >> I found a strange condition in the function sss_ncache_check_str(). >> >> This condition causes the cache is NOT checked and the result of >> checking is automatically EEXIST. >> >> I dind't find call

[SSSD] Re: [PATCH] NEGCACHE: Removing of condition for ttl = -1

2016-04-20 Thread Petr Cech
On 04/19/2016 01:55 PM, Petr Cech wrote: Hi, I found a strange condition in the function sss_ncache_check_str(). This condition causes the cache is NOT checked and the result of checking is automatically EEXIST. I dind't find call of sss_ncache_check_str() with ttl = -1, except in tests.

[SSSD] Re: [PATCH] NEGCACHE: Removing of condition for ttl = -1

2016-04-19 Thread Petr Cech
On 04/19/2016 02:07 PM, Lukas Slebodnik wrote: On (19/04/16 13:55), Petr Cech wrote: Hi, I found a strange condition in the function sss_ncache_check_str(). This condition causes the cache is NOT checked and the result of checking is automatically EEXIST. I dind't find call of