svn commit: samba r20114 - in branches/SAMBA_4_0/source/rpc_server/remote: .

metze at samba.org metze at samba.org
Tue Dec 12 07:46:06 GMT 2006


Author: metze
Date: 2006-12-12 07:46:06 +0000 (Tue, 12 Dec 2006)
New Revision: 20114

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

Log:
from Julien Kerihuel <j.kerihuel at openchange.org>, thanks!:

  I've attached the patch which fix this problem. I've only added 
  DCERPC_NDR_REF_ALLOC to the connection flags. This way it is processed 
  correctly by ndr_pull_init_flags and added to the ndr flags of the pull 
  structure.

metze
Modified:
   branches/SAMBA_4_0/source/rpc_server/remote/dcesrv_remote.c


Changeset:
Modified: branches/SAMBA_4_0/source/rpc_server/remote/dcesrv_remote.c
===================================================================
--- branches/SAMBA_4_0/source/rpc_server/remote/dcesrv_remote.c	2006-12-11 23:59:03 UTC (rev 20113)
+++ branches/SAMBA_4_0/source/rpc_server/remote/dcesrv_remote.c	2006-12-12 07:46:06 UTC (rev 20114)
@@ -167,6 +167,8 @@
 		ndr_print_function_debug(call->ndr_print, name, NDR_IN | NDR_SET_VALUES, r);		
 	}
 
+	private->c_pipe->conn->flags |= DCERPC_NDR_REF_ALLOC;
+
 	/* we didn't use the return code of this function as we only check the last_fault_code */
 	dcerpc_ndr_request(private->c_pipe, NULL, table, opnum, mem_ctx,r);
 



More information about the samba-cvs mailing list