Bug 8428 - wrong reply to DHnC (durable handle reconnect)
wrong reply to DHnC (durable handle reconnect)
Product: Samba 3.6
Classification: Unclassified
Component: SMB2
All All
: P5 normal
: ---
Assigned To: Karolin Seeger
Samba QA Contact
Depends on:
Blocks: 8399
  Show dependency treegraph
Reported: 2011-08-30 15:39 UTC by Christian Ambach
Modified: 2012-02-03 16:36 UTC (History)
1 user (show)

See Also:

proposed patch (2.61 KB, patch)
2011-08-30 15:45 UTC, Christian Ambach
jra: review+

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Ambach 2011-08-30 15:39:29 UTC
According to [MS-SMB2] (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 us sending the same requests over and over.

Proposed patch to be attached next
Comment 1 Christian Ambach 2011-08-30 15:45:04 UTC
Created attachment 6841 [details]
proposed patch

this patch is coming through autobuild
Comment 2 Jeremy Allison 2011-08-30 18:04:16 UTC
Comment on attachment 6841 [details]
proposed patch

Looks correct to me.
Comment 3 Jeremy Allison 2011-08-30 18:08:16 UTC
Re-assigning to Karolin for inclusion in 3.6.1.
Comment 4 Karolin Seeger 2011-08-30 19:16:37 UTC
Pushed to v3-6-test.
Closing out bug report.