1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00
samba-mirror/source3/script
Noel Power d36bab52d0 s3/utils: when encoding ace string use "FA", "FR", "FW", "FX" string rights
prior to this patch rights matching "FA", "FR", "FW", "FX" were
outputted as the hex string representing the bit value.

While outputting the hex string is perfectly fine, it makes it harder
to compare icacls output (which always uses the special string values)

Additionally adjust various tests to deal with use of shortcut access masks
as sddl format now uses FA, FR, FW & FX strings (like icalcs does) instead
of hex representation of the bit mask.

adjust
  samba4.blackbox.samba-tool_ntacl
  samba3.blackbox.large_acl
  samba.tests.samba_tool.ntacl
  samba.tests.ntacls
  samba.tests.posixacl

so various string comparisons of the sddl format now pass

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>

[abartlet@samba.org Adapted to new stricter SDDL behaviour around leading zeros in hex
 numbers, eg 0x001]
2023-04-28 02:15:36 +00:00
..
tests s3/utils: when encoding ace string use "FA", "FR", "FW", "FX" string rights 2023-04-28 02:15:36 +00:00
count_80_col.pl
creategroup s3:script: Reformat shell scripts 2022-03-03 01:53:16 +00:00
fix_bool.pl
format_indent.sh
makeunicodecasemap.awk
mknissmbpasswd.sh s3:script: Reformat shell scripts 2022-03-03 01:53:16 +00:00
mknissmbpwdtbl.sh s3:script: Reformat shell scripts 2022-03-03 01:53:16 +00:00
mksmbpasswd.sh
mksyms.awk
mksyms.sh s3:script: Fix shellcheck errors in mksyms.sh 2022-08-22 14:20:36 +00:00
scancvslog.pl
smbaddshare
smbchangeshare
smbdeleteshare
smbtar s3:script: Reformat shell scripts 2022-03-03 01:53:16 +00:00
strip_trail_ws.pl
updatesmbpasswd.sh
wscript_build s3:script: Remove findsmb from default installation 2021-04-19 14:37:04 +00:00