smb2.streams attributes sub-test fails, returns NT_STATUS_OK when doing GET_FILE_INFO on file opened only for READ_DATA

Richard Sharpe realrichardsharpe at gmail.com
Thu Nov 15 12:30:48 MST 2012


Hi,

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.

-- 
Regards,
Richard Sharpe
(何以解憂?唯有杜康。--曹操)


More information about the samba-technical mailing list