diff options
Diffstat (limited to 'source4/libnet/libnet_group.c')
-rw-r--r-- | source4/libnet/libnet_group.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/source4/libnet/libnet_group.c b/source4/libnet/libnet_group.c index 2ca0cc1b18e..512d6fbf9f9 100644 --- a/source4/libnet/libnet_group.c +++ b/source4/libnet/libnet_group.c @@ -76,7 +76,9 @@ struct composite_context* libnet_CreateGroup_send(struct libnet_context *ctx, s->group_add.in.domain_handle = ctx->samr.handle; /* send the request */ - create_req = libnet_rpc_groupadd_send(ctx->samr.pipe, s, &s->group_add, monitor); + create_req = libnet_rpc_groupadd_send(s, s->ctx->event_ctx, + ctx->samr.samr_handle, + &s->group_add, monitor); if (composite_nomem(create_req, c)) return c; composite_continue(c, create_req, continue_rpc_group_added, c); @@ -101,8 +103,9 @@ static void continue_domain_opened(struct composite_context *ctx) s->group_add.in.domain_handle = s->ctx->samr.handle; /* send the request */ - create_req = libnet_rpc_groupadd_send(s->ctx->samr.pipe, s, &s->group_add, - s->monitor_fn); + create_req = libnet_rpc_groupadd_send(s, s->ctx->event_ctx, + s->ctx->samr.samr_handle, + &s->group_add, s->monitor_fn); if (composite_nomem(create_req, c)) return; composite_continue(c, create_req, continue_rpc_group_added, c); |