Winbindd repeatedly retries failed connection entry (PATCH attached)
qyang at stbernard.com
Mon Jan 30 19:52:04 GMT 2006
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
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.
St Bernard Software
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 348 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20060130/b3a2ba5b/conncache.c.obj
More information about the samba-technical