summaryrefslogtreecommitdiff
path: root/source4/librpc/idl
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2004-11-18 01:02:27 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:05:57 -0500
commitbbf009b46f75f292a625b853b9331b5d5e0da7c2 (patch)
tree679baa8ec6a1fb4724870983e294573188f5c3c6 /source4/librpc/idl
parentcae123912c15ad7d7ecd44a6d468f368aaeab95c (diff)
downloadsamba-bbf009b46f75f292a625b853b9331b5d5e0da7c2.tar.gz
samba-bbf009b46f75f292a625b853b9331b5d5e0da7c2.tar.bz2
samba-bbf009b46f75f292a625b853b9331b5d5e0da7c2.zip
r3829: added a RAW-ACLS test suite that tests query/set of ACLs on a file
(This used to be commit 2ff9816ae0ae41e0e63e4276a70d292888346dc7)
Diffstat (limited to 'source4/librpc/idl')
-rw-r--r--source4/librpc/idl/security.idl23
1 files changed, 21 insertions, 2 deletions
diff --git a/source4/librpc/idl/security.idl b/source4/librpc/idl/security.idl
index ba75c0f54b..201868e531 100644
--- a/source4/librpc/idl/security.idl
+++ b/source4/librpc/idl/security.idl
@@ -46,9 +46,28 @@ interface security
uint32 sub_auths[num_auths];
} dom_sid;
+ const int SEC_ACE_FLAG_OBJECT_INHERIT = 0x001;
+ const int SEC_ACE_FLAG_CONTAINER_INHERIT = 0x002;
+ const int SEC_ACE_FLAG_NO_PROPAGATE_INHERIT = 0x004;
+ const int SEC_ACE_FLAG_INHERIT_ONLY = 0x008;
+ const int SEC_ACE_FLAG_INHERITED_ACE = 0x010;
+ const int SEC_ACE_FLAG_VALID_INHERIT = 0x00f;
+ const int SEC_ACE_FLAG_SUCCESSFUL_ACCESS = 0x040;
+ const int SEC_ACE_FLAG_FAILED_ACCESS = 0x080;
+
+ const int SEC_ACE_TYPE_ACCESS_ALLOWED = 0x0;
+ const int SEC_ACE_TYPE_ACCESS_DENIED = 0x1;
+ const int SEC_ACE_TYPE_SYSTEM_AUDIT = 0x2;
+ const int SEC_ACE_TYPE_SYSTEM_ALARM = 0x3;
+ const int SEC_ACE_TYPE_ALLOWED_COMPOUND = 0x4;
+ const int SEC_ACE_TYPE_ACCESS_ALLOWED_OBJECT = 0x5;
+ const int SEC_ACE_TYPE_ACCESS_DENIED_OBJECT = 0x6;
+ const int SEC_ACE_TYPE_SYSTEM_AUDIT_OBJECT = 0x7;
+ const int SEC_ACE_TYPE_SYSTEM_ALARM_OBJECT = 0x8;
+
typedef [public] struct {
- uint8 type; /* xxxx_xxxx_ACE_TYPE - e.g allowed / denied etc */
- uint8 flags; /* xxxx_INHERIT_xxxx - e.g OBJECT_INHERIT_ACE */
+ uint8 type; /* SEC_ACE_TYPE_* */
+ uint8 flags; /* SEC_ACE_FLAG_* */
[value(ndr_size_security_ace(r))] uint16 size;
uint32 access_mask;