Skip Menu |
 

From: ghudson@mit.edu
Subject: git commit
Download (untitled) / with headers
text/plain 1.5KiB

Infer name type when creating principals

In the krb5_parse_name() and krb5_build_principal() families, infer
the name type if the principal is a TGS name or has first component
WELLKNOWN.

Revert commit 0d5df56ea6d4a05c31b7e513ee9ec1542a4b5dce and part of
commit 5994d8928b8ff88751b14bc60c7d7bfce8b30e57 since that
responsibility now lies with krb5_build_principal_ext().

[ghudson@mit.edu: made editorial changes; added removal of
no-longer-needed code; added documentation; rewrote commit message]

https://github.com/krb5/krb5/commit/457ce648b654990cb101f66255b4a87b7339efc1
Author: Fraser Tweedale <ftweedal@redhat.com>
Committer: Greg Hudson <ghudson@mit.edu>
Commit: 457ce648b654990cb101f66255b4a87b7339efc1
Branch: master
src/include/krb5/krb5.hin | 12 ++++++++++++
src/lib/krb5/krb/Makefile.in | 9 ++++++---
src/lib/krb5/krb/bld_pr_ext.c | 3 ++-
src/lib/krb5/krb/bld_princ.c | 18 +++++++++++++++++-
src/lib/krb5/krb/deps | 6 +++---
src/lib/krb5/krb/get_in_tkt.c | 7 +------
src/lib/krb5/krb/int-proto.h | 4 ++++
src/lib/krb5/krb/parse.c | 4 +++-
src/lib/krb5/krb/t_kerb.c | 24 +++++++++++++++++++++++-
src/lib/krb5/krb/t_ref_kerb.out | 4 ++++
src/lib/krb5/krb/tgtname.c | 19 ++++---------------
src/plugins/preauth/pkinit/pkinit_kdf_test.c | 4 ++++
12 files changed, 83 insertions(+), 31 deletions(-)