summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/rpc_client/cli_pipe.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/source3/rpc_client/cli_pipe.c b/source3/rpc_client/cli_pipe.c
index 829692ccc3..0d2f6b17e0 100644
--- a/source3/rpc_client/cli_pipe.c
+++ b/source3/rpc_client/cli_pipe.c
@@ -896,6 +896,11 @@ BOOL rpc_api_pipe_req(struct cli_state *cli, uint8 op_num,
ret = rpc_api_pipe(cli, 0x0026, &outgoing_packet, rdata);
+ /* Also capture received data */
+ slprintf(dump_name, sizeof(dump_name) - 1, "reply_%s",
+ cli_pipe_get_name(cli));
+ prs_dump(dump_name, op_num, rdata);
+
prs_mem_free(&outgoing_packet);
return ret;