svn commit: samba r21520 - in branches/SAMBA_4_0/source/librpc/rpc: .

metze at samba.org metze at samba.org
Fri Feb 23 13:42:01 GMT 2007


Author: metze
Date: 2007-02-23 13:42:00 +0000 (Fri, 23 Feb 2007)
New Revision: 21520

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

Log:
fix the altercontext test... sorry

I'm only fixing the bug I introduced here,
not the rest of the mess in the pipe handling,
as we don't fill in pipe->binding and pipe->conn->binding_str
consistant...

metze
Modified:
   branches/SAMBA_4_0/source/librpc/rpc/dcerpc_util.c


Changeset:
Modified: branches/SAMBA_4_0/source/librpc/rpc/dcerpc_util.c
===================================================================
--- branches/SAMBA_4_0/source/librpc/rpc/dcerpc_util.c	2007-02-23 13:15:56 UTC (rev 21519)
+++ branches/SAMBA_4_0/source/librpc/rpc/dcerpc_util.c	2007-02-23 13:42:00 UTC (rev 21520)
@@ -1387,6 +1387,8 @@
 
 	p2->transfer_syntax = ndr_transfer_syntax;
 
+	p2->binding = talloc_reference(p2, p->binding);
+
 	status = dcerpc_alter_context(p2, p2, &p2->syntax, &p2->transfer_syntax);
 	if (!NT_STATUS_IS_OK(status)) {
 		talloc_free(p2);



More information about the samba-cvs mailing list