diff options
author | Stefan Metzmacher <metze@samba.org> | 2007-02-23 13:42:00 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:48:49 -0500 |
commit | 067d8fd44ce4ab3ccaab654591efd2742ef3a4c0 (patch) | |
tree | 2a816d2533798ac133bf7e612c09908a1703654f /source4/librpc | |
parent | a626e5a274e94caa0d906a07dd25ada928e8a528 (diff) | |
download | samba-067d8fd44ce4ab3ccaab654591efd2742ef3a4c0.tar.gz samba-067d8fd44ce4ab3ccaab654591efd2742ef3a4c0.tar.bz2 samba-067d8fd44ce4ab3ccaab654591efd2742ef3a4c0.zip |
r21520: 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
(This used to be commit cec74f352822a767770e9e00e87a94d0e37d80c9)
Diffstat (limited to 'source4/librpc')
-rw-r--r-- | source4/librpc/rpc/dcerpc_util.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/librpc/rpc/dcerpc_util.c b/source4/librpc/rpc/dcerpc_util.c index 12760b3ba0..c3e104e78b 100644 --- a/source4/librpc/rpc/dcerpc_util.c +++ b/source4/librpc/rpc/dcerpc_util.c @@ -1387,6 +1387,8 @@ NTSTATUS dcerpc_secondary_context(struct dcerpc_pipe *p, 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); |