mirror of
https://github.com/samba-team/samba.git
synced 2025-12-16 00:23:52 +03:00
Fixes for strange Win2K attempts to auto-inherit ACLs.
Jeremy.
This commit is contained in:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user