1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-03 13:47:25 +03:00

add prs_dump() at the top level rpc switch

this gets us examples of all rpc messages sent to us
(This used to be commit ce3dd8db6d3cf6bfdbd695f6e32f60488c9073ae)
This commit is contained in:
Andrew Tridgell 2000-05-15 07:18:12 +00:00
parent 414caf80a2
commit 378ec58beb

View 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));