]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
CVE-2022-37966 s3:libnet: no longer reference des encryption types
authorStefan Metzmacher <metze@samba.org>
Wed, 23 Nov 2022 14:20:40 +0000 (15:20 +0100)
committerStefan Metzmacher <metze@samba.org>
Tue, 13 Dec 2022 13:07:30 +0000 (13:07 +0000)
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 <metze@samba.org>
Reviewed-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source3/libnet/libnet_join.c

index 4c20d956943b63b48afd6fab5bd167754a857a90..d48833d6197adcfb1153cfcbd4b3fefe3849ff72 100644 (file)
@@ -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;