From: Joseph Sutton Date: Wed, 17 Nov 2021 07:14:50 +0000 (+1300) Subject: tests/krb5: Remove magic flag constants X-Git-Tag: tdb-1.4.6~428 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=aa38476d89d4a41bef63f3814dd921c4dd4e103f;p=thirdparty%2Fsamba.git tests/krb5: Remove magic flag constants Signed-off-by: Joseph Sutton Reviewed-by: Andrew Bartlett --- diff --git a/python/samba/tests/krb5/fast_tests.py b/python/samba/tests/krb5/fast_tests.py index f021a1e73cd..ceb46e52ea8 100755 --- a/python/samba/tests/krb5/fast_tests.py +++ b/python/samba/tests/krb5/fast_tests.py @@ -1105,7 +1105,8 @@ class FAST_Tests(KDCBaseTest): 'use_fast': True, 'fast_armor': FX_FAST_ARMOR_AP_REQUEST, 'gen_armor_tgt_fn': self.get_mach_tgt, - 'fast_options': '01', # hide client names + 'fast_options': str(krb5_asn1.FastOptions( + 'hide-client-names')), 'expected_anon': True }, { @@ -1115,7 +1116,8 @@ class FAST_Tests(KDCBaseTest): 'gen_padata_fn': self.generate_enc_challenge_padata, 'fast_armor': FX_FAST_ARMOR_AP_REQUEST, 'gen_armor_tgt_fn': self.get_mach_tgt, - 'fast_options': '01', # hide client names + 'fast_options': str(krb5_asn1.FastOptions( + 'hide-client-names')), 'expected_anon': True } ]) @@ -1128,7 +1130,8 @@ class FAST_Tests(KDCBaseTest): 'use_fast': True, 'gen_tgt_fn': self.get_user_tgt, 'fast_armor': None, - 'fast_options': '01', # hide client names + 'fast_options': str(krb5_asn1.FastOptions( + 'hide-client-names')), 'expected_anon': True } ])