From 0e1c9fa82ea2a5f32a6ce937ffe9b1aef21e133e Mon Sep 17 00:00:00 2001 From: Robbie Harwood Date: Tue, 15 Jan 2019 13:41:16 -0500 Subject: [PATCH] In kpropd, debug-log proper ticket enctype names This change replaces the last call of krb5_enctype_to_string() in our sources with krb5_enctype_to_name(), ensuring that we log consistently to users using readily discoverable strings. (cherry picked from commit 30e12a2ecdf7e2a034a91626a03b5c9909e4c68d) --- src/kprop/kpropd.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/kprop/kpropd.c b/src/kprop/kpropd.c index 4cc035dc6..0c7bffa24 100644 --- a/src/kprop/kpropd.c +++ b/src/kprop/kpropd.c @@ -1279,7 +1279,8 @@ kerberos_authenticate(krb5_context context, int fd, krb5_principal *clientp, exit(1); } - retval = krb5_enctype_to_string(*etype, etypebuf, sizeof(etypebuf)); + retval = krb5_enctype_to_name(*etype, FALSE, etypebuf, + sizeof(etypebuf)); if (retval) { com_err(progname, retval, _("while unparsing ticket etype")); exit(1);