winbind: Replace winbind_event_context with server_event_context
[nivanova/samba-autobuild/.git] / source3 / winbindd / winbindd_pam_auth.c
index 4f963a32818f4af7b675b932cca8519ac80bfa9e..7ff448889755f34f00aef7f87df015216cb8b000 100644 (file)
@@ -81,7 +81,7 @@ struct tevent_req *winbindd_pam_auth_send(TALLOC_CTX *mem_ctx,
                return tevent_req_post(req, ev);
        }
 
-       subreq = wb_domain_request_send(state, winbind_event_context(), domain,
+       subreq = wb_domain_request_send(state, server_event_context(), domain,
                                        request);
        if (tevent_req_nomem(subreq, req)) {
                return tevent_req_post(req, ev);