[cifs-protocol] [EXTERNAL] SMB2-WRITE with offset=-2 - TrackingID#2411220040008626

Ralph Boehme slow at samba.org
Sat Nov 23 14:44:07 UTC 2024


Hi Michael,

I just realized this had been asked before:

<https://lists.samba.org/archive/cifs-protocol/2020-May/003438.html>

You can close this case. :)

Thanks!
-slow

On 11/22/24 5:45 PM, Michael Bowen wrote:
> [DocHelp to bcc]
> 
> Hi,
> 
> Thanks for your question. We've created case 2411220040008626 to track this issue. One of our engineers will contact you soon.
> 
> Best regards,
> Michael Bowen
> Sr. Escalation Engineer - Microsoft® Corporation
>   
> -----Original Message-----
> From: Ralph Boehme <slow at samba.org>
> Sent: Friday, November 22, 2024 1:57 AM
> To: Interoperability Documentation Help <dochelp at microsoft.com>
> Cc: cifs-protocol at lists.samba.org
> Subject: [EXTERNAL] SMB2-WRITE with offset=-2
> 
> Hello dochelp,
> 
> according to MS-FSA 2.1.5.4 "Server Requests a Write"
> 
>     If ByteOffset equals -2, then set ByteOffset to
>     Open.CurrentByteOffset.
> 
> a write at this magic offset should happen at the at of the file.
> 
> However, if I try this over SMB3 against a Windows server this just fails with STATUS_INVALID_PARAMETER.
> 
> Is this not supposed to work over the wire?
> 
> Trace attached, cf packets 45+46.
> 
> Thanks!
> -slow

-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <http://lists.samba.org/pipermail/cifs-protocol/attachments/20241123/e3d187d1/OpenPGP_signature.sig>


More information about the cifs-protocol mailing list