1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00
samba-mirror/libcli/security
Joseph Sutton e20067c52d auth: Make more liberal use of SID index constants
Arrays of SIDs are handled not fully consistently throughout the
codebase. Sometimes SIDs in the first and second positions represent a
user and a primary group respectively; other times they don't mean
anything in particular. Using these index constants in situations of the
former sort can help to clarify our intent.

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2023-02-08 00:03:39 +00:00
..
access_check.c CVE-2020-25720: s4-acl: Owner no longer has implicit Write DACL 2022-09-16 02:32:36 +00:00
access_check.h CVE-2020-25720: s4-acl: Owner no longer has implicit Write DACL 2022-09-16 02:32:36 +00:00
create_descriptor.c libcli/security: Move debug message to DBG_DEBUG() 2017-09-07 06:56:27 +02:00
display_sec.c libcli: Simplify get_sec_mask_str() 2021-10-08 19:28:32 +00:00
display_sec.h
dom_sid.c lib: relicense smb_strtoul(l) under LGPLv3 2020-08-03 22:21:02 +00:00
dom_sid.h libcli/security: Add auth_SidAttr utility functions 2023-02-08 00:03:39 +00:00
object_tree.c
privileges_private.h
privileges.c libcli: Align integer types 2021-10-08 19:28:31 +00:00
privileges.h libcli: Avoid an includes.h 2021-10-08 19:28:31 +00:00
pysecurity.c Fix clang 9 missing-field-initializer warnings 2020-05-08 09:31:31 +00:00
sddl.c libcli security/sddl: Make sddl_encode_ace visible 2022-09-27 16:46:35 +00:00
sddl.h libcli security/sddl: Make sddl_encode_ace visible 2022-09-27 16:46:35 +00:00
secace.c
secace.h
secacl.c libcli: make_sec_acl() copies the ace_list, make that const 2021-01-22 19:54:38 +00:00
secacl.h libcli: make_sec_acl() copies the ace_list, make that const 2021-01-22 19:54:38 +00:00
secdesc.c libcli/security: Remove unused dup_sec_desc_buf() 2019-05-22 05:59:14 +00:00
secdesc.h libcli/security: Remove unused dup_sec_desc_buf() 2019-05-22 05:59:14 +00:00
security_descriptor.c libcli security_descriptor: Compare object type and inherited object type when comparing ACEs 2022-09-27 16:46:35 +00:00
security_descriptor.h libcli security_descriptor: Add function to delete a given ace from a security descriptor 2022-09-27 16:46:35 +00:00
security_token.c libcli: Remove unused security_token_has_sid_string() 2021-10-08 19:28:31 +00:00
security_token.h auth: Make more liberal use of SID index constants 2023-02-08 00:03:39 +00:00
security.h lib: Add required prerequisites for librpc/gen_ndr/security.h 2016-12-28 20:17:12 +01:00
session.c libcli: Simplify security_session_user_level() 2021-10-08 19:28:31 +00:00
session.h
util_sid.c libcli/security: Add auth_SidAttr utility functions 2023-02-08 00:03:39 +00:00
wscript_build build: Remove bld.gen_python_environments() 2019-03-21 04:06:14 +00:00