From ab4d635b92b116b02b88843b4ec4f5b7517bab1a Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Mon, 26 Sep 2005 11:47:55 +0000 Subject: r10504: - seperate implementation specific stuff, from the generic composite stuff. - don't use SMBCLI_REQUEST_* state's in the genreic composite stuff - move monitor_fn to libnet. NOTE: I have maybe found some bugs, in code that is dirrectly in DONE or ERROR state in the _send() function. I haven't fixed this bugs in this commit! We may need some composite_trigger_*() functions or so. And maybe some other generic helper functions... metze (This used to be commit 4527815a0a9b96e460f301cb1f0c0b3964c166fc) --- source4/winbind/wb_samba3_cmd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source4/winbind/wb_samba3_cmd.c') diff --git a/source4/winbind/wb_samba3_cmd.c b/source4/winbind/wb_samba3_cmd.c index 4ff54e25b4..5f79e74a92 100644 --- a/source4/winbind/wb_samba3_cmd.c +++ b/source4/winbind/wb_samba3_cmd.c @@ -60,7 +60,7 @@ struct check_machacc_state { static void wbsrv_samba3_check_machacc_reply(struct composite_context *action) { struct wbsrv_samba3_call *s3call = - talloc_get_type(action->async.private, + talloc_get_type(action->async.private_data, struct wbsrv_samba3_call); struct check_machacc_state *state = talloc_get_type(s3call->private_data, @@ -106,7 +106,7 @@ NTSTATUS wbsrv_samba3_check_machacc(struct wbsrv_samba3_call *s3call) /* setup the callbacks */ resolve_req->async.fn = wbsrv_samba3_check_machacc_reply; - resolve_req->async.private = s3call; + resolve_req->async.private_data = s3call; /* tell the caller we reply later */ s3call->call->flags |= WBSRV_CALL_FLAGS_REPLY_ASYNC; -- cgit