summaryrefslogtreecommitdiff
path: root/libcli/security/conditional_ace.h
AgeCommit message (Collapse)AuthorFilesLines
2023-11-09libcli/security: Optionally disallow device‐specific attributes and ↵Joseph Sutton1-0/+1
operators where they are not applicable Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2023-11-09libcli/security: Include missing headersJoseph Sutton1-0/+5
Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2023-10-01libcli/security: Parenthesize macro parameterJoseph Sutton1-4/+4
Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2023-09-26libcli:security: add code to interpret conditional ACESDouglas Bagnall1-0/+21
This doesn't actually *do* anything yet, for two reasons: 1. conditional ACEs are not checked in the libcli/security/access_check.c functions (or anywhere else), and will be treated just as they are now, as unknown types. 2. this file isn't mentioned in the wscript, so aren't compiled. We'll get to point 2 first. Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2023-09-26libcli:security: add functions to decode and decode RA ACEsDouglas Bagnall1-0/+16
Resource Attribute ACEs have similar syntactical components to conditional ACEs -- enough so that it is worth reusing the same functions, but not quite enough so that it is exactly simple. Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2023-09-26libcli:security: outline for sddl_conditional_ace.cDouglas Bagnall1-0/+11
This is to show where we're going to end up. Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2023-09-26libcli/security: add stub of conditional ACE code.Douglas Bagnall1-0/+43
This is just the outline of what will come, but first we'll add conditional ACE SDDL decoding in sddl_conditional_ace.c Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org>