diff options
author | Stefan Metzmacher <metze@samba.org> | 2022-11-23 15:20:40 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2022-12-14 00:48:49 +0100 |
commit | 716149ed2bcc2e67eb598cbb5f77e6240f8d155e (patch) | |
tree | 1943ccf8f27a5f82a710445244e9a0186cc60986 | |
parent | 5f9e13ce20a0bd9f80820f1d1afedfee035ba0e2 (diff) | |
download | samba-716149ed2bcc2e67eb598cbb5f77e6240f8d155e.tar.gz |
CVE-2022-37966 s3:net_ads: 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 <metze@samba.org>
Reviewed-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
(cherry picked from commit 4cedaa643bf95ef2628f1b631feda833bb2e7da1)
-rw-r--r-- | source3/utils/net_ads.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/utils/net_ads.c b/source3/utils/net_ads.c index ee0d9c97f04..7080237c50c 100644 --- a/source3/utils/net_ads.c +++ b/source3/utils/net_ads.c @@ -3790,7 +3790,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; |