1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00
samba-mirror/python/samba
Andrew Bartlett ef87f0be60 python/samba/tests/krb5: Add check to confirm UF_SMARCARD_REQUIRED password is expired on NTLM
8944a10b145e99eb6372cace8225e4c5e9d6160e broke password expiry
checking on NTLM, but that is fixed after CID 1603594 triggered
815d696d4471f1b3a4267eb774eb80b07576031b.  In the past we could
not have password expiry times small enough to test expiry
(unlike "must change now"), but having no test was not good.

As we are already doing the sleep() here, add a test to the
password rotation test.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: David Mulder <dmulder@samba.org>
2024-06-12 23:43:29 +00:00
..
domain python: models: add get_primary_group method to User model 2024-05-10 00:26:35 +00:00
emulate py:emulate: remove py2 str/bytes workaround in traffic_packets 2024-06-12 08:14:34 +00:00
gp python: Fix NtVer check for site_dn_for_machine() 2024-04-17 19:32:11 +00:00
gp_parse python: use python3 style super statements 2023-12-15 02:54:34 +00:00
kcc python: pep257: docstring should use double quotes 2023-12-15 02:54:34 +00:00
netcmd samba-tool ldapcmp: remove a dodgy unused method 2024-06-12 08:14:34 +00:00
provision provision: Match Windows 2022 and set msDS-ExpirePasswordsOnSmartCardOnlyAccounts by default 2024-06-10 04:27:31 +00:00
samba3 python:samba:samba3: Fix code spelling 2023-06-23 13:44:31 +00:00
subunit python: use python3 style super statements 2023-12-15 02:54:34 +00:00
tests python/samba/tests/krb5: Add check to confirm UF_SMARCARD_REQUIRED password is expired on NTLM 2024-06-12 23:43:29 +00:00
__init__.py python: remove string_to_byte_array() 2024-06-12 09:16:39 +00:00
auth_util.py
colour.py python:colour: Fix exception message 2023-10-13 03:50:31 +00:00
common.py python/common: remove verbiage about old python versions 2024-05-31 00:25:33 +00:00
dbchecker.py python/samba/samdb: Only do caching of well known DNs in dbcheck 2024-02-27 01:11:37 +00:00
descriptor.py CVE-2018-14628: python:descriptor: let samba-tool dbcheck fix the nTSecurityDescriptor on CN=Deleted Objects containers 2023-10-16 14:39:33 +00:00
dnsresolver.py
dnsserver.py python: use python3 style super statements 2023-12-15 02:54:34 +00:00
domain_update.py provision: Match Windows 2022 and set msDS-ExpirePasswordsOnSmartCardOnlyAccounts by default 2024-06-10 04:27:31 +00:00
drs_utils.py python: use python3 style super statements 2023-12-15 02:54:34 +00:00
forest_update.py python: Remove unused imports 2023-08-30 02:15:29 +00:00
functional_level.py python: Remove unnecessary f‐strings 2023-10-25 22:23:37 +00:00
getopt.py python/samba/getopt: don't prompt for a password for --use-krb5-ccache=... 2024-04-23 14:17:32 +00:00
gkdi.py python:gkdi: Add helper methods returning previous and next GKIDs 2024-04-24 05:16:29 +00:00
graph.py python: Fix invalid escape sequences 2023-08-30 02:15:29 +00:00
hostconfig.py
idmap.py python: use python3 style super statements 2023-12-15 02:54:34 +00:00
join.py python:join: avoid useless use of py2-compat string_to_byte_array 2024-06-12 08:14:34 +00:00
logger.py python: use python3 style super statements 2023-12-15 02:54:34 +00:00
lsa_utils.py python:lsa_utils: avoid useless use of py2-compat string_to_byte_array 2024-06-12 08:14:34 +00:00
mdb_util.py python: Remove unused imports 2023-08-30 02:15:29 +00: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: Fix code spelling 2023-06-23 14:51:14 +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
nt_time.py python: Reformat code 2024-04-21 22:10:36 +00:00
ntacls.py python: pep257: docstring should use double quotes 2023-12-15 02:54:34 +00:00
policies.py python: pep257: docstring should use double quotes 2023-12-15 02:54:34 +00:00
remove_dc.py python: Fix spelling 2023-08-30 02:15:29 +00:00
safe_tarfile.py python: Remove unused imports 2023-08-30 02:15:29 +00:00
samdb.py python: Move get_admin_sid() to SamDB 2024-04-24 05:16:29 +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 python: sd_utils: pep8 import sorting 2024-03-01 04:45:36 +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
upgrade.py python:upgrade/upgradeprovision: use dn.copy to align ldbs 2024-04-10 05:13:32 +00:00
upgradehelpers.py python:upgrade/upgradeprovision: use dn.copy to align ldbs 2024-04-10 05:13:32 +00:00
uptodateness.py py/uptodateness: more details in missing dn report 2022-07-28 06:18:43 +00:00
xattr.py