diff options
author | Andrew Tridgell <tridge@samba.org> | 2000-05-15 07:18:12 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2000-05-15 07:18:12 +0000 |
commit | 378ec58bebdbc2ae7c7306fc25f358a58478ecf8 (patch) | |
tree | c1eecc0db1d1781d0ecb0ead5e2be152128ef752 /source3/rpc_server | |
parent | 414caf80a2705c5953af03db736a0d9774fab9fc (diff) | |
download | samba-378ec58bebdbc2ae7c7306fc25f358a58478ecf8.tar.gz samba-378ec58bebdbc2ae7c7306fc25f358a58478ecf8.tar.bz2 samba-378ec58bebdbc2ae7c7306fc25f358a58478ecf8.zip |
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)
Diffstat (limited to 'source3/rpc_server')
-rw-r--r-- | source3/rpc_server/srv_pipe.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/rpc_server/srv_pipe.c b/source3/rpc_server/srv_pipe.c index 581d6c04bd..9c1ad2ef5a 100644 --- a/source3/rpc_server/srv_pipe.c +++ b/source3/rpc_server/srv_pipe.c @@ -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)); |