This is our old Q&A Site. Please post any new questions and answers at

While accessing a folder in a share, the CreateOptions field in the SMB CREATE ANDX request has value of 64(0x00000040) i.e the Non directory bit is set. The response has NT Status: STATUS_SUCCESS (0x00000000) with 'file attribute' having the Directory bit as set.

So, is CreateOptions used only when a file/directory is being created and not when its opened?

asked 16 Mar '15, 23:52

xerocool's gravatar image

accept rate: 0%

Not really a Wireshark question, but if I think about it logically, there can not be a directory and file with the same name in one directory, so when opening a file with a certain name with the field set or not would still point to the same file, it is the response that is important. As it is by then that it is known whether the directory entry points to a file or directory.

permanent link

answered 24 Mar '15, 14:08

SYN-bit's gravatar image

SYN-bit ♦♦
accept rate: 20%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:


question asked: 16 Mar '15, 23:52

question was seen: 1,743 times

last updated: 24 Mar '15, 14:08

p​o​w​e​r​e​d by O​S​Q​A