Does the CreateDisposition flag of a client depend on Server's response ?

varun mittal vmittal05 at gmail.com
Fri Jan 27 19:57:36 UTC 2023


> Wireshark will be the key. Compare between Windows server and Samba.

That is what I thought and have started looking. Any suggestions on which
call in particular, there are so many :)

BTW, with a Windows server, the flag is FILE_OPEN_IF


On Sat, Jan 28, 2023 at 12:34 AM Jeremy Allison <jra at samba.org> wrote:

> On Fri, Jan 27, 2023 at 07:28:03PM +0100, Ralph Boehme via samba-technical
> wrote:
> >On 1/27/23 19:14, varun mittal via samba-technical wrote:
> >>The SMB2 spec says that the application decides the CreateDisposition
> flag.
> >>Since the client is same in both cases, is there something in the initial
> >>responses by the server that would cause this ?
> >
> >well, the short answer is probably "no", as CreateDisposition flag is
> >client chosed, as you've already found out yourself. Otoh, *something*
> >seems to trigger the different behaviour and there may well be
> >differences in server behaviour, so I would check everything server
> >side that may affect wire behaviour starting at the top like checking
> >basic configuration down to the bottom ie compare every bit on the
> >wire with wireshark until you find the difference.
>
> Wireshark will be the key. Compare between Windows server and Samba.
>


More information about the samba-technical mailing list