(Finally) fix bug #7158 - SMB2 connection resets during IOZone tests from 64-bit...
authorJeremy Allison <jra@samba.org>
Thu, 20 May 2010 02:28:26 +0000 (19:28 -0700)
committerJeremy Allison <jra@samba.org>
Thu, 20 May 2010 02:28:26 +0000 (19:28 -0700)
commitaf445935555dc3fab3cefc52b375dd18b8d9bb4c
treee800d21f0a757a30836c337bd17e1027089b796d
parentae02691200a2fd20b0c227a875a0997b50fc6612
(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.
14 files changed:
source3/smbd/globals.h
source3/smbd/smb2_break.c
source3/smbd/smb2_close.c
source3/smbd/smb2_create.c
source3/smbd/smb2_find.c
source3/smbd/smb2_flush.c
source3/smbd/smb2_getinfo.c
source3/smbd/smb2_ioctl.c
source3/smbd/smb2_lock.c
source3/smbd/smb2_notify.c
source3/smbd/smb2_read.c
source3/smbd/smb2_server.c
source3/smbd/smb2_setinfo.c
source3/smbd/smb2_write.c