summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
Diffstat (limited to 'source4')
-rw-r--r--source4/libnet/libnet_join.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/libnet/libnet_join.c b/source4/libnet/libnet_join.c
index 353fd6a7b1..a580cc6b13 100644
--- a/source4/libnet/libnet_join.c
+++ b/source4/libnet/libnet_join.c
@@ -970,8 +970,8 @@ NTSTATUS libnet_JoinDomain(struct libnet_context *ctx, TALLOC_CTX *mem_ctx, stru
talloc_steal(mem_ctx, samr_pipe);
r->out.samr_binding = samr_binding;
talloc_steal(mem_ctx, samr_binding);
- r->out.user_handle = cu.out.user_handle;
- talloc_steal(mem_ctx, cu.out.user_handle);
+ r->out.user_handle = u_handle;
+ talloc_steal(mem_ctx, u_handle);
r->out.error_string = r2.samr_handle.out.error_string;
talloc_steal(mem_ctx, r2.samr_handle.out.error_string);
r->out.kvno = 0;