struct tevent_context *ev;
struct winbindd_request *wb_req;
struct winbindd_response *wb_resp;
- int num_retries;
bool need_priv;
};
state->wb_ctx = wb_ctx;
state->ev = ev;
state->wb_req = wb_req;
- state->num_retries = 10;
state->need_priv = need_priv;
if (!tevent_queue_add(wb_ctx->queue, ev, req, wb_trans_trigger,
return true;
}
- state->num_retries -= 1;
- if (state->num_retries == 0) {
- tevent_req_error(req, wbc_err);
- return true;
- }
-
/*
* The transfer as such failed, retry after one second
*/