From: | ghudson@mit.edu |
Subject: | git commit |
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@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(-)