[SSSD] [PATCH] NSS: Set UID and GID to negative cache after searching all domains

Lukas Slebodnik lslebodn at redhat.com
Tue Sep 24 15:15:47 UTC 2013


On (24/09/13 16:10), Jakub Hrozek wrote:
>On Tue, Sep 24, 2013 at 04:06:22PM +0200, Lukas Slebodnik wrote:
>> >@@ -3639,7 +3662,8 @@ static errno_t nss_cmd_getsidby_search(struct nss_dom_ctx *dctx)
>> >                     dom = get_next_domain(dom, true);
>> >                     continue;
>> >                 }
>> >-                return ENOENT;
>> >+                ret = ENOMEM;
>>                         ^^^^^^
>>                 Is it aim or mistake?  s/ENOMEM/ENOENT/
>> 
>
>It's a typo and thanks for the catch. New patches are attached.

I check ldap log (on server). Next query for non existing user apeared
after 15 seconds (default value of entry_negative_timeout)
and reporter had already verified patch.

ACK

LS



More information about the sssd-devel mailing list