From fcdb99f7ce049494063c88a495dabd8849cf251c Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Sun, 29 Apr 2007 21:40:48 +0000 Subject: r22582: Cleanups towards making winbind work again. We still have a long way to go, as this has bitrotted over the past months. This change in particular catches winbind up with the next composite_create() function. We also needed to remove an unused flags field, and fill in the lm response. Andrew Bartlett (This used to be commit bd26e4ffaf1c060fdc3aae28fd4393e83c5a83ea) --- source4/winbind/wb_connect_sam.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'source4/winbind/wb_connect_sam.c') diff --git a/source4/winbind/wb_connect_sam.c b/source4/winbind/wb_connect_sam.c index 393c5f8437..a14b7bd83b 100644 --- a/source4/winbind/wb_connect_sam.c +++ b/source4/winbind/wb_connect_sam.c @@ -61,11 +61,8 @@ struct composite_context *wb_connect_sam_send(TALLOC_CTX *mem_ctx, struct composite_context *result, *ctx; struct connect_samr_state *state; - result = talloc(mem_ctx, struct composite_context); + result = composite_create(mem_ctx, tree->session->transport->socket->event.ctx); if (result == NULL) goto failed; - result->state = COMPOSITE_STATE_IN_PROGRESS; - result->async.fn = NULL; - result->event_ctx = tree->session->transport->socket->event.ctx; state = talloc(result, struct connect_samr_state); if (state == NULL) goto failed; -- cgit