From aa7cd05e5b2efc45985a92c9f329099d40516876 Mon Sep 17 00:00:00 2001
From: Christian Ambach <ambi@samba.org>
Date: Fri, 11 May 2012 19:03:50 +0200
Subject: 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>
---
 source3/smbd/smb2_find.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/source3/smbd/smb2_find.c b/source3/smbd/smb2_find.c
index 9c0d18b278..eb221183f6 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);
 	}
-- 
cgit