diff options
| author | Ralph Boehme <slow@samba.org> | 2022-08-14 18:46:24 +0200 |
|---|---|---|
| committer | Ralph Boehme <slow@samba.org> | 2022-08-23 12:54:08 +0000 |
| commit | 6d493a9d568c08cfe5242821ccbd5a5ee1fe5284 (patch) | |
| tree | d69f429fbc86024fa221a05886ec702216812e7e /python | |
| parent | 9b2d28157107602fcbe659664cf9ca25f08bb30b (diff) | |
| download | samba-6d493a9d568c08cfe5242821ccbd5a5ee1fe5284.tar.gz samba-6d493a9d568c08cfe5242821ccbd5a5ee1fe5284.tar.bz2 samba-6d493a9d568c08cfe5242821ccbd5a5ee1fe5284.zip | |
smbd: implement access checks for SMB2-GETINFO as per MS-SMB2 3.3.5.20.1
The spec lists the following as requiring special access:
- for requiring FILE_READ_ATTRIBUTES:
FileBasicInformation
FileAllInformation
FileNetworkOpenInformation
FileAttributeTagInformation
- for requiring FILE_READ_EA:
FileFullEaInformation
All other infolevels are unrestricted.
We ignore the IPC related infolevels:
FilePipeInformation
FilePipeLocalInformation
FilePipeRemoteInformation
BUG: https://bugzilla.samba.org/show_bug.cgi?id=15153
RN: Missing SMB2-GETINFO access checks from MS-SMB2 3.3.5.20.1
Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Autobuild-User(master): Ralph Böhme <slow@samba.org>
Autobuild-Date(master): Tue Aug 23 12:54:08 UTC 2022 on sn-devel-184
Diffstat (limited to 'python')
0 files changed, 0 insertions, 0 deletions
