[prev in list] [next in list] [prev in thread] [next in thread]
List: samba-technical
Subject: Re: Winbindd repeatedly retries failed connection entry (PATCH
From: Jeremy Allison <jra () samba ! org>
Date: 2006-01-30 20:21:00
Message-ID: 20060130202100.GA10644 () linux ! suse ! de
[Download RAW message or body]
On Mon, Jan 30, 2006 at 11:52:04AM -0800, Qiao Yang wrote:
> Hi,
>
> I bumped into this bug the other day. Winbindd kept retrying to connect to a
> DC which is known to have failed in the last 30 seconds (should still be
> fresh).
>
> The problem is that in conncache.c: add_failed_connection_entry(), if there
> is already such an entry in cache it does nothing and returns. Timestamp of
> this entry is not updated. As a result, if there is an old (not expired yet)
> failed connection entry for the same DC there, winbindd will always think
> the entry is not fresh and keeps retrying.
>
> It should update the timestamp of this entry and refresh it so winbindd will
> not try to use it again in next 30 seconds. Patch to conncache.c is attached
> with this email.
Perfectly correct I think - applied to 3.0 and HEAD (not in 3.0.21b, it
didn't make the cut for the tarball - will be in subsequent releases though).
Thanks !
Jeremy.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic