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

vlendec at samba.org vlendec at samba.org
Sun Nov 20 17:02:29 GMT 2005


Author: vlendec
Date: 2005-11-20 17:02:28 +0000 (Sun, 20 Nov 2005)
New Revision: 11810

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

Log:
Fix talloc hierarchy
Modified:
   branches/SAMBA_4_0/source/librpc/rpc/dcerpc.c


Changeset:
Modified: branches/SAMBA_4_0/source/librpc/rpc/dcerpc.c
===================================================================
--- branches/SAMBA_4_0/source/librpc/rpc/dcerpc.c	2005-11-20 16:28:39 UTC (rev 11809)
+++ branches/SAMBA_4_0/source/librpc/rpc/dcerpc.c	2005-11-20 17:02:28 UTC (rev 11810)
@@ -582,7 +582,7 @@
 	if (conn->security_state.auth_info &&
 	    state->pkt.u.bind_ack.auth_info.length) {
 		c->status = ndr_pull_struct_blob(
-			&state->pkt.u.bind_ack.auth_info, state,
+			&state->pkt.u.bind_ack.auth_info, conn,
 			conn->security_state.auth_info,
 			(ndr_pull_flags_fn_t)ndr_pull_dcerpc_auth);
 		if (!composite_is_ok(c)) return;
@@ -659,7 +659,7 @@
 	state->pkt.u.bind.auth_info = data_blob(NULL, 0);
 
 	/* construct the NDR form of the packet */
-	c->status = ncacn_push_auth(&state->blob, mem_ctx, &state->pkt,
+	c->status = ncacn_push_auth(&state->blob, state, &state->pkt,
 				    p->conn->security_state.auth_info);
 	if (!NT_STATUS_IS_OK(c->status)) {
 		goto failed;



More information about the samba-cvs mailing list