From: Stefan Metzmacher Date: Wed, 23 Nov 2022 14:20:40 +0000 (+0100) Subject: CVE-2022-37966 s3:libnet: no longer reference des encryption types X-Git-Tag: talloc-2.4.0~288 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=40b47c194d7c41fbc6515b6029d5afafb0911232;p=thirdparty%2Fsamba.git CVE-2022-37966 s3:libnet: no longer reference des encryption types We no longer have support for des encryption types in the kerberos libraries anyway. BUG: https://bugzilla.samba.org/show_bug.cgi?id=15237 Signed-off-by: Stefan Metzmacher Reviewed-by: Joseph Sutton Reviewed-by: Andrew Bartlett --- diff --git a/source3/libnet/libnet_join.c b/source3/libnet/libnet_join.c index 4c20d956943..d48833d6197 100644 --- a/source3/libnet/libnet_join.c +++ b/source3/libnet/libnet_join.c @@ -2532,9 +2532,8 @@ WERROR libnet_init_JoinCtx(TALLOC_CTX *mem_ctx, ctx->in.secure_channel_type = SEC_CHAN_WKSTA; - ctx->in.desired_encryption_types = ENC_CRC32 | - ENC_RSA_MD5 | - ENC_RC4_HMAC_MD5; + ctx->in.desired_encryption_types = 0; + ctx->in.desired_encryption_types |= ENC_RC4_HMAC_MD5; ctx->in.desired_encryption_types |= ENC_HMAC_SHA1_96_AES128; ctx->in.desired_encryption_types |= ENC_HMAC_SHA1_96_AES256;