1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00
samba-mirror/source4/selftest
Joseph Sutton 612eeff270 tests/krb5: Add tests of PAC group handling
In which we make AS and TGS requests and verify the SIDs we expect are
returned in the PAC.

Example command to test against Windows Server 2019 functional level
2016 with FAST enabled:

ADMIN_USERNAME=Administrator ADMIN_PASSWORD=locDCpass1 \
CLAIMS_SUPPORT=1 COMPOUND_ID_SUPPORT=1 DC_SERVER=ADDC.EXAMPLE.COM \
DOMAIN=EXAMPLE EXPECT_PAC=1 FAST_SUPPORT=1 KRB5_CONFIG=krb5.conf \
PYTHONPATH=bin/python REALM=EXAMPLE.COM SERVER=ADDC.EXAMPLE.COM \
SKIP_INVALID=1 SMB_CONF_PATH=smb.conf STRICT_CHECKING=1 \
TKT_SIG_SUPPORT=1 python3 python/samba/tests/krb5/group_tests.py

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>

Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Tue Nov  8 03:37:37 UTC 2022 on sn-devel-184
2022-11-08 03:37:37 +00:00
..
provisions s4:selftest: Reformat shell scripts 2022-07-15 12:08:36 +00:00
win s4:selftest: Fix shellcheck errors in wintest_rpc.sh 2022-08-22 20:35:36 +00:00
test_samba3dump.sh s4:selftest: Reformat shell scripts 2022-07-15 12:08:36 +00:00
test_w2k3_file.sh s4:selftest: Reformat shell scripts 2022-07-15 12:08:36 +00:00
test_w2k3.sh s4:selftest: Fix shellcheck errors in test_w2k3.sh 2022-08-22 14:20:36 +00:00
test_win.sh s4:selftest: Reformat shell scripts 2022-07-15 12:08:36 +00:00
tests_win2k3_dc.sh
tests_win.sh s4:selftest: Reformat shell scripts 2022-07-15 12:08:36 +00:00
tests.py tests/krb5: Add tests of PAC group handling 2022-11-08 03:37:37 +00:00