mirror of
https://github.com/samba-team/samba.git
synced 2025-01-08 21:18:16 +03:00
CVE-2022-37966 testparm: warn about 'kerberos encryption types = legacy'
BUG: https://bugzilla.samba.org/show_bug.cgi?id=15237
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
(cherry picked from commit c0c25cc021
)
This commit is contained in:
parent
05206c0923
commit
12e4e94853
@ -680,6 +680,14 @@ static int do_global_checks(void)
|
||||
"options\n\n");
|
||||
}
|
||||
|
||||
if (lp_kerberos_encryption_types() == KERBEROS_ETYPES_LEGACY) {
|
||||
fprintf(stderr,
|
||||
"WARNING: You have configured "
|
||||
"'kerberos encryption types = legacy'. "
|
||||
"Your server is vulernable to "
|
||||
"CVE-2022-37966\n\n");
|
||||
}
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user