On Tue, 2008-08-26 at 17:52 -0500, Jeremy Allison wrote:
> 
> 
> - Log
> -----------------------------------------------------------------
> commit 566d3b6e76afeca8e862cb36202a5283b86920e4
> Author: Jeremy Allison <[EMAIL PROTECTED]>
> Date:   Tue Aug 26 15:51:56 2008 -0700
> 
>     Fix the build :-(. Ask winbindd if we find a negative cache entry
> (or should
>     we just call the legacy function ?).
>     Jeremy.

If you get back a not expired negative mapping you should go directly to
legacy_uid_to_sid().
It does not make sense to ask winbindd, it will be just a roundtrip that
will return once again that the sid is unknown as soon as the cache is
checked for inside winbindd.

Simo.

-- 
Simo Sorce
Samba Team GPL Compliance Officer <[EMAIL PROTECTED]>
Senior Software Engineer at Red Hat Inc. <[EMAIL PROTECTED]>

Reply via email to