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:
@ -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);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user