From 93ab13cbf3cfee30524f63925a11a0ab0c55d600 Mon Sep 17 00:00:00 2001 From: Derrick Brashear Date: Sun, 31 Oct 2010 22:21:19 -0400 Subject: [PATCH] aklog weak warning make aklog guess when you need to enable weak crypto Change-Id: I5f79e654d2ebcd8500d66d20f00edb49b9d62323 Reviewed-on: http://gerrit.openafs.org/3209 Reviewed-by: Jeffrey Altman Reviewed-by: Derrick Brashear Tested-by: Derrick Brashear --- src/aklog/aklog.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/aklog/aklog.c b/src/aklog/aklog.c index 81be7eb91..c54735092 100644 --- a/src/aklog/aklog.c +++ b/src/aklog/aklog.c @@ -622,6 +622,11 @@ rxkad_get_ticket(krb5_context context, char *realm, fprintf(stderr, "%s: Couldn't get %s AFS tickets:\n", progname, cell->name); afs_com_err(progname, status, "while getting AFS tickets"); +#ifdef KRB5_CC_NOT_KTYPE + if (status == KRB5_CC_NOT_KTYPE) { + fprintf(stderr, "allow_weak_enctypes may be required in the Kerberos configuration\n"); + } +#endif status = AKLOG_KERBEROS; goto out; } -- 2.39.5