[krbdev.mit.edu #8866] git commit

Greg Hudson via RT rt at KRBDEV-PROD-APP-1.mit.edu
Mon Jan 27 11:05:30 EST 2020


<URL: https://krbdev.mit.edu/rt/Ticket/Display.html?id=8866 >


Add tests for S4U request-authdata handling

In adata.c, look up the server in the keytab by ticket->server (which
has the canonicalized realm), to allow testing of cross-realm RBCD
(although unused for now).

In s4u2proxy.c, set KRB5_GC_CANONICALIZE to support RBCD, and add an
authdata request option.  Add an s4u2self test harness with authdata
request option.

[ghudson at mit.edu: minor code simplifications; edited commit message]

(cherry picked from commit 2d039a2b4c3ba6d71da8fcf76658dc63bc659f0c)

https://github.com/krb5/krb5/commit/8642b06696fd7fca68aae475bd4113be5a1658cb
Author: Isaac Boukris <iboukris at gmail.com>
Committer: Greg Hudson <ghudson at mit.edu>
Commit: 8642b06696fd7fca68aae475bd4113be5a1658cb
Branch: krb5-1.18
 .gitignore              |    1 +
 src/tests/Makefile.in   |   11 +++--
 src/tests/adata.c       |    4 +-
 src/tests/s4u2proxy.c   |   37 +++++++++++++-
 src/tests/s4u2self.c    |  128 +++++++++++++++++++++++++++++++++++++++++++++++
 src/tests/t_authdata.py |   22 ++++++++-
 6 files changed, 195 insertions(+), 8 deletions(-)



More information about the krb5-bugs mailing list