Hi Bill,
I have done some more investigation on this issue, particularly around
doing a Trans2SetPathInfo() with the documented
FileEndOfFileInformation (0x104) level. It returns what I would
expect to be an acceptable error for an unknown info level. I have
attached a trace that shows this
Good morning Tim. Bill Wesse from the Documentation Support team here. I will
be your contact for this issue. We have created the following case to track our
investigation:
SRX091124600335 [MS-SMB] Trans2SetPathInfo() not enforcing share mode
I will begin work this morning, and will update you
Hello Tim. I think the difference in the response between the standard versus
pass-through level lies in how the file handle is obtained during the call
(given that TRANS2_SET_PATH_INFORMATION passes the path, and not the handle).
The logical conclusion from the trace is that pass-through gets
On Wed, Nov 25, 2009 at 05:14:26PM +, Bill Wesse wrote:
Hello Tim. I think the difference in the response between the standard versus
pass-through level lies in how the file handle is obtained during the call
(given that TRANS2_SET_PATH_INFORMATION passes the path, and not the handle).
-5438
FAX: +1(704) 665-9606
-Original Message-
From: Jeremy Allison [mailto:j...@samba.org]
Sent: Wednesday, November 25, 2009 1:46 PM
To: Bill Wesse
Cc: Tim Prouty; p...@tridgell.net; cifs-proto...@samba.org
Subject: Re: [cifs-protocol] SMB1 Trans2SetPathInfo() FileEndOfFileInformation
Question:
Which existing handle would the pass-through be using? The handle
opened in packet #28 is a separate tcp connection and a separte
session from the Trans2SetPathInfo in packet #33. I'm not aware of
any situation where the server is expected to share file handles
across multiple
Hi,
Based on the ZwSetInformationFile() docs
(http://msdn.microsoft.com/en-us/library/ms804363.aspx) and from my
testing of smb1 against a win7 share, in order to set
FileEndOfFileInformation it is necessary that the file is first opened
with FILE_WRITE_DATA in the access_mask. It then follows
Hi Tim,
Thanks for your ZwSetInformationFile() question. One of our team will contact
you shortly.
Tom Jebo
Microsoft Open Specifications Documentation Support
-Original Message-
From: Tim Prouty [mailto:tim.pro...@isilon.com]
Sent: Tuesday, November 24, 2009 6:07 PM
To:
Thanks Tom. The question is really about SMB1 Trans2SetPathInfo(). I
was just
referencing ZwSetInformationFile() for some background on the issue.
-Tim
On Nov 24, 2009, at 3:35 PM, Tom Jebo wrote:
Hi Tim,
Thanks for your ZwSetInformationFile() question. One of our team
will contact