]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s3:smbd/smb2_find add a debug message
authorChristian Ambach <ambi@samba.org>
Fri, 11 May 2012 17:03:50 +0000 (19:03 +0200)
committerStefan Metzmacher <metze@samba.org>
Tue, 29 May 2012 08:45:32 +0000 (10:45 +0200)
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

index 9c0d18b278fa7033e6ba33cf901742f85dab729b..eb221183f6a4be4e6c0577906d745abdd956219c 100644 (file)
@@ -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);
        }