[prev in list] [next in list] [prev in thread] [next in thread] 

List:       cifs-protocol
Subject:    Re: [cifs-protocol] Flags field in [MS-SMB2] 2.2.14 SMB2 CREATE Response? - TrackingID#2302140040008
From:       Volker Lendecke via cifs-protocol <cifs-protocol () lists ! samba ! org>
Date:       2023-03-25 9:51:58
Message-ID: ZB7EPoj8sYmnowuX () sernet ! de
[Download RAW message or body]

Hi Sreekanth,

thanks for finding that out. I am just wondering in what cases a
symlink will be followed on the server side. I had thought that
symlinks will always be opened client-side at least for SMB2+.

Volker

Am Fri, Mar 24, 2023 at 08:38:02PM +0000 schrieb Sreekanth Nadendla:
> Hi Volker, the flag SMB2_CREATE_FLAG_REPARSEPOINT is set only if
> reparse point is getting resolved on the server. Ultimately it boils
> down to what is being asked to open i.e. the underlying file that
> the symlink is pointing to or it's definition which is the link file
> itself ( On windows, a filter driver reads it's contents so that the
> target file can be opened).
> 
> Suggested draft change to the spec is as shown below. We will review
> other sections and modify them so that the processing rule will be
> clear.
> 
> Section 2.2.14 SMB2 CREATE Response defines the flags field with \
>                 SMB2_CREATE_FLAG_REPARSEPOINT (0x01). 
> . . . . . . . . . . . . . .. . . . . . . . . . . . . .   
> This MUST be used when the last component of a file opened is a reparse point, and \
> create request Create Options does NOT contain FILE_OPEN_REPARSE_POINT. 
> 
> 
> Regards,
> Sreekanth Nadendla
> Microsoft Windows Open Specifications
> 
> -----Original Message-----
> From: Volker Lendecke <Volker.Lendecke@sernet.de> 
> Sent: Friday, March 3, 2023 2:56 AM
> To: Sreekanth Nadendla <srenaden@microsoft.com>
> Cc: cifs-protocol@lists.samba.org; Microsoft Support <supportmail@microsoft.com>
> Subject: Re: [EXTERNAL] Flags field in [MS-SMB2] 2.2.14 SMB2 CREATE Response? - \
> TrackingID#2302140040008793 
> Hi Sreekanth,
> 
> Am Wed, Feb 22, 2023 at 06:36:33PM +0000 schrieb Sreekanth Nadendla:
> > Hi Volker, you can also use a windows 11 install as the SMB server.
> 
> apologies for the late response, but the result with Windows 11 is the same. This \
> is a trace against 
> Edition Windows 11 Pro
> Version 21H2
> Installiert am  ‎12.‎10.‎2022
> Betriebssystembuild     22000.1641
> Leistung        Windows Feature Experience Pack 1000.22000.1641.0
> 
> as a server. In frame 22 you see FileAttributes a 0x420, which means ARCHIVE and \
> REPARSE_POINT, but the Response Flags says it's not a reparse point. 
> Thanks,
> 
> Volker

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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic