krb5 commit: In kpropd, debug-log proper ticket enctype names

Greg Hudson ghudson at mit.edu
Thu Jan 17 10:57:12 EST 2019


https://github.com/krb5/krb5/commit/30e12a2ecdf7e2a034a91626a03b5c9909e4c68d
commit 30e12a2ecdf7e2a034a91626a03b5c9909e4c68d
Author: Robbie Harwood <rharwood at redhat.com>
Date:   Tue Jan 15 13:41:16 2019 -0500

    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.

 src/kprop/kpropd.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/src/kprop/kpropd.c b/src/kprop/kpropd.c
index 68323dd..e3b7399 100644
--- a/src/kprop/kpropd.c
+++ b/src/kprop/kpropd.c
@@ -1270,7 +1270,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);


More information about the cvs-krb5 mailing list