diff options
author | Stefan Metzmacher <metze@samba.org> | 2006-12-12 07:46:06 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:29:09 -0500 |
commit | e99ea0a1e1d5666a3a63beba968f9ca23bc33227 (patch) | |
tree | 3a3db64c5a0592239b21ddbcb42b98d1ca7cc537 /source4/rpc_server | |
parent | 334f78d206d37cbb5863af38cb5160d69fcd9183 (diff) | |
download | samba-e99ea0a1e1d5666a3a63beba968f9ca23bc33227.tar.gz samba-e99ea0a1e1d5666a3a63beba968f9ca23bc33227.tar.bz2 samba-e99ea0a1e1d5666a3a63beba968f9ca23bc33227.zip |
r20114: from Julien Kerihuel <j.kerihuel@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
(This used to be commit ed4c7ce547c61907291d19c172d5eb6f4c4981fe)
Diffstat (limited to 'source4/rpc_server')
-rw-r--r-- | source4/rpc_server/remote/dcesrv_remote.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/rpc_server/remote/dcesrv_remote.c b/source4/rpc_server/remote/dcesrv_remote.c index d2aabc8033..3bc3f79bb5 100644 --- a/source4/rpc_server/remote/dcesrv_remote.c +++ b/source4/rpc_server/remote/dcesrv_remote.c @@ -167,6 +167,8 @@ static NTSTATUS remote_op_dispatch(struct dcesrv_call_state *dce_call, TALLOC_CT 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); |