summaryrefslogtreecommitdiff
path: root/libcli
diff options
context:
space:
mode:
authorNoel Power <noel.power@suse.com>2022-08-25 13:52:56 +0100
committerAndrew Bartlett <abartlet@samba.org>2023-04-28 02:15:36 +0000
commit0a153c1d58d8ae22432e990779afa0bb8fc9f9c9 (patch)
tree161716fdf190e0beca5fdefc5d22a97d02a5c3da /libcli
parent9fc6062bd3b8c44ccdef0ac6572c28b0798fb557 (diff)
downloadsamba-0a153c1d58d8ae22432e990779afa0bb8fc9f9c9.tar.gz
s3/utils: value for ace_flags value "FA" is incorrect
value for FA should be 0x001f01ff (instead of 0x00001ff) Signed-off-by: Noel Power <noel.power@suse.com> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Diffstat (limited to 'libcli')
-rw-r--r--libcli/security/sddl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcli/security/sddl.c b/libcli/security/sddl.c
index 74e0f0dccae..ee024b2b0d7 100644
--- a/libcli/security/sddl.c
+++ b/libcli/security/sddl.c
@@ -326,7 +326,7 @@ static const struct flag_map ace_access_mask[] = {
};
static const struct flag_map decode_ace_access_mask[] = {
- { "FA", FILE_ALL_ACCESS },
+ { "FA", FILE_GENERIC_ALL },
{ "FR", FILE_GENERIC_READ },
{ "FW", FILE_GENERIC_WRITE },
{ "FX", FILE_GENERIC_EXECUTE },