[krbdev.mit.edu #8278] git commit
Greg Hudson via RT
rt-comment at krbdev.mit.edu
Wed Aug 24 12:44:57 EDT 2016
Use krb5_expand_hostname() when creating KDB
In kdb5_util's add_admin_princs(), use krb5_expand_hostname() instead
of custom canonicalization code to canonicalize the hostname. There
are some minor behavior differences:
* Canonicalization will no longer use AI_ADDRCONFIG.
* Canonicalization will use reverse DNS if configuration permits.
* Canonicalization will be affected by the dns_canonicalize_hostname
and rdns profile variables.
* If name lookup fails, the original hostname will be used.
* A trailing dot will be removed from the name lookup result, if
present.
https://github.com/krb5/krb5/commit/7715f51f3978abe78acc824efbb18b3f35751426
Author: Greg Hudson <ghudson at mit.edu>
Commit: 7715f51f3978abe78acc824efbb18b3f35751426
Branch: master
src/kadmin/dbutil/kadm5_create.c | 43 ++++++-------------------------------
1 files changed, 7 insertions(+), 36 deletions(-)
More information about the krb5-bugs
mailing list