A skew error means the client just tried using PADATA-ENC-TIMESTAMP or
PADATA-ENCRYPTED-CHALLENGE, so it might not be necessary to announce
them in that case.
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 Dec 7 08:32:42 UTC 2021 on sn-devel-184
FX_FAST_ARMOR_AP_REQUEST,
KDC_ERR_GENERIC,
KDC_ERR_PREAUTH_FAILED,
+ KDC_ERR_SKEW,
KDC_ERR_UNKNOWN_CRITICAL_FAST_OPTIONS,
KERB_ERR_TYPE_EXTENDED,
KRB_AP_REQ,
if len(expect_etype_info2) != 0:
expected_patypes += (PADATA_ETYPE_INFO2,)
- if error_code != KDC_ERR_PREAUTH_FAILED:
+ if error_code not in (KDC_ERR_PREAUTH_FAILED, KDC_ERR_SKEW):
if sent_fast:
expected_patypes += (PADATA_ENCRYPTED_CHALLENGE,)
else: