mirror of
https://github.com/samba-team/samba.git
synced 2025-03-10 12:58:35 +03:00
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>
This commit is contained in:
parent
1bd3c0aefb
commit
aa7cd05e5b
@ -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) {
|
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);
|
tevent_req_nterror(req, NT_STATUS_INVALID_PARAMETER);
|
||||||
return tevent_req_post(req, ev);
|
return tevent_req_post(req, ev);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user