krb5_kt_get_type
kttype = krb5_kt_get_type(context, cred->keytab);
krb5_kt_get_type (krb5_context, krb5_keytab keytab);