[SSSD] Re: [PATCH] NSS: Do not check local users with disabled local_negative_timeout

2016-08-09 Thread Jakub Hrozek
On Tue, Aug 09, 2016 at 07:54:15AM +0200, Petr Cech wrote: > On 08/08/2016 04:20 PM, Petr Cech wrote: > > On 08/08/2016 04:09 PM, Lukas Slebodnik wrote: > > > On (08/08/16 15:36), Petr Cech wrote: > > > > On 08/08/2016 03:14 PM, Petr Cech wrote: > > > > > On 08/08/2016 02:40 PM, Lukas Slebodnik wro

[SSSD] Re: [PATCH] NSS: Do not check local users with disabled local_negative_timeout

2016-08-08 Thread Petr Cech
On 08/08/2016 04:20 PM, Petr Cech wrote: On 08/08/2016 04:09 PM, Lukas Slebodnik wrote: On (08/08/16 15:36), Petr Cech wrote: On 08/08/2016 03:14 PM, Petr Cech wrote: On 08/08/2016 02:40 PM, Lukas Slebodnik wrote: ehlo, The simple reproducer is to use getent passwd,group with non-existing en

[SSSD] Re: [PATCH] NSS: Do not check local users with disabled local_negative_timeout

2016-08-08 Thread Petr Cech
On 08/08/2016 04:09 PM, Lukas Slebodnik wrote: On (08/08/16 15:36), Petr Cech wrote: On 08/08/2016 03:14 PM, Petr Cech wrote: On 08/08/2016 02:40 PM, Lukas Slebodnik wrote: ehlo, The simple reproducer is to use getent passwd,group with non-existing entry. Without the patch you will see that "

[SSSD] Re: [PATCH] NSS: Do not check local users with disabled local_negative_timeout

2016-08-08 Thread Lukas Slebodnik
On (08/08/16 15:36), Petr Cech wrote: >On 08/08/2016 03:14 PM, Petr Cech wrote: >> On 08/08/2016 02:40 PM, Lukas Slebodnik wrote: >> > ehlo, >> > >> > The simple reproducer is to use getent passwd,group with non-existing >> > entry. >> > Without the patch you will see that "/var/lib/sss/mc/passwd"

[SSSD] Re: [PATCH] NSS: Do not check local users with disabled local_negative_timeout

2016-08-08 Thread Petr Cech
On 08/08/2016 03:14 PM, Petr Cech wrote: On 08/08/2016 02:40 PM, Lukas Slebodnik wrote: ehlo, The simple reproducer is to use getent passwd,group with non-existing entry. Without the patch you will see that "/var/lib/sss/mc/passwd" is opened twice. Onece with mode "rw" opened by sssd_nss and th

[SSSD] Re: [PATCH] NSS: Do not check local users with disabled local_negative_timeout

2016-08-08 Thread Petr Cech
On 08/08/2016 02:40 PM, Lukas Slebodnik wrote: ehlo, The simple reproducer is to use getent passwd,group with non-existing entry. Without the patch you will see that "/var/lib/sss/mc/passwd" is opened twice. Onece with mode "rw" opened by sssd_nss and the 2nd time with "r-" opened by sssd-client