summaryrefslogtreecommitdiff
path: root/source4/winbind/wb_async_helpers.c
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2005-10-24 09:34:12 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:45:12 -0500
commitd6e070b74af8891c5e6ee15d57f8c0db3aac2f14 (patch)
tree8fcc8ec487b6cd8443b10760d3e487a6462a1fa3 /source4/winbind/wb_async_helpers.c
parentef57650d6e47ead5b56934d0d38eefb389f364f5 (diff)
downloadsamba-d6e070b74af8891c5e6ee15d57f8c0db3aac2f14.tar.gz
samba-d6e070b74af8891c5e6ee15d57f8c0db3aac2f14.tar.bz2
samba-d6e070b74af8891c5e6ee15d57f8c0db3aac2f14.zip
r11274: Start a connection attempt to the DC's port 389. To do this properly, make
socket_connect and ldap_connect properly async. Volker (This used to be commit bcc71fc1deeed443d7cf00220ce264011ddf588d)
Diffstat (limited to 'source4/winbind/wb_async_helpers.c')
-rw-r--r--source4/winbind/wb_async_helpers.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source4/winbind/wb_async_helpers.c b/source4/winbind/wb_async_helpers.c
index 35f3ec3bb7..29fd167a93 100644
--- a/source4/winbind/wb_async_helpers.c
+++ b/source4/winbind/wb_async_helpers.c
@@ -686,8 +686,7 @@ struct composite_context *wb_cmd_checkmachacc_send(struct wbsrv_call *call)
state->domain = service->domains;
- ctx = wb_init_domain_send(state->domain, result->event_ctx,
- call->wbconn->conn->msg_ctx);
+ ctx = wb_init_domain_send(service, state->domain);
if (ctx == NULL) goto failed;
ctx->async.fn = cmd_checkmachacc_recv_init;
ctx->async.private_data = state;