CVE-2023-4154 python:sd_utils: introduce update_aces_in_dacl() helper
authorStefan Metzmacher <metze@samba.org>
Fri, 10 Mar 2023 17:25:18 +0000 (18:25 +0100)
committerJule Anger <janger@samba.org>
Mon, 9 Oct 2023 20:15:19 +0000 (22:15 +0200)
commitb65b141ed7572503fc896b5efd46b3a48ef847d1
tree73af4f7dbcf0bc6bf0c6047ffeff92a2f1622b55
parent704fadfb60e74bbaee41f0e37415c1f31734fb34
CVE-2023-4154 python:sd_utils: introduce update_aces_in_dacl() helper

This is a more generic api that can be re-used in other places
as well in future. It operates on a security descriptor object instead of
SDDL.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=15424

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
(cherry picked from commit 8411e6d302e25d10f1035ebbdcbde7308566e930)
python/samba/sd_utils.py