]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
CVE-2022-37966 s3:net_ads: 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/utils/net_ads.c

index 1d47e269adda2786875acc7036f8639ff454a38b..fe8070b4bd4b1e5fdb2090ee22315a052af894aa 100644 (file)
@@ -3737,7 +3737,8 @@ static int net_ads_enctypes_set(struct net_context *c, int argc, const char **ar
                goto done;
        }
 
-       etype_list = ENC_CRC32 | ENC_RSA_MD5 | ENC_RC4_HMAC_MD5;
+       etype_list = 0;
+       etype_list |= ENC_RC4_HMAC_MD5;
        etype_list |= ENC_HMAC_SHA1_96_AES128;
        etype_list |= ENC_HMAC_SHA1_96_AES256;