(Service keys only need to be DES for V4 requests to work.)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7355
dc483132-0cff-0310-8789-
dd5450dbe970
ENCTYPE_DES_CBC_CRC,
KRB5_KDB_SALTTYPE_V4,
-1,
- &pkey)) {
+ &pkey) &&
+ krb5_dbe_find_enctype(kdc_context,
+ &entries,
+ ENCTYPE_DES_CBC_CRC,
+ -1,
+ -1,
+ &pkey))
+ {
lt = klog(L_KRB_PERR, "KDC V4: principal %s.%s isn't V4 compatible",
name, inst);
krb5_db_free_principal(kdc_context, &entries, nprinc);