r11274: Start a connection attempt to the DC's port 389. To do this properly, make
[samba.git] / source4 / winbind / wb_domain_request.c
index b516331f8a8edc25e25deaa09789adb2e8c32fc4..8c95c20a56c831fdd2d6361b95d51a0501f31af6 100644 (file)
@@ -102,9 +102,7 @@ static void domain_request_recv_domain(struct composite_context *ctx)
        state->domain->busy = True;
 
        if (!state->domain->initialized) {
-               ctx = wb_init_domain_send(state->domain,
-                                         state->service->task->event_ctx,
-                                         state->service->task->msg_ctx);
+               ctx = wb_init_domain_send(state->service, state->domain);
                composite_continue(state->ctx, ctx, domain_request_recv_init,
                                   state);
                return;