]> git.ipfire.org Git - thirdparty/samba.git/commit
python:tests/krb5: add ServerAuthenticateKerberos related tests to netlogon.py
authorStefan Metzmacher <metze@samba.org>
Fri, 22 Nov 2024 18:51:17 +0000 (19:51 +0100)
committerAndreas Schneider <asn@cryptomilk.org>
Thu, 12 Dec 2024 13:59:29 +0000 (13:59 +0000)
commitff2e2875853f20d5ccf4016b805c593f22b92c03
tree88565b2daf72eb9e739e3775715c75206601f6f3
parent64d5efa2dedce3c671f7ff3d87884b1c3cce8d72
python:tests/krb5: add ServerAuthenticateKerberos related tests to netlogon.py

Works against Windows 2025 preview:

SMB_CONF_PATH=/dev/null \
SERVER=172.31.9.115 DC_SERVER=w2025p-115.w2025p-l8.base \
DOMAIN="W2025P-L8" REALM="W2025P-L8.BASE" \
ADMIN_USERNAME="Administrator" ADMIN_PASSWORD="A1b2C3d4" \
NETLOGON_STRONG_KEY_SUPPORT=1 NETLOGON_AUTH_KRB5_SUPPORT=1 \
STRICT_CHECKING=0 python/samba/tests/krb5/netlogon.py

The code still works against Windows 2022 with the
following options:

SMB_CONF_PATH=/dev/null \
SERVER=172.31.9.118 DC_SERVER=w2022-118.w2022-l7.base \
DOMAIN="W2022-L7" REALM="W2022-L7.BASE" \
ADMIN_USERNAME="Administrator" ADMIN_PASSWORD="A1b2C3d4" \
NETLOGON_STRONG_KEY_SUPPORT=1 NETLOGON_AUTH_KRB5_SUPPORT=0 \
STRICT_CHECKING=0 python/samba/tests/krb5/netlogon.py

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
python/samba/tests/krb5/netlogon.py
selftest/knownfail.d/samba.tests.krb5.netlogon
source4/selftest/tests.py