From 07b15cd9fd09adbda5acee00f5a32766e34c6654 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Wed, 1 Aug 2007 01:22:53 +0000 Subject: r24111: Untested code is broken code, untested code is broken code... Apologies for my previous commit, which should never have been commited untested. Andrew Bartlett (This used to be commit ec69f41d093df598cb3969be0efdd6b8b804d423) --- source4/winbind/wb_name2domain.c | 2 +- source4/winbind/wb_sid2domain.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/source4/winbind/wb_name2domain.c b/source4/winbind/wb_name2domain.c index b31ccb1212..712722c71a 100644 --- a/source4/winbind/wb_name2domain.c +++ b/source4/winbind/wb_name2domain.c @@ -59,7 +59,7 @@ struct composite_context *wb_name2domain_send(TALLOC_CTX *mem_ctx, ctx = wb_cmd_lookupname_send(state, service, user_dom, user_name); if (ctx == NULL) goto failed; - composite_continue(result, ctx, name2domain_recv_sid, ctx->async.private_data); + composite_continue(result, ctx, name2domain_recv_sid, state); return result; failed: diff --git a/source4/winbind/wb_sid2domain.c b/source4/winbind/wb_sid2domain.c index de535cdcf9..257a1afdc0 100644 --- a/source4/winbind/wb_sid2domain.c +++ b/source4/winbind/wb_sid2domain.c @@ -94,7 +94,7 @@ struct composite_context *wb_sid2domain_send(TALLOC_CTX *mem_ctx, ctx = wb_cmd_lookupsid_send(state, service, state->sid); if (ctx == NULL) goto failed; - composite_continue(result, ctx, sid2domain_recv_name, ctx->async.private_data); + composite_continue(result, ctx, sid2domain_recv_name, state); return result; -- cgit