[krbdev.mit.edu #8983] git commit

"Greg Hudson via RT" <[email protected]>
Newsgroups gmane.comp.encryption.kerberos.bugs
Message-ID <[email protected]>
Thu Feb 11 15:19:04 2021: Request 8983 was acted upon.
 Transaction: Ticket created by [email protected]
       Queue: krb5
     Subject: git commit
       Owner: [email protected]
  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().

[[email protected]: 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 <[email protected]>
Committer: Greg Hudson <[email protected]>
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(-)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.