svn commit: samba r10701 - in branches/SAMBA_4_0/source/libnet: .

abartlet at samba.org abartlet at samba.org
Tue Oct 4 01:00:00 GMT 2005


Author: abartlet
Date: 2005-10-04 00:59:59 +0000 (Tue, 04 Oct 2005)
New Revision: 10701

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=10701

Log:
Ensure we return the right user handle.

Andrew Bartlett

Modified:
   branches/SAMBA_4_0/source/libnet/libnet_join.c


Changeset:
Modified: branches/SAMBA_4_0/source/libnet/libnet_join.c
===================================================================
--- branches/SAMBA_4_0/source/libnet/libnet_join.c	2005-10-04 00:46:31 UTC (rev 10700)
+++ branches/SAMBA_4_0/source/libnet/libnet_join.c	2005-10-04 00:59:59 UTC (rev 10701)
@@ -970,8 +970,8 @@
 	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;



More information about the samba-cvs mailing list