CVE-2022-38023 selftest:Samba4: avoid global 'allow nt4 crypto = yes' and 'reject...
authorStefan Metzmacher <metze@samba.org>
Wed, 30 Nov 2022 13:57:20 +0000 (14:57 +0100)
committerAndreas Schneider <asn@samba.org>
Fri, 13 Jan 2023 14:10:46 +0000 (15:10 +0100)
commit73230d08dd1ec2390e52b24f0398d328a55e5866
treeff99b61bc4129b86d65901da381daf264186c29a
parent88311bae73bfdd2863ee94f421ef89266bff97f0
CVE-2022-38023 selftest:Samba4: avoid global 'allow nt4 crypto = yes' and 'reject md5 clients = no'

Instead of using the generic deprecated option use the specific
allow nt4 crypto:COMPUTERACCOUNT = yes and
server reject md5 schannel:COMPUTERACCOUNT = no
in order to allow legacy tests for pass.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=15240

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
(backported from commit 7ae3735810c2db32fa50f309f8af3c76ffa29768)
selftest/target/Samba4.pm