From: Joseph Sutton Date: Wed, 18 Oct 2023 03:03:45 +0000 (+1300) Subject: tests/krb5: Fix RC4‐only Protected Users tests X-Git-Tag: talloc-2.4.2~1213 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e48eb621cd92cc3d97b77126512295d5bf14ed49;p=thirdparty%2Fsamba.git tests/krb5: Fix RC4‐only Protected Users tests We forgot to actually use the ‘supported_enctypes’ parameter. Signed-off-by: Joseph Sutton Reviewed-by: Andrew Bartlett --- diff --git a/python/samba/tests/krb5/protected_users_tests.py b/python/samba/tests/krb5/protected_users_tests.py index 27356cbd589..b592b4a893f 100755 --- a/python/samba/tests/krb5/protected_users_tests.py +++ b/python/samba/tests/krb5/protected_users_tests.py @@ -93,6 +93,8 @@ class ProtectedUsersTests(KDCBaseTest): if members: opts['member_of'] = members + if supported_enctypes is not None: + opts['supported_enctypes'] = supported_enctypes return self.get_cached_creds(account_type=account_type, opts=opts,