diff options
author | Stefan Metzmacher <metze@samba.org> | 2009-06-09 18:47:26 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2009-06-09 19:51:02 +0200 |
commit | c8b3030f4042eb0b5f57415ad23d99d0cb28460e (patch) | |
tree | b0368e95951266db0114155dcea9c42b2ea427ed /source3/smbd/smb2_write.c | |
parent | c0b64051d3dd715b9fc6192e758695e4202bbb5a (diff) | |
download | samba-c8b3030f4042eb0b5f57415ad23d99d0cb28460e.tar.gz samba-c8b3030f4042eb0b5f57415ad23d99d0cb28460e.tar.xz samba-c8b3030f4042eb0b5f57415ad23d99d0cb28460e.zip |
s3:smbd: skip file handle checks for SMB2 compounded requests
metze
Diffstat (limited to 'source3/smbd/smb2_write.c')
-rw-r--r-- | source3/smbd/smb2_write.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source3/smbd/smb2_write.c b/source3/smbd/smb2_write.c index 43a312ad7e..ccfe3b3434 100644 --- a/source3/smbd/smb2_write.c +++ b/source3/smbd/smb2_write.c @@ -90,7 +90,9 @@ NTSTATUS smbd_smb2_request_process_write(struct smbd_smb2_request *req) in_data_buffer.data = (uint8_t *)req->in.vector[i+2].iov_base; in_data_buffer.length = in_data_length; - if (in_file_id_persistent != 0) { + if (req->compat_chain_fsp) { + /* skip check */ + } else if (in_file_id_persistent != 0) { return smbd_smb2_request_error(req, NT_STATUS_FILE_CLOSED); } |