diff options
author | Joseph Sutton <josephsutton@catalyst.net.nz> | 2023-05-04 14:55:36 +1200 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2023-05-18 01:03:37 +0000 |
commit | 18b24f9572877b295a863432daaf458eb72562d0 (patch) | |
tree | b5f99c2f57afffdbeca897aa609e7fefed4d6efd /selftest | |
parent | 3063abbfb0aaee65b80bd185d66923c148a861b4 (diff) | |
download | samba-18b24f9572877b295a863432daaf458eb72562d0.tar.gz |
tests/krb5: Improve edata checking
Instead of guessing based on a heuristic whether we have KERB_ERROR_DATA
or METHOD_DATA in the ‘e-data’ field, decode it first as KERB_ERROR_DATA
and fall back to METHOD_DATA if that fails.
The environment variable EXPECT_NT_STATUS indicates that the KDC
supports returning a status code in the e-data field.
Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'selftest')
0 files changed, 0 insertions, 0 deletions