1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-26 10:04:02 +03:00

r10701: Ensure we return the right user handle.

Andrew Bartlett
(This used to be commit 732b247a498e0b90b9f0c711baaac51ad6402496)
This commit is contained in:
Andrew Bartlett 2005-10-04 00:59:59 +00:00 committed by Gerald (Jerry) Carter
parent 6bc8d37c20
commit 2e3c917957

View File

@ -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;