1
0
mirror of https://github.com/samba-team/samba.git synced 2025-08-02 00:22:11 +03:00

(Finally) fix bug #7158 - SMB2 connection resets during IOZone tests from 64-bit Vista client

It turns out that the persistent handles are used by the Microsoft
redirector to index files on oplock break requests. So even if we
don't do durable handles (yet) we must set the persistent handle
on create. For now just use the same handle value as we use for
volatile.

Jeremy.
This commit is contained in:
Jeremy Allison
2010-05-19 19:28:26 -07:00
parent ae02691200
commit af44593555
14 changed files with 24 additions and 13 deletions

View File

@ -88,7 +88,7 @@ NTSTATUS smbd_smb2_request_process_setinfo(struct smbd_smb2_request *req)
if (req->compat_chain_fsp) {
/* skip check */
} else if (in_file_id_persistent != 0) {
} else if (in_file_id_persistent != in_file_id_volatile) {
return smbd_smb2_request_error(req, NT_STATUS_FILE_CLOSED);
}