smb2.streams attributes sub-test fails, returns NT_STATUS_OK when doing GET_FILE_INFO on file opened only for READ_DATA
realrichardsharpe at gmail.com
Thu Nov 15 13:59:35 MST 2012
On Thu, Nov 15, 2012 at 11:30 AM, Richard Sharpe
<realrichardsharpe at gmail.com> wrote:
> So, the smb2.streams attributes sub-test fails with:
> failure: attributes [
> (../source4/torture/smb2/streams.c:1726) Incorrect status NT_STATUS_OK
> - should be NT_STATUS_ACCESS_DENIED
> The file was opened only for READ_DATA in the access_mask.
> It seems that smbd_do_qfilepathinfo should include a test to ensure
> that fsp->access_mask includes FILE_READ_ATTRIBUTES.
> I am testing that now.
My initial change is not sufficient, because it spawns failures ...
More information about the samba-technical