1
0
mirror of https://github.com/samba-team/samba.git synced 2025-10-07 03:33:18 +03:00

tests/krb5: Pass client credentials down into kdc_exchange_dict

These are useful inside the test infrastructure.

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
Joseph Sutton
2023-04-06 11:09:31 +12:00
committed by Andrew Bartlett
parent c07ac15462
commit e4ec3d6f3d
12 changed files with 198 additions and 160 deletions

View File

@@ -151,6 +151,7 @@ def connect_kdc(pipe,
# Try making a Kerberos AS-REQ to the KDC. This should fail, either due to
# the user's account being locked out or due to using the wrong password.
as_rep, kdc_exchange_dict = as_req_base._test_as_exchange(
creds=user_creds,
cname=cname,
realm=realm,
sname=sname,