summaryrefslogtreecommitdiff
path: root/libds/common
diff options
context:
space:
mode:
authorJoseph Sutton <josephsutton@catalyst.net.nz>2022-04-28 20:34:36 +1200
committerAndrew Bartlett <abartlet@samba.org>2022-09-16 02:32:36 +0000
commit0af5706b559e89c77123ed174b41fd3d01705aa5 (patch)
tree2edeab02cbbb2da95d25066151bb6e7abeb2d91e /libds/common
parent890d2c5cf5d47758b5429f87a064f04512ff7136 (diff)
downloadsamba-0af5706b559e89c77123ed174b41fd3d01705aa5.tar.gz
CVE-2020-25720 s4/dsdb/util: Add functions for dsHeuristics 28, 29
These are the newly-added AttributeAuthorizationOnLDAPAdd and BlockOwnerImplicitRights. BUG: https://bugzilla.samba.org/show_bug.cgi?id=14810 Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'libds/common')
-rw-r--r--libds/common/flags.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libds/common/flags.h b/libds/common/flags.h
index 75e04b0c488..bee1016b294 100644
--- a/libds/common/flags.h
+++ b/libds/common/flags.h
@@ -258,6 +258,8 @@
#define DS_HR_KVNOEMUW2K 0x00000011
#define DS_HR_TWENTIETH_CHAR 0x00000014
+#define DS_HR_ATTR_AUTHZ_ON_LDAP_ADD 0x0000001C
+#define DS_HR_BLOCK_OWNER_IMPLICIT_RIGHTS 0x0000001D
#define DS_HR_THIRTIETH_CHAR 0x0000001E
#define DS_HR_FOURTIETH_CHAR 0x00000028
#define DS_HR_FIFTIETH_CHAR 0x00000032