summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/torture/rpc/testjoin.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/torture/rpc/testjoin.c b/source4/torture/rpc/testjoin.c
index cfb34ad8ad..68d3f07844 100644
--- a/source4/torture/rpc/testjoin.c
+++ b/source4/torture/rpc/testjoin.c
@@ -324,8 +324,8 @@ struct test_join *torture_join_domain(const char *machine_name,
status = libnet_JoinDomain(libnet_ctx, libnet_r, libnet_r);
if (NT_STATUS_EQUAL(status, NT_STATUS_USER_EXISTS)) {
struct samr_DeleteUser d;
- d.in.user_handle = &libnet_r->out.user_handle;
- d.out.user_handle = &libnet_r->out.user_handle;
+ d.in.user_handle = libnet_r->out.user_handle;
+ d.out.user_handle = libnet_r->out.user_handle;
/* Delete machine account */
status = dcerpc_samr_DeleteUser(libnet_r->out.samr_pipe, tj, &d);