mirror of
https://github.com/samba-team/samba.git
synced 2025-01-11 05:18:09 +03:00
tests/krb5: Adjust unknown critical FAST option test
Heimdal does not check FAST options when no preauth data is supplied, so the original test could not pass against Heimdal. Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
parent
7d14aedd3d
commit
f03f304deb
@ -407,10 +407,18 @@ class FAST_Tests(KDCBaseTest):
|
||||
|
||||
def test_fast_unknown_critical_option(self):
|
||||
self._run_test_sequence([
|
||||
{
|
||||
'rep_type': KRB_AS_REP,
|
||||
'expected_error_mode': KDC_ERR_PREAUTH_REQUIRED,
|
||||
'use_fast': True,
|
||||
'fast_armor': FX_FAST_ARMOR_AP_REQUEST,
|
||||
'gen_armor_tgt_fn': self.get_mach_tgt
|
||||
},
|
||||
{
|
||||
'rep_type': KRB_AS_REP,
|
||||
'expected_error_mode': KDC_ERR_UNKNOWN_CRITICAL_FAST_OPTIONS,
|
||||
'use_fast': True,
|
||||
'gen_padata_fn': self.generate_enc_challenge_padata,
|
||||
'fast_options': '001', # unsupported critical option
|
||||
'fast_armor': FX_FAST_ARMOR_AP_REQUEST,
|
||||
'gen_armor_tgt_fn': self.get_mach_tgt
|
||||
|
Loading…
Reference in New Issue
Block a user