]> git.ipfire.org Git - thirdparty/krb5.git/commit
Include all default etypes in gic_keytab requests
authorGreg Hudson <ghudson@mit.edu>
Mon, 2 Jul 2012 16:46:59 +0000 (12:46 -0400)
committerGreg Hudson <ghudson@mit.edu>
Mon, 2 Jul 2012 16:46:59 +0000 (12:46 -0400)
commit61659df1036d1ad6d6891293f5949e720a2028f7
tree5d70193bd65e72251477003fa0a22a81ae45b6e5
parent8651f3339ccc5a623172a8edfb9cf522883acacd
Include all default etypes in gic_keytab requests

Revert 18b02f3e839c007fff54fc9b693f479b7563ec73 in the KDC.  Instead,
when making an initial request with a keytab, transmit the whole
default_tkt_enctypes list, but sorted with the enctypes we have in the
keytab first.  That way the KDC should prefer enctypes which we have
keys for (for both reply key and session key), but the other enctypes
are still available for use as ticket session keys.

ticket: 7190
src/kdc/kdc_util.c
src/lib/krb5/krb/gic_keytab.c