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 | 5f9e13ce20a0bd9f80820f1d1afedfee035ba0e2 (patch) | |
tree | f7e051c4d4768068c72a3c704373d2f36bab5c50 | |
parent | 153e4a391420f1d492d7af3a3cfb71dabf98e08f (diff) | |
download | samba-5f9e13ce20a0bd9f80820f1d1afedfee035ba0e2.tar.gz |
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 <metze@samba.org>
Reviewed-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
(cherry picked from commit 40b47c194d7c41fbc6515b6029d5afafb0911232)
-rw-r--r-- | source3/libnet/libnet_join.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/source3/libnet/libnet_join.c b/source3/libnet/libnet_join.c index 79cbe29d594..132a9271c56 100644 --- a/source3/libnet/libnet_join.c +++ b/source3/libnet/libnet_join.c @@ -2515,9 +2515,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; |