1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00
samba-mirror/python/samba
Douglas Bagnall cb356a8d90 pytest:sid_strings: add explicit S-1-* sid tests
We are mostly testing edge cases around the handling of numeric
limits.

These tests are based on ground truth established by running them
against Windows.

Many fail against Samba, because the defaulSecurityDescriptor
attribute is not validated at the time it is set while on Windows it
is.

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2023-04-28 02:15:36 +00:00
..
emulate python: fix mutable default arguments 2023-02-23 23:33:46 +00:00
gp gp: Fix NameError: free variable 'cron_dir' in Crontab CSE 2023-04-19 21:21:10 +00:00
gp_parse python2 reduction: Merge remaining compat code into common 2020-10-02 14:49:36 +00:00
kcc kcc: Don't reuse outer loop variable for inner loop 2022-05-10 05:19:34 +00:00
netcmd librpc/ndr/pysecurity: use better exceptions 2023-04-28 02:15:36 +00:00
provision python:join: fix reused variable name in provision func 2023-04-05 02:02:29 +00:00
samba3 libsmb_samba_internal: calculate the access_mask for {g,s}et_acl() based on the secinfo flags 2020-12-17 13:59:38 +00:00
subunit python:subunit: Avoid misleading "Test was never started" error message 2021-06-11 08:38:34 +00:00
tests pytest:sid_strings: add explicit S-1-* sid tests 2023-04-28 02:15:36 +00:00
__init__.py python/samba: add support for LDB_CHANGETYPE_MODRDN to modify_ldif() 2023-03-22 22:10:32 +00:00
auth_util.py python: fix slow's mail address 2020-06-05 10:32:30 +00:00
colour.py py:colour: is_colour_wanted() can take filenames 2022-09-16 05:46:36 +00:00
common.py python/samba/common: Fix typos 2023-03-03 01:07:36 +00:00
dbchecker.py dbcheck: Fix truncation of warning messages 2022-10-05 04:23:33 +00:00
descriptor.py python/samba: let get_domain_descriptor() include adprep 2016 ACEs 2023-03-22 22:10:32 +00:00
dnsresolver.py DNS Resolver: support both dnspython before and after 2.0.0 2020-10-26 18:33:40 +00:00
dnsserver.py py/dnsserver: add a missing exception variable 2021-11-22 10:28:34 +00:00
domain_update.py domain_update: implement updates 82-89 in order to reach the latest w2016 level 2023-03-22 22:10:32 +00:00
drs_utils.py CVE-2022-37966 selftest: Allow krb5 tests to run against an IP by using the target_hostname binding string 2022-12-13 13:07:29 +00:00
forest_update.py forest_update: behave more like a Windows 2022 server 2023-03-22 22:10:32 +00:00
getopt.py samba-tool: Use authentication file to pass credentials 2022-10-04 02:48:37 +00:00
graph.py python: fix mutable default arguments 2023-02-23 23:33:46 +00:00
hostconfig.py python/hostconfig: remove 'from __future__ import absolute_import' 2021-04-28 03:43:34 +00:00
idmap.py PEP8: fix E302: expected 2 blank lines, found 1 2018-08-24 07:49:29 +02:00
join.py python:join: run domain adprep as part of join_provision_own_domain() 2023-03-22 23:05:39 +00:00
logger.py py/samba/logger: respect NO_COLOR env variable 2022-09-06 21:12:36 +00:00
mdb_util.py mdb_util: Better error message if lmdb-utils not installed 2018-11-09 21:07:47 +01:00
ms_display_specifiers.py python/samba: Avoid resource leak 2023-03-03 01:07:36 +00:00
ms_forest_updates_markdown.py python/samba: adapt ms_forest_updates_markdown.py to the latest Forest-Wide-Updates.md 2023-03-22 22:10:32 +00:00
ms_schema_markdown.py python/samba: adapt ms_schema[_markdown].py to the latest schema definitions 2023-03-22 22:10:32 +00:00
ms_schema.py python/samba: adapt ms_schema[_markdown].py to the latest schema definitions 2023-03-22 22:10:32 +00:00
ndr.py python/samba/ndr: add ndr_deepcopy() helper 2023-03-22 15:01:32 +00:00
ntacls.py CVE-2007-4559 python: ensure sanity in our tarfiles 2022-10-04 03:48:43 +00:00
policies.py samba-tool: gpo show/load handle utf-16-le strings 2023-01-30 09:00:39 +00:00
remove_dc.py python: Handle LdbError thrown from functions operating on DNs 2022-10-05 04:23:32 +00:00
safe_tarfile.py CVE-2007-4559 python: ensure sanity in our tarfiles 2022-10-04 03:48:43 +00:00
samdb.py librpc/ndr/pysecurity: use better exceptions 2023-04-28 02:15:36 +00:00
schema.py setup/ad-schema: add the latest v1803 and v1903 schema files from Microsoft 2023-03-22 22:10:32 +00:00
sd_utils.py sd_utils: fix typo in get_sd_as_sddl docstring 2023-03-31 07:25:32 +00:00
sites.py python: Handle LdbError thrown from functions operating on DNs 2022-10-05 04:23:32 +00:00
subnets.py python: Handle LdbError thrown from functions operating on DNs 2022-10-05 04:23:32 +00:00
tdb_util.py samba-tool domain provision: better message if tdbbackup missing 2022-09-06 21:12:36 +00:00
trust_utils.py Add CreateTrustedDomainRelax wrapper for fips mode 2020-11-06 10:02:35 +00:00
upgrade.py classicupgrade: treat old never expires value right 2021-02-10 15:06:49 +00:00
upgradehelpers.py python:provision: run adprep as part of provision 2023-03-22 22:10:32 +00:00
uptodateness.py py/uptodateness: more details in missing dn report 2022-07-28 06:18:43 +00:00
xattr.py python/xattr: Properly process system.posix_acl_access 2022-05-10 05:19:34 +00:00