[krbdev.mit.edu #8278] git commit

Greg Hudson via RT rt-comment at krbdev.mit.edu
Wed Aug 24 12:44:58 EDT 2016


Use krb5_expand_hostname() to get admin service

In libkadm5's kadm5_get_admin_service_name(), use
krb5_expand_hostname() instead of custom canonicalization code to
canonicalize the hostname.  There are some minor behavior differences;
in addition to the changes listed in the previous commit, the old code
did not downcase the result of the getaddrinfo() lookup, while the new
code does.

https://github.com/krb5/krb5/commit/7b2cb7ed41e48e0fc28f106438f628f30ef86764
Author: Greg Hudson <ghudson at mit.edu>
Commit: 7b2cb7ed41e48e0fc28f106438f628f30ef86764
Branch: master
 src/lib/kadm5/alt_prof.c |   22 +++++++---------------
 1 files changed, 7 insertions(+), 15 deletions(-)



More information about the krb5-bugs mailing list