[Pfif] Subject: [cifs-protocol] CAR - NTCreateX options
John Dunning
johndun at microsoft.com
Fri Aug 15 17:39:27 GMT 2008
Hello,
I took a look at the capture raw-open. Frame 1091 is the frame which contains the client request Create with CreateOptions = 0x00002000, FILE_OPEN_BY_FILE_ID. The following frame, 1092 is the server response. The NTStatus returned by the server in that frame is: 0xC00000BB, Facility = FACILITY_SYSTEM, Severity = STATUS_SEVERITY_ERROR, Code = (187) STATUS_NOT_SUPPORTED.
Are we looking at the same data? I feel like I am missing something here.
I am still looking into the rest of your questions however I wanted to make sure I understood your first question:
" MS-SMB section 2.2.8 says that FILE_OPEN_BY_FILE_ID should return STATUS_NOT_SUPPORTED. We have found that win2008 returns STATUS_OK for this bit. Can you please tell us how this bit works?"
Thanks
John
-----Original Message-----
From: Stefan (metze) Metzmacher [mailto:metze at samba.org]
Sent: Friday, August 15, 2008 1:22 AM
To: John Dunning
Cc: tridge at samba.org; pfif at tridgell.net; cifs-protocol at samba.org
Subject: Re: [Pfif] Subject: [cifs-protocol] CAR - NTCreateX options
John Dunning schrieb:
> Hello,
> I failed to indicate what this request is regarding. The request I am working on is for your question:
>
> "MS-SMB section 2.2.8 says that FILE_OPEN_BY_FILE_ID should return STATUS_NOT_SUPPORTED. We have found that win2008 returns STATUS_OK for this bit. Can you please tell us how this bit works?
>
> We similarly noticed that w2008 returns the NT_STATUS_OK for each of the following bits:
>
> 0x00010000
> 0x00020000
> 0x00040000
> 0x00080000
>
> all of which are not documented in the current WSPP docs. Please clarify this behaviour, and if w2008 is not just ignoring these bits then please document what they mean.
>
> Please also tell us what the differences are for handling these bits between the SMB and SMB2 protocols. We have noticed (for example) that the w2008 SMB2 server returns STATUS_NOT_SUPPORTED for bit 0x00100000 in the create options, whereas the same server using the SMB protocol returns STATUS_OK, and the SMB2 documentation says it should return STATUS_INVALID_PARAMETER.
>
> You indicated that WIN2008 will return STATUS_OK in response to a SMB_COM_NT_CREATE_ANDX when the CreateOptions are set to FILE_OPEN_BY_FILE_ID.
> My review of the source code indicates that WIN2008 will return STATUS_NOT_SUPPORTED. Would it be possible for you to obtain a network trace of the behavior you are describing?
>
> In the meantime, I will continue researching the rest of your request.
raw-open: the looping over all create options start with frame 1049
smb2-create: the looping over all create options starts with frame 72
metze
More information about the cifs-protocol
mailing list