heimdal: do not compile weak crypto
authorIsaac Boukris <iboukris@gmail.com>
Sat, 16 Nov 2019 22:03:34 +0000 (23:03 +0100)
committerIsaac Boukris <iboukris@sn-devel-184>
Tue, 19 Nov 2019 14:48:41 +0000 (14:48 +0000)
BUG: https://bugzilla.samba.org/show_bug.cgi?id=14202

Signed-off-by: Isaac Boukris <iboukris@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
selftest/target/Samba.pm
source4/heimdal_build/roken.h

index c3a3a68b7b6396a2c7098d15440f26dfdd2a08ad..76f3ebb1fea174b6e12c032a599d7f660b361153 100644 (file)
@@ -262,7 +262,6 @@ sub mk_krb5_conf($$)
  dns_lookup_kdc = true
  ticket_lifetime = 24h
  forwardable = yes
- allow_weak_crypto = yes
 
  name_canon_rules=as-is:realm=$ctx->{realm}
  name_canon_rules=as-is:realm=$ctx->{dnsname}
index 9752c04a741f87e78f2782d57e438b5fb3326c78..559021c0a0e10c606ddf478c4f4b5da758b57bc6 100644 (file)
@@ -6,9 +6,6 @@
 
 #include "config.h"
 
-/* Support 'weak' keys for now, it can't be worse than NTLM and we don't want to hard-code the behaviour at this point */
-#define HEIM_WEAK_CRYPTO 1
-
 /* path to sysconf - should we force this to samba LIBDIR ? */
 #define SYSCONFDIR "/etc"