summaryrefslogtreecommitdiffstats
path: root/source3/smbd/smb2_find.c
diff options
context:
space:
mode:
authorChristian Ambach <ambi@samba.org>2012-05-11 19:03:50 +0200
committerStefan Metzmacher <metze@samba.org>2012-05-29 10:45:32 +0200
commitaa7cd05e5b2efc45985a92c9f329099d40516876 (patch)
tree2edf1f239c9d065f504fa93c25b12fb1f5738d66 /source3/smbd/smb2_find.c
parent1bd3c0aefbaa3ee78b9a4bcae97d2a4b5d09d76b (diff)
downloadsamba-aa7cd05e5b2efc45985a92c9f329099d40516876.tar.gz
samba-aa7cd05e5b2efc45985a92c9f329099d40516876.tar.xz
samba-aa7cd05e5b2efc45985a92c9f329099d40516876.zip
s3:smbd/smb2_find 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/smbd/smb2_find.c')
-rw-r--r--source3/smbd/smb2_find.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/smbd/smb2_find.c b/source3/smbd/smb2_find.c
index 9c0d18b278f..eb221183f6a 100644
--- a/source3/smbd/smb2_find.c
+++ b/source3/smbd/smb2_find.c
@@ -278,6 +278,10 @@ static struct tevent_req *smbd_smb2_find_send(TALLOC_CTX *mem_ctx,
}
if (in_output_buffer_length > smb2req->sconn->smb2.max_trans) {
+ DEBUG(2,("smbd_smb2_find_send: "
+ "client ignored max trans:%s: 0x%08X: 0x%08X\n",
+ __location__, in_output_buffer_length,
+ smb2req->sconn->smb2.max_trans));
tevent_req_nterror(req, NT_STATUS_INVALID_PARAMETER);
return tevent_req_post(req, ev);
}