add prs_dump() at the top level rpc switch
authorAndrew Tridgell <tridge@samba.org>
Mon, 15 May 2000 07:18:12 +0000 (07:18 +0000)
committerAndrew Tridgell <tridge@samba.org>
Mon, 15 May 2000 07:18:12 +0000 (07:18 +0000)
this gets us examples of all rpc messages sent to us
(This used to be commit ce3dd8db6d3cf6bfdbd695f6e32f60488c9073ae)

source3/rpc_server/srv_pipe.c

index 581d6c04bdf025eabd2998403b355d5af26fe54e..9c1ad2ef5a2b72a2b2b17528031f163635dcc15b 100644 (file)
@@ -1084,6 +1084,8 @@ BOOL api_rpcTNP(pipes_struct *p, char *rpc_name, struct api_struct *api_rpc_cmds
        /* interpret the command */
        DEBUG(4,("api_rpcTNP: %s op 0x%x - ", rpc_name, p->hdr_req.opnum));
 
+       prs_dump(rpc_name, p->hdr_req.opnum, rpc_in);
+
        for (fn_num = 0; api_rpc_cmds[fn_num].name; fn_num++) {
                if (api_rpc_cmds[fn_num].opnum == p->hdr_req.opnum && api_rpc_cmds[fn_num].fn != NULL) {
                        DEBUG(3,("api_rpcTNP: rpc command: %s\n", api_rpc_cmds[fn_num].name));