diff options
author | Stefan Metzmacher <metze@samba.org> | 2014-08-20 13:43:13 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2014-08-22 00:28:08 +0200 |
commit | f56bfffa51d86f96f0e71cf0c3fe23f1008ddd88 (patch) | |
tree | b5982c853d00d4c0c5633de29b1333d8ec0950e8 /librpc | |
parent | 52063e90dd59492551c12df81ab8f68973f78cd7 (diff) | |
download | samba-f56bfffa51d86f96f0e71cf0c3fe23f1008ddd88.tar.gz samba-f56bfffa51d86f96f0e71cf0c3fe23f1008ddd88.tar.xz samba-f56bfffa51d86f96f0e71cf0c3fe23f1008ddd88.zip |
security.idl: add SMB_SUPPORTED_SECINFO_FLAGS
A SMB server should only care about specific SECINFO flags
and ignore others e.g. SECINFO_PROTECTED_DACL.
Bug: https://bugzilla.samba.org/show_bug.cgi?id=10773
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
Diffstat (limited to 'librpc')
-rw-r--r-- | librpc/idl/security.idl | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/librpc/idl/security.idl b/librpc/idl/security.idl index 381d6e5632..eb80a869b0 100644 --- a/librpc/idl/security.idl +++ b/librpc/idl/security.idl @@ -630,6 +630,24 @@ interface security SECINFO_PROTECTED_DACL = 0x80000000 } security_secinfo; + /* + * a SMB server should only support the following flags + * and ignore all others. + * + * See AdditionalInformation in [MS-SMB2] 2.2.37 SMB2 QUERY_INFO Request + * and 2.2.39 SMB2 SET_INFO Request. + */ + const int SMB_SUPPORTED_SECINFO_FLAGS = ( + SECINFO_OWNER | + SECINFO_GROUP | + SECINFO_DACL | + SECINFO_SACL | + SECINFO_LABEL | + SECINFO_ATTRIBUTE | + SECINFO_SCOPE | + SECINFO_BACKUP | + 0); + typedef [public,bitmap32bit] bitmap { KERB_ENCTYPE_DES_CBC_CRC = 0x00000001, KERB_ENCTYPE_DES_CBC_MD5 = 0x00000002, |