libcli: Fix parsing access flags from multiple tables
commit58c6c031f5d81b2c0aff5b282fe758cd668aeff3
authorVolker Lendecke <vl@samba.org>
Mon, 19 Apr 2021 14:00:27 +0000 (19 16:00 +0200)
committerJeremy Allison <jra@samba.org>
Wed, 21 Apr 2021 00:04:36 +0000 (21 00:04 +0000)
tree085cf186e2ee410fa70cf0d75aba2469bdd6fcc8
parentb113a3bbcd03ab6a62883fbca85ee8749e038887
libcli: Fix parsing access flags from multiple tables

We have to look at all available mappings for parsing sddl for each
special flag set. "GW" and "FX" come from two different tables, but
the previous code settled on one table and then expected both "GW" and
"FX" to come from that same table. Change the code to look at all
tables per special flag set.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Wed Apr 21 00:04:36 UTC 2021 on sn-devel-184
libcli/security/sddl.c
python/samba/tests/sddl.py