diff options
author | Jeremy Allison <jra@samba.org> | 2010-05-19 19:28:26 -0700 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2010-05-19 19:28:26 -0700 |
commit | af445935555dc3fab3cefc52b375dd18b8d9bb4c (patch) | |
tree | e800d21f0a757a30836c337bd17e1027089b796d /source3/smbd/globals.h | |
parent | ae02691200a2fd20b0c227a875a0997b50fc6612 (diff) | |
download | samba-af445935555dc3fab3cefc52b375dd18b8d9bb4c.tar.gz |
(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.
Diffstat (limited to 'source3/smbd/globals.h')
-rw-r--r-- | source3/smbd/globals.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/smbd/globals.h b/source3/smbd/globals.h index f6dd36ea723..bb4f6950108 100644 --- a/source3/smbd/globals.h +++ b/source3/smbd/globals.h @@ -269,6 +269,7 @@ NTSTATUS smbd_smb2_request_done_ex(struct smbd_smb2_request *req, smbd_smb2_request_done_ex(req, NT_STATUS_OK, body, dyn, __location__) NTSTATUS smbd_smb2_send_oplock_break(struct smbd_server_connection *sconn, + uint64_t file_id_persistent, uint64_t file_id_volatile, uint8_t oplock_level); |