diff --git a/source/nsswitch/winbindd_dual.c b/source/nsswitch/winbindd_dual.c index fc8a95dfc0c..b72b7238b1f 100644 --- a/source/nsswitch/winbindd_dual.c +++ b/source/nsswitch/winbindd_dual.c @@ -192,7 +192,12 @@ static void async_reply_recv(void *private_data, BOOL success) if (!success) { DEBUG(5, ("Could not receive async reply\n")); + + cache_cleanup_response(child->pid); + DLIST_REMOVE(child->requests, state); + state->response->result = WINBINDD_ERROR; + state->continuation(state->private_data, False); return; }