]> git.ipfire.org Git - thirdparty/samba.git/commit
python:tests/krb5: add netlogon.py
authorStefan Metzmacher <metze@samba.org>
Fri, 8 Nov 2024 16:08:26 +0000 (17:08 +0100)
committerStefan Metzmacher <metze@samba.org>
Thu, 5 Dec 2024 16:46:38 +0000 (16:46 +0000)
commit6f52ffab82df4005e491a4c729ebffe35bcf3d12
treed1572badda8a60c6a65d0faa92061b6113b6146f
parent4030a62b2d9ee524f6f02506323343cd36daae24
python:tests/krb5: add netlogon.py

This adds tests for the application layer encryption used
based on the secure channel session key.

This will get tests for netr_ServerAuthenticateKerberos()
in order to explore its details.

This runs against Windows 2022 as well as Windows 2025 (preview)
using something like this:

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" \
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 [new file with mode: 0755]