s3:smb2 fix Bug 8428 - wrong reply to DHnC (durable handle reconnect)
authorChristian Ambach <ambi@samba.org>
Tue, 30 Aug 2011 15:39:56 +0000 (17:39 +0200)
committerMichael Adam <obnox@samba.org>
Tue, 11 Oct 2011 13:21:05 +0000 (15:21 +0200)
commit9bb2e0af6c6842ca31a2e8e1c40188342f336a26
tree4bd67ce1adffd6b6593a9b81b140cb2ea75136e9
parenta2883e7233f0ebdbdfc257b3d10f2f7f1906762f
s3:smb2 fix Bug 8428 - wrong reply to DHnC (durable handle reconnect)

According to [MS-SMB2] 3.3.5.9.7
(http://msdn.microsoft.com/en-us/library/cc246784%28v=PROT.13%29.aspx),
smbd must reply with NT_STATUS_OBJECT_NAME_NOT_FOUND as it does not
support durable file-handles yet.

I have seen w2k8r2 running xcopy /C ending up in an endless loop
trying to get back the original file handle from smbd sending the same
requests over and over.

Metze, Jeremy, please check!

Signed-off-by: Jeremy Allison <jra@samba.org>
Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Tue Aug 30 22:20:36 CEST 2011 on sn-devel-104
source3/smbd/smb2_create.c