[krbdev.mit.edu #7190] SVN Commit

Greg Hudson via RT rt-comment at krbdev.mit.edu
Sun Jul 1 14:20:19 EDT 2012


Try harder to make keytab-based AS requests work

When making a keytab-based AS request, a client has to choose between
sending its reply key enctype preference list (the enctypes it has in
the keytab) and its session key enctype preference list (all of the
enctypes it supports).  Heimdal and MIT krb5 1.11 clients send the
reply key preference list.  If this list doesn't overlap with the
server principal keys (say, because the krbtgt principal has only a
DES key), then the AS request will fail.

Try to make this work by making the KDC optimistically pick the first
permitted enctype in the request as the session key, even though it
can't be certain that other KDCs in the realm support that enctype.

Make sure to exercise this case in t_keytab.py by doing a multipass
keytab kinit test.

https://github.com/krb5/krb5/commit/18b02f3e839c007fff54fc9b693f479b7563ec73
Author: Greg Hudson <ghudson at mit.edu>
Commit: 18b02f3e839c007fff54fc9b693f479b7563ec73
Branch: master
 src/kdc/kdc_util.c    |   17 ++++++++++++++++-
 src/tests/t_keytab.py |    7 ++++---
 2 files changed, 20 insertions(+), 4 deletions(-)



More information about the krb5-bugs mailing list