1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-12 09:18:10 +03:00

s3:smbd: only pass the chained file handle for related compounded SMB2 requests

metze
This commit is contained in:
Stefan Metzmacher 2009-06-09 19:31:15 +02:00
parent 3d220f9fce
commit 4ae8bf09e6

View File

@ -406,6 +406,10 @@ static NTSTATUS smbd_smb2_request_dispatch(struct smbd_smb2_request *req)
return smbd_smb2_request_error(req, req->next_status);
}
if ((flags & SMB2_HDR_FLAG_CHAINED) == 0) {
req->compat_chain_fsp = NULL;
}
switch (opcode) {
case SMB2_OP_NEGPROT:
return smbd_smb2_request_process_negprot(req);