summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Ambach <ambi@samba.org>2012-05-11 19:02:21 +0200
committerStefan Metzmacher <metze@samba.org>2012-05-29 10:44:55 +0200
commitf94d3d17e8a4ee7df0f1a8a95a23b4d6de40c089 (patch)
treec7d46d204f70e15db37c9bf470bd2906ea6486b2
parentac6417dfc6f0571dfb357d131222daf054abe7e6 (diff)
downloadsamba-f94d3d17e8a4ee7df0f1a8a95a23b4d6de40c089.tar.gz
samba-f94d3d17e8a4ee7df0f1a8a95a23b4d6de40c089.tar.bz2
samba-f94d3d17e8a4ee7df0f1a8a95a23b4d6de40c089.zip
s3:smbd/smb2_setinfo add a debug message
similar to the ones present in other paths Signed-off-by: Stefan Metzmacher <metze@samba.org>
-rw-r--r--source3/smbd/smb2_setinfo.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/smbd/smb2_setinfo.c b/source3/smbd/smb2_setinfo.c
index be506ccecf..d864bb2e47 100644
--- a/source3/smbd/smb2_setinfo.c
+++ b/source3/smbd/smb2_setinfo.c
@@ -82,6 +82,10 @@ NTSTATUS smbd_smb2_request_process_setinfo(struct smbd_smb2_request *req)
in_input_buffer.length = in_input_buffer_length;
if (in_input_buffer.length > req->sconn->smb2.max_trans) {
+ DEBUG(2,("smbd_smb2_request_process_setinfo: "
+ "client ignored max trans: %s: 0x%08X: 0x%08X\n",
+ __location__, in_input_buffer.length,
+ req->sconn->smb2.max_trans));
return smbd_smb2_request_error(req, NT_STATUS_INVALID_PARAMETER);
}