[krbdev.mit.edu #9050] git commit

Greg Hudson via RT rt-comment at krbdev.mit.edu
Thu Jan 27 16:57:46 EST 2022


Thu Jan 27 16:57:46 2022: Request 9050 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=9050 >



Implement replaced_reply_key input to issue_pac()

If a kdcpreauth module fully replaces the reply key during an AS
request, pass the reply key as the replaced_reply_key input to
issue_pac().  In Windows environments this is used to provide an NTLM
hash to the LSA when the client cannot be presumed to have a password
to derive it from.

To test this, add a fake PAC_CREDENTIALS_INFO buffer to the PAC in the
test KDB module, and alter adata.c to display the set of PAC buffer
types when a PAC is present.

https://github.com/krb5/krb5/commit/78fd66926c4be5910c1e21d9e553dfb792ae822a
Author: Greg Hudson <ghudson at mit.edu>
Commit: 78fd66926c4be5910c1e21d9e553dfb792ae822a
Branch: master
 src/include/kdb.h               |    3 +-
 src/kdc/do_as_req.c             |    7 ++-
 src/kdc/do_tgs_req.c            |    2 +-
 src/kdc/kdc_authdata.c          |   26 +++++-----
 src/kdc/kdc_util.h              |    1 +
 src/plugins/kdb/test/kdb_test.c |    8 +++
 src/tests/adata.c               |  100 +++++++++++++++++++++-----------------
 src/tests/t_authdata.py         |   22 +++++++-
 8 files changed, 105 insertions(+), 64 deletions(-)



More information about the krb5-bugs mailing list