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:16:07 +0000 (22:16 +0200)
commit60baeea804aeaf9a2ea618d14985a9b7560e03a7
treebdaaf5c6ca209fdcb974780cd022d1e8d5c55695
parentc7fba7218cd2c271e53268fc857e206aec4f98d7
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