CreateDisposition (4 bytes): Defines the action the server MUST take if the file that is specified in the name field already exists. For opening named pipes, this field may be set to any value by the client and MUST be ignored by the server. For other files, this field MUST contain one of the following values.
Value
Meaning
FILE_SUPERSEDE
0x00000000
If the file already exists, supersede it. Otherwise, create the file. This value SHOULD NOT be used for a printer object.<32>
FILE_OPEN
0x00000001
If the file already exists, return success; otherwise, fail the operation. MUST NOT be used for a printer object.
FILE_CREATE
0x00000002
If the file already exists, fail the operation; otherwise, create the file.
FILE_OPEN_IF
0x00000003
Open the file if it already exists; otherwise, create the file. This value SHOULD NOT be used for a printer object.<33>
FILE_OVERWRITE
0x00000004
Overwrite the file if it already exists; otherwise, fail the operation. MUST NOT be used for a printer object.
FILE_OVERWRITE_IF
0x00000005
Overwrite the file if it already exists; otherwise, create the file. This value SHOULD NOT be used for a printer object.<34>
Thank you for the information, explanation, and links Scott, much appreciated. About a month ago we started getting calls from VDI users that they weren't getting their profile when logging in. We store profiles on an Isilon CIFS share, and when the issue occurs, I see the following audit entry. This is reproducible, but it can take 10-20 login attempts before it happens. Has anyone seen this sort of behavior before, or is this error quite common and more of a red herring? Thanks again for any assistance.
scott_owens
60 Posts
1
January 13th, 2016 14:00
For DesiredAccess, refer to the following documentation from Microsoft
http://msdn.microsoft.com/en-us/library/ff469915.aspx
FILE_READ_DATA
0x00000001
FILE_WRITE_DATA
0x00000002
FILE_APPEND_DATA
0x00000004
FILE_READ_EA
0x00000008
FILE_WRITE_EA
0x00000010
FILE_EXECUTE
0x00000020
FILE_READ_ATTRIBUTES
0x00000080
FILE_WRITE_ATTRIBUTES
0x00000100
DELETE
0x00010000
READ_CONTROL
0x00020000
WRITE_DAC
0x00040000
WRITE_OWNER
0x00080000
SYNCHRONIZE
0x00100000
ACCESS_SYSTEM_SECURITY
0x01000000
MAXIMAL_ACCESS
0x02000000
GENERIC_ALL
0x10000000
GENERIC_EXECUTE
0x20000000
GENERIC_WRITE
0x40000000
GENERIC_READ
0x80000000
So for a DesiredAccess of 128
which is hex 0x00000080
So that corresponds to FILE_READ_ATTRIBUTES
scott_owens
60 Posts
2
January 13th, 2016 14:00
Create Disposition is outlined on the following
https://msdn.microsoft.com/en-us/library/cc246502.aspx
CreateDisposition (4 bytes): Defines the action the server MUST take if the file that is specified in the name field already exists. For opening named pipes, this field may be set to any value by the client and MUST be ignored by the server. For other files, this field MUST contain one of the following values.
Value
Meaning
FILE_SUPERSEDE
0x00000000
If the file already exists, supersede it. Otherwise, create the file. This value SHOULD NOT be used for a printer object.<32>
FILE_OPEN
0x00000001
If the file already exists, return success; otherwise, fail the operation. MUST NOT be used for a printer object.
FILE_CREATE
0x00000002
If the file already exists, fail the operation; otherwise, create the file.
FILE_OPEN_IF
0x00000003
Open the file if it already exists; otherwise, create the file. This value SHOULD NOT be used for a printer object.<33>
FILE_OVERWRITE
0x00000004
Overwrite the file if it already exists; otherwise, fail the operation. MUST NOT be used for a printer object.
FILE_OVERWRITE_IF
0x00000005
Overwrite the file if it already exists; otherwise, create the file. This value SHOULD NOT be used for a printer object.<34>
scott_owens
60 Posts
1
January 13th, 2016 14:00
NTSTATUS is documented in the following article from Microsoft
https://msdn.microsoft.com/en-us/library/cc704588.aspx
desimus
49 Posts
0
January 16th, 2016 09:00
Thank you for the information, explanation, and links Scott, much appreciated. About a month ago we started getting calls from VDI users that they weren't getting their profile when logging in. We store profiles on an Isilon CIFS share, and when the issue occurs, I see the following audit entry. This is reproducible, but it can take 10-20 login attempts before it happens. Has anyone seen this sort of behavior before, or is this error quite common and more of a red herring? Thanks again for any assistance.