Hello dochelp,

according to MS-FSA 2.1.5.14 "Server Requests a Query of Security Information" when querying the SD of a stream the request should be failed:

* If Open.Stream.StreamType is DataStream and Open.Stream.Name
  is not empty, the operation MUST be failed with
  STATUS_INVALID_PARAMETER; security information can be may
  only be queried on a file or directory handle, not on a
  stream handle.

But if I query an SD of a stream via SMB3 against a Windows server (Windows Server 2022) I get back the current SD of open.file, network trace attached.

MS-FSA 2.1.5.17 "Server Requests Setting of Security Information" has the same clause and setting an SD also works.

Is this a doc or product bug? Or am I missing something?

Can you please check and clarify?

Thanks!
-slow

Attachment: query-sd-stream.pcapng.gz
Description: application/gzip

Attachment: set-sd-stream.pcapng.gz
Description: application/gzip

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

_______________________________________________
cifs-protocol mailing list
[email protected]
https://lists.samba.org/mailman/listinfo/cifs-protocol

Reply via email to