summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2000-02-29 18:46:45 +0000
committerJeremy Allison <jra@samba.org>2000-02-29 18:46:45 +0000
commitf429162313c199b2b1466f25830c3241aa81f2b4 (patch)
treeca5c2ac805656ff99bd1730607a5003f59ff680d /source3/include
parent1f6f8c2241f2f25b6c3002fb91fe711cb352a07f (diff)
downloadsamba-f429162313c199b2b1466f25830c3241aa81f2b4.tar.gz
samba-f429162313c199b2b1466f25830c3241aa81f2b4.tar.bz2
samba-f429162313c199b2b1466f25830c3241aa81f2b4.zip
Fixes for strange Win2K attempts to auto-inherit ACLs.
Jeremy. (This used to be commit 41e37c51816ec048952ada1513c62f2689589001)
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/rpc_secdes.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/source3/include/rpc_secdes.h b/source3/include/rpc_secdes.h
index f497c25db6..791441173c 100644
--- a/source3/include/rpc_secdes.h
+++ b/source3/include/rpc_secdes.h
@@ -48,6 +48,7 @@
#define SEC_ACE_FLAG_CONTAINER_INHERIT 0x2
#define SEC_ACE_FLAG_NO_PROPAGATE_INHERIT 0x4
#define SEC_ACE_FLAG_INHERIT_ONLY 0x8
+#define SEC_ACE_FLAG_INHERITED_ACE 0x10 /* New for Windows 2000 */
#define SEC_ACE_FLAG_VALID_INHERIT 0xf
#define SEC_ACE_FLAG_SUCCESSFUL_ACCESS 0x40
#define SEC_ACE_FLAG_FAILED_ACCESS 0x80
@@ -58,6 +59,16 @@
#define SEC_DESC_DACL_DEFAULTED 0x0008
#define SEC_DESC_SACL_PRESENT 0x0010
#define SEC_DESC_SACL_DEFAULTED 0x0020
+/*
+ * New Windows 2000 bits.
+ */
+#define SE_DESC_DACL_AUTO_INHERIT_REQ 0x0100
+#define SE_DESC_SACL_AUTO_INHERIT_REQ 0x0200
+#define SE_DESC_DACL_AUTO_INHERITED 0x0400
+#define SE_DESC_SACL_AUTO_INHERITED 0x0800
+#define SE_DESC_DACL_PROTECTED 0x1000
+#define SE_DESC_SACL_PROTECTED 0x2000
+
#define SEC_DESC_SELF_RELATIVE 0x8000
/* security information */