From: Jeffrey Altman Date: Wed, 7 Jul 2004 12:05:03 +0000 (+0000) Subject: 2004-07-07 Jeffrey Altman X-Git-Tag: krb5-1.4-beta1~244 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=acdf69daf088563d1fcf4f19efafc3ef1d008d92;p=krb5.git 2004-07-07 Jeffrey Altman * cc_mslsa.c: When obtaining a TGT from the MSLSA, do not ignore the cache when the requested enctype is the NULL enctype. This means to accept any enctype. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16554 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/lib/krb5/ccache/ChangeLog b/src/lib/krb5/ccache/ChangeLog index 19e9add2a..a239e0b4a 100644 --- a/src/lib/krb5/ccache/ChangeLog +++ b/src/lib/krb5/ccache/ChangeLog @@ -1,3 +1,8 @@ +2004-07-07 Jeffrey Altman + + * cc_mslsa.c: When obtaining a TGT from MSLSA, do not ignore + the cache if the requested enctype is the NULL enctype. + 2004-06-30 Ken Raeburn * cc_file.c (krb5_fcc_data): Added a mutex. diff --git a/src/lib/krb5/ccache/cc_mslsa.c b/src/lib/krb5/ccache/cc_mslsa.c index 3ab99cfec..8fd278ec1 100644 --- a/src/lib/krb5/ccache/cc_mslsa.c +++ b/src/lib/krb5/ccache/cc_mslsa.c @@ -850,6 +850,7 @@ GetMSTGT(krb5_context context, HANDLE LogonHandle, ULONG PackageId, KERB_EXTERNA #else /* Check Supported Enctypes */ if ( !enforce_tgs_enctypes || + pTicketResponse->Ticket.SessionKey.KeyType == KERB_ETYPE_NULL || krb5_is_permitted_tgs_enctype(context, NULL, pTicketResponse->Ticket.SessionKey.KeyType) ) { FILETIME Now, MinLife, EndTime, LocalEndTime; __int64 temp;