This region is "available for application-specific data" in the
CLAIM_SECURITY_ATTRIBUTE_ space, according to [MS-DTYP] 2.4.10.1,
so it nicer to use that, even though we are not actually setting the
flag on the V1 claims.
Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* operator that argument has been resolved into an ordinary
* token. So we set the flag so the operator can know.
*/
- const uint32 CONDITIONAL_ACE_FLAG_TOKEN_FROM_ATTR = 0x8000;
+ const uint32 CONDITIONAL_ACE_FLAG_TOKEN_FROM_ATTR = 1 << 31;
/*
* The maximum size of the conditional ACE conditions in the
CLAIM_SECURITY_ATTRIBUTE_MANDATORY = 0x20,
/*
* Conditional ACEs use some of the above flags in
- * combination with an internal one at the other end
- * of a 16 bit field (defined in conditional_ace.idl).
+ * combination with an internal one defined in
+ * conditional_ace.idl.
* This next definition is warning us in case a clash
* develops (which seems very unlikely).
*/
- CLAIM_SECURITY_ATTRIBUTE_RESERVED_FOR_SAMBA = 0x8000
+ CLAIM_SECURITY_ATTRIBUTE_RESERVED_FOR_SAMBA = 1UL << 31
} claim_flags;
/*