OSQA is unmaintained. Help us figure out where to go from here.

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

xerocool
6336
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 ♦♦
17.1k957245
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

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "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:

×145
×52
×8

question asked: 16 Mar '15, 23:52

question was seen: 767 times

last updated: 24 Mar '15, 14:08

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