summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorChristian Ambach <ambi@samba.org>2012-05-11 19:03:32 +0200
committerStefan Metzmacher <metze@samba.org>2012-05-29 10:45:22 +0200
commit1bd3c0aefbaa3ee78b9a4bcae97d2a4b5d09d76b (patch)
tree8b85a05f9f36700973c46af0b5b31c85d82bb579 /source3
parentf94d3d17e8a4ee7df0f1a8a95a23b4d6de40c089 (diff)
downloadsamba-1bd3c0aefbaa3ee78b9a4bcae97d2a4b5d09d76b.tar.gz
samba-1bd3c0aefbaa3ee78b9a4bcae97d2a4b5d09d76b.tar.bz2
samba-1bd3c0aefbaa3ee78b9a4bcae97d2a4b5d09d76b.zip
s3:smbd/smb2_getinfo add a debug message
like the ones in the other calls that check for max sizes Signed-off-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'source3')
-rw-r--r--source3/smbd/smb2_getinfo.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/source3/smbd/smb2_getinfo.c b/source3/smbd/smb2_getinfo.c
index e8d918df38..0f5936524f 100644
--- a/source3/smbd/smb2_getinfo.c
+++ b/source3/smbd/smb2_getinfo.c
@@ -91,9 +91,17 @@ NTSTATUS smbd_smb2_request_process_getinfo(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_getinfo: "
+ "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);
}
if (in_output_buffer_length > req->sconn->smb2.max_trans) {
+ DEBUG(2,("smbd_smb2_request_process_getinfo: "
+ "client ignored max trans: %s: 0x%08X: 0x%08X\n",
+ __location__, in_output_buffer_length,
+ req->sconn->smb2.max_trans));
return smbd_smb2_request_error(req, NT_STATUS_INVALID_PARAMETER);
}