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

Jeremy Allison jra at
Fri Jan 27 19:04:07 UTC 2023

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