From acdf69daf088563d1fcf4f19efafc3ef1d008d92 Mon Sep 17 00:00:00 2001 From: Jeffrey Altman Date: Wed, 7 Jul 2004 12:05:03 +0000 Subject: [PATCH] 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 --- src/lib/krb5/ccache/ChangeLog | 5 +++++ src/lib/krb5/ccache/cc_mslsa.c | 1 + 2 files changed, 6 insertions(+) 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; -- 2.26.2