summaryrefslogtreecommitdiff
path: root/source4/libnet/groupman.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/libnet/groupman.c')
-rw-r--r--source4/libnet/groupman.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/source4/libnet/groupman.c b/source4/libnet/groupman.c
index 60b6aeb6b31..0bd7320ead5 100644
--- a/source4/libnet/groupman.c
+++ b/source4/libnet/groupman.c
@@ -127,13 +127,14 @@ static void continue_groupadd_created(struct tevent_req *subreq)
}
-NTSTATUS libnet_rpc_groupadd(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx,
+NTSTATUS libnet_rpc_groupadd(struct tevent_context *ev,
+ struct dcerpc_binding_handle *b,
+ TALLOC_CTX *mem_ctx,
struct libnet_rpc_groupadd *io)
{
struct composite_context *c;
- c = libnet_rpc_groupadd_send(mem_ctx, p->conn->event_ctx,
- p->binding_handle, io, NULL);
+ c = libnet_rpc_groupadd_send(mem_ctx, ev, b, io, NULL);
return libnet_rpc_groupadd_recv(c, mem_ctx, io);
}