diff options
author | Andrew Bartlett <abartlet@samba.org> | 2005-10-04 00:59:59 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:39:21 -0500 |
commit | 2e3c91795747108795224f307a9a97a9bd794cfe (patch) | |
tree | f39987b97df0a9a61b54f5c63952cc1298487013 /source4 | |
parent | 6bc8d37c20bf372a74d18621043588aee929008f (diff) | |
download | samba-2e3c91795747108795224f307a9a97a9bd794cfe.tar.gz samba-2e3c91795747108795224f307a9a97a9bd794cfe.tar.bz2 samba-2e3c91795747108795224f307a9a97a9bd794cfe.zip |
r10701: Ensure we return the right user handle.
Andrew Bartlett
(This used to be commit 732b247a498e0b90b9f0c711baaac51ad6402496)
Diffstat (limited to 'source4')
-rw-r--r-- | source4/libnet/libnet_join.c | 4 |
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; |