(make_pa_tgs_req): added comment

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@4072 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Assar Westerlund
1997-11-29 06:16:16 +00:00
parent 0cd1bb1263
commit 7f4b2465f9

View File

@@ -68,6 +68,12 @@ make_pa_tgs_req(krb5_context context,
krb5_auth_con_free(context, ac);
return ret;
}
/*
* If we get a ticket encrypted with DES-CBC-CRC, it's
* probably an old DCE secd and then the usual heuristics of
* using the best algorithm (in this case RSA-MD5 and
* DES-CBC-MD5) will not work.
*/
if(ticket.enc_part.etype == ETYPE_DES_CBC_CRC) {
krb5_auth_setcksumtype(context, ac, CKSUMTYPE_RSA_MD4);
krb5_auth_setenctype(context, ac, ETYPE_DES_CBC_CRC);