done.

Hopefully I got it right... :)

On 7/10/25 10:04 PM, Obaid Farooqi wrote:
Hi Ralph:
I need t.cab traces for this new scenario.
Please send me t.cab and the network capture (collected at the same time).

Regards,
Obaid Farooqi
Sr. Escalation Engineer | Microsoft

-----Original Message-----
From: Obaid Farooqi
Sent: Thursday, July 10, 2025 1:34 PM
To: Ralph Boehme <s...@samba.org>
Cc: Microsoft Support <supportm...@microsoft.com>; cifs-protocol@lists.samba.org
Subject: RE: [EXTERNAL] MS-SMB2: Create replay and Persistent Handle - 
TrackingID#2506160040006768

Hi Ralph:
I am looking into this.

Regards,
Obaid Farooqi
Sr. Escalation Engineer | Microsoft

-----Original Message-----
From: Ralph Boehme <s...@samba.org>
Sent: Tuesday, July 8, 2025 7:25 AM
To: Obaid Farooqi <oba...@microsoft.com>
Cc: Microsoft Support <supportm...@microsoft.com>; cifs-protocol@lists.samba.org
Subject: Re: [EXTERNAL] MS-SMB2: Create replay and Persistent Handle - 
TrackingID#2506160040006768

Hi Obaid

On 7/2/25 9:53 PM, Obaid Farooqi wrote:
When Open.Connection is not NULL and a create is received with replay
flag set, the server will return status_file_not_available.
hm, not sure if this will correctly cover the non-persistent DHv2 case?

See attached trace from a Windows Server 2022 which just opens a new handle (p. 
34/35): as the preceeding WRITE (p. 32/33) has set Open.IsReplayEligible to 
False, the create replay doesn't find an open that is eligible for replay and 
handles it as a new open instead:

---8<---
3.3.5.9.10 Handling the SMB2_CREATE_DURABLE_HANDLE_REQUEST_V2 Create Context

...

The server MUST locate the Open in GlobalOpenTable where Open.IsReplayEligible 
is TRUE and Open.CreateGuid matches the CreateGuid in the 
SMB2_CREATE_DURABLE_HANDLE_REQUEST_V2 create context, and Open.ClientGuid 
matches the ClientGuid of the connection that received this request.

If an Open is not found, the server MUST continue the create process specified in the 
"Open Execution" Phase, ...
---8<---

I'll upload the trace via the link you provided.

Thanks!
-slow

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

_______________________________________________
cifs-protocol mailing list
cifs-protocol@lists.samba.org
https://lists.samba.org/mailman/listinfo/cifs-protocol

Reply via email to