[krbdev.mit.edu #8983] git commit

Greg Hudson via RT rt-comment at krbdev.mit.edu
Thu Feb 11 15:19:04 EST 2021


Thu Feb 11 15:19:04 2021: Request 8983 was acted upon.
 Transaction: Ticket created by ghudson at mit.edu
       Queue: krb5
     Subject: git commit
       Owner: ghudson at mit.edu
  Requestors: 
      Status: new
 Ticket <URL: https://krbdev.mit.edu/rt/Ticket/Display.html?id=8983 >



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 at 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 at redhat.com>
Committer: Greg Hudson <ghudson at 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(-)



More information about the krb5-bugs mailing list