diff options
author | Volker Lendecke <vl@sernet.de> | 2008-09-09 14:43:20 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2008-09-09 17:37:34 +0200 |
commit | 0b31c97e8267c70b6fa812d5d2783eb966b6bdca (patch) | |
tree | 4b42aead60d73925eb12e90b54eecaaa4591b555 /source3/smbd | |
parent | 2a934529942feb1b9411b5351e27cb0b5718ea34 (diff) | |
download | samba-0b31c97e8267c70b6fa812d5d2783eb966b6bdca.tar.gz samba-0b31c97e8267c70b6fa812d5d2783eb966b6bdca.tar.bz2 samba-0b31c97e8267c70b6fa812d5d2783eb966b6bdca.zip |
Add some debug to reply_nttrans
(This used to be commit 23e9fed28cf9998534b3c55f4b20a562da507552)
Diffstat (limited to 'source3/smbd')
-rw-r--r-- | source3/smbd/nttrans.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/source3/smbd/nttrans.c b/source3/smbd/nttrans.c index 567c428bb8..584399c86c 100644 --- a/source3/smbd/nttrans.c +++ b/source3/smbd/nttrans.c @@ -2582,6 +2582,17 @@ void reply_nttrans(struct smb_request *req) state->setup = NULL; state->call = function_code; + DEBUG(10, ("num_setup=%u, " + "param_total=%u, this_param=%u, max_param=%u, " + "data_total=%u, this_data=%u, max_data=%u, " + "param_offset=%u, data_offset=%u\n", + (unsigned)state->setup_count, + (unsigned)state->total_param, (unsigned)pscnt, + (unsigned)state->max_param_return, + (unsigned)state->total_data, (unsigned)dscnt, + (unsigned)state->max_data_return, + (unsigned)psoff, (unsigned)dsoff)); + /* * All nttrans messages we handle have smb_wct == 19 + * state->setup_count. Ensure this is so as a sanity check. |