diff options
Diffstat (limited to 'source3/utils/testparm.c')
-rw-r--r-- | source3/utils/testparm.c | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/source3/utils/testparm.c b/source3/utils/testparm.c index 71bc4c2694e..9555b436260 100644 --- a/source3/utils/testparm.c +++ b/source3/utils/testparm.c @@ -735,7 +735,6 @@ static void do_per_share_checks(int s) const char *caddr; static int show_defaults; static int skip_logic_checks = 0; - const char *weak_crypo_str = ""; bool ok; struct poptOption long_options[] = { @@ -870,12 +869,10 @@ static void do_per_share_checks(int s) fprintf(stderr,"Loaded services file OK.\n"); - if (samba_gnutls_weak_crypto_allowed()) { - weak_crypo_str = "allowed"; - } else { - weak_crypo_str = "disallowed"; - } - fprintf(stderr, "Weak crypto is %s\n", weak_crypo_str); + fprintf(stderr, + "Weak crypto is %sallowed by GnuTLS " + "(e.g. NTLM as a compatibility fallback)\n", + samba_gnutls_weak_crypto_allowed() ? "" : "dis"); if (skip_logic_checks == 0) { ret = do_global_checks(); |