mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
security.idl: use sec_ace_object() in object switch
At some point sec_ace_object() is going to gain awareness of SEC_ACE_TYPE_ACCESS_ALLOWED_CALLBACK_OBJECT and the like. Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
parent
4ef7845b57
commit
34aa33a1a4
@ -658,11 +658,8 @@ interface security
|
||||
} CLAIM_SECURITY_ATTRIBUTE_RELATIVE_V1;
|
||||
|
||||
typedef [public,nodiscriminant] union {
|
||||
[case(SEC_ACE_TYPE_ACCESS_ALLOWED_OBJECT)] security_ace_object object;
|
||||
[case(SEC_ACE_TYPE_ACCESS_DENIED_OBJECT)] security_ace_object object;
|
||||
[case(SEC_ACE_TYPE_SYSTEM_AUDIT_OBJECT)] security_ace_object object;
|
||||
[case(SEC_ACE_TYPE_SYSTEM_ALARM_OBJECT)] security_ace_object object;
|
||||
[default];
|
||||
[default] security_ace_object object;
|
||||
[case(false)];
|
||||
} security_ace_object_ctr;
|
||||
|
||||
typedef [public,nodiscriminant,gensize] union {
|
||||
@ -674,7 +671,7 @@ interface security
|
||||
security_ace_flags flags; /* SEC_ACE_FLAG_* */
|
||||
[value(ndr_size_security_ace(r,ndr->flags))] uint16 size;
|
||||
uint32 access_mask;
|
||||
[switch_is(type)] security_ace_object_ctr object;
|
||||
[switch_is(sec_ace_object(type))] security_ace_object_ctr object;
|
||||
dom_sid trustee;
|
||||
[switch_is(type), subcontext(0), subcontext_size(ndr_subcontext_size_of_ace_coda(r, size, ndr->flags))] security_ace_coda coda;
|
||||
} security_ace;
|
||||
|
Loading…
Reference in New Issue
Block a user