1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-06 13:18:07 +03:00
samba-mirror/testprogs/blackbox
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
..
wintest
bogus.sh testprogs: Make testit_expect_failure() return 0 on success 2023-04-12 13:52:32 +00:00
common_test_fns.inc testprogs: Make test_rpcclient_expect_failure_grep() return 0 on success 2023-04-12 13:52:32 +00:00
common-links.sh testprogs: Use system_or_builddir_binary() for dbcheck and runtime tests 2022-12-23 14:35:31 +00:00
dbcheck-links.sh testprogs: Use system_or_builddir_binary() for dbcheck and runtime tests 2022-12-23 14:35:31 +00:00
dbcheck-oldrelease.sh python/samba: let get_domain_descriptor() include adprep 2016 ACEs 2023-03-22 22:10:32 +00:00
dbcheck.sh blackbox/dbcheck: also run currently unused dbcheck_reset_well_known_acls 2023-03-22 22:10:32 +00:00
demote-saveddb.sh testprogs: Use system_or_builddir_binary() for demote-saveddb 2022-12-23 14:35:31 +00:00
dfree.sh testprogs: Reformat dfree.sh 2022-08-04 12:56:37 +00:00
dom_parse.sh testprogs: Reformat dom_parse.sh 2022-08-04 12:56:37 +00:00
functionalprep.sh python:provision: run adprep as part of provision 2023-03-22 22:10:32 +00:00
join_ldapcmp.sh testprogs: Reformat join_ldapcmp.sh 2022-08-04 12:56:37 +00:00
ldapcmp_restoredc.sh testprogs: Use system_or_builddir_binary() for ldapcmp_restoredc 2022-12-23 14:35:31 +00:00
nsstest.sh testprogs: Reformat nsstest.sh 2022-08-04 12:56:37 +00:00
renamedc.sh testprogs: Use system_or_builddir_binary() for renamedc 2022-12-23 14:35:31 +00:00
runtime-links.sh testprogs: Use system_or_builddir_binary() for dbcheck and runtime tests 2022-12-23 14:35:31 +00:00
schemaupgrade.sh python:provision: run adprep as part of provision 2023-03-22 22:10:32 +00:00
subunit.sh testprogs: Return correct status code 2023-04-12 13:52:32 +00:00
test_chgdcpass.sh testprogs: Fix shellcheck errors in test_chgdcpass.sh 2022-08-22 20:35:36 +00:00
test_client_etypes.sh testprogs: Reformat test_client_etypes.sh 2022-08-04 12:56:37 +00:00
test_client_kerberos.sh testprogs: Use system_or_builddir_binary() for test_client_kerberos 2022-12-23 14:35:31 +00:00
test_kinit_export_keytab.sh testprogs: Merge export keytab tests into a single script for MIT and Heimdal 2023-04-06 13:45:35 +00:00
test_kinit_trusts.sh testprogs: Merge kinit trust tests into a single script for MIT and Heimdal 2023-04-06 13:45:35 +00:00
test_kinit.sh testprogs: Merge kinit tests into a single script for MIT and Heimdal 2023-04-06 13:45:35 +00:00
test_kpasswd_heimdal.sh testprogs: Pass configuration to test_kpasswd_heimdal.sh 2023-04-06 13:45:35 +00:00
test_kpasswd_mit.sh testprogs: Make testit_expect_failure() return 0 on success 2023-04-12 13:52:32 +00:00
test_ktpass.sh testprogs: Use system_or_builddir_binary() for test_ktpass 2022-12-23 14:35:31 +00:00
test_ldb_simple.sh testprogs: Use system_or_builddir_binary() for test_ldb_simple 2022-12-23 14:35:31 +00:00
test_ldb.sh testprogs: Make testit_expect_failure() return 0 on success 2023-04-12 13:52:32 +00:00
test_net_ads_dns.sh testprogs: Make testit_expect_failure() return 0 on success 2023-04-12 13:52:32 +00:00
test_net_ads_fips.sh testprogs: Reformat test_net_ads_fips.sh 2022-08-10 09:22:30 +00:00
test_net_ads_search_server.sh testprogs/blackbox: add test_net_ads_search_server.sh 2023-04-06 12:51:30 +00:00
test_net_ads.sh testprogs: Make testit_expect_failure() return 0 on success 2023-04-12 13:52:32 +00:00
test_net_offline.sh testprogs: Reformat test_net_offline.sh 2022-08-10 09:22:30 +00:00
test_net_rpc_user.sh testprogs: Reformat test_net_rpc_user.sh 2022-08-10 09:22:30 +00:00
test_offline_logon.sh testprogs: Reformat test_offline_logon.sh 2022-08-10 09:22:30 +00:00
test_old_enctypes.sh testprogs: Use system_or_builddir_binary() for test_old_enctypes 2022-12-23 14:35:31 +00:00
test_password_settings.sh testprogs: Make test_smbclient_expect_failure() return 0 on success 2023-04-12 13:52:32 +00:00
test_pdbtest.sh testprogs: Make testit_expect_failure() return 0 on success 2023-04-12 13:52:32 +00:00
test_pkinit_pac.sh testprogs: Use system_or_builddir_binary() for test_pkinit_pac 2022-12-23 14:35:31 +00:00
test_pkinit_simple.sh testprogs: Use system_or_builddir_binary() for test_pkinit_simple 2022-12-23 14:35:31 +00:00
test_primary_group.sh testprogs: Set PREFIX_ABS before it is used in test_primary_group.sh 2023-04-14 06:18:18 +00:00
test_rpcclient_schannel.sh testprogs: Reformat test_rpcclient_schannel.sh 2022-08-10 09:22:30 +00:00
test_s4u_heimdal.sh testprogs: Reformat test_s4u_heimdal.sh 2022-08-10 09:22:30 +00:00
test_samba_upgradedns.sh testprogs: Reformat test_samba_upgradedns.sh 2022-08-10 09:22:30 +00:00
test_samba-tool_ntacl.sh s3/utils: when encoding ace string use "FA", "FR", "FW", "FX" string rights 2023-04-28 02:15:36 +00:00
test_smbtorture_test_names.sh testprogs: Reformat test_smbtorture_test_names.sh 2022-08-10 09:22:30 +00:00
test_special_group.sh testprogs/blackbox/test_special_group.sh: verify test results ($failed) 2023-03-03 11:58:34 +00:00
test_trust_ntlm.sh testprogs: Make test_rpcclient_expect_failure_grep() return 0 on success 2023-04-12 13:52:32 +00:00
test_trust_token.sh testprogs: Use system_or_builddir_binary() for test_trust_token 2022-12-23 14:35:31 +00:00
test_trust_user_account.sh testprogs: Reformat test_trust_user_account.sh 2022-08-10 13:17:31 +00:00
test_trust_utils.sh testprogs: Reformat test_trust_utils.sh 2022-08-10 13:17:31 +00:00
test_weak_crypto_server.sh testprogs: Make testit_expect_failure() return 0 on success 2023-04-12 13:52:32 +00:00
test_weak_crypto.sh testprogs: Reformat test_weak_crypto.sh 2022-08-10 13:17:31 +00:00
test_weak_disable_ntlmssp_ldap.sh testprogs/blackbox/test_weak_disable_ntlmssp_ldap.sh: verify test results ($failed) 2023-03-03 11:58:34 +00:00
test_wintest.sh testprogs: Fix shellcheck errors in test_wintest.sh 2022-08-22 20:35:36 +00:00
tfork.sh lib/util: add a test for samba_runcmd_send() 2017-04-20 16:53:16 +02:00
tombstones-expunge.sh testprogs: Use system_or_builddir_binary() for tombstones-expunge 2022-12-23 14:35:31 +00:00
upgradeprovision-oldrelease.sh testprogs: Use system_or_builddir_binary() for upgradeprovision-oldrelease 2022-12-23 14:35:31 +00:00