Lines Matching refs:krb5rc
1066 krb5_error_code krb5rc = KRB5KRB_ERR_GENERIC;
1089 if ((krb5rc = krb5_init_context(&krb5context)) != 0)
1092 "krb5_init_context() fails: %d\n", krb5rc);
1097 if ((krb5rc = krb5_sname_to_principal(krb5context,
1111 if ((krb5rc = krb5_cc_default(krb5context, &krb5ccdef)) != 0)
1118 if ((krb5rc = krb5_cc_get_principal(krb5context, krb5ccdef,
1126 if ((krb5rc = krb5_get_credentials(krb5context, 0, krb5ccdef,
1141 krb5rc = KRB5KRB_ERR_GENERIC;
1157 if ((krb5rc = krb5_mk_req_extended(krb5context,
1199 else krb5rc = 0;
1213 return (krb5rc);
1234 krb5_error_code krb5rc = KRB5KRB_ERR_GENERIC;
1261 if ((krb5rc = kssl_build_principal_2(krb5context,
1271 return krb5rc; /* or KRB5KRB_ERR_GENERIC; */
1314 krb5_error_code krb5rc = KRB5KRB_ERR_GENERIC;
1338 if (!krb5context && (krb5rc = krb5_init_context(&krb5context)))
1345 (krb5rc = krb5_auth_con_free(krb5context, krb5auth_context)))
1353 (krb5rc = krb5_auth_con_init(krb5context, &krb5auth_context)))
1361 if ((krb5rc = krb5_auth_con_getrcache(krb5context, krb5auth_context,
1369 if ((krb5rc = krb5_sname_to_principal(krb5context, NULL,
1380 if ((krb5rc = krb5_get_server_rcache(krb5context,
1390 if ((krb5rc = krb5_auth_con_setrcache(krb5context, krb5auth_context, rcache)))
1402 krb5rc = krb5_kt_resolve(krb5context, kssl_ctx->keytab_file,
1404 if (krb5rc)
1413 krb5rc = krb5_kt_default(krb5context,&krb5keytab);
1414 if (krb5rc)
1431 ** if ((krb5rc = krb5_rd_req(krb5context, &krb5auth_context,
1446 /* Was: krb5rc = krb5_decode_ticket(krb5in_data,&krb5ticket)) != 0) */
1447 if ((krb5rc = kssl_TKT2tkt(krb5context, asn1ticket, &krb5ticket,
1458 krb5rc = KRB5_PRINC_NOMATCH;
1464 if ((krb5rc = krb5_kt_get_entry(krb5context, krb5keytab,
1468 "krb5_kt_get_entry() fails with %x.\n", krb5rc);
1472 if ((krb5rc = krb5_decrypt_tkt_part(krb5context, &kt_entry.key,
1512 krb5rc = KRB5_NO_TKT_SUPPLIED;
1536 krb5rc = KRB5KRB_AP_ERR_TKT_INVALID;
1540 else krb5rc = 0;
1557 return (krb5rc);
1779 krb5_error_code krb5rc = KRB5KRB_ERR_GENERIC;
1782 if ((krb5rc = krb5_init_context(&krb5context)))
1789 krb5rc = krb5_kt_resolve(krb5context, kssl_ctx->keytab_file,
1791 if (krb5rc)
1796 krb5rc = krb5_kt_default(krb5context,&krb5keytab);
1797 if (krb5rc)
1802 krb5rc = krb5_sname_to_principal(krb5context, NULL,
1806 if (krb5rc)
1809 krb5rc = krb5_kt_get_entry(krb5context, krb5keytab,
1814 if ( krb5rc == KRB5_KT_NOTFOUND ) {
1817 } else if ( krb5rc )
1833 krb5_error_code krb5rc = KRB5KRB_ERR_GENERIC;
1847 if ((krb5rc = krb5_init_context(&krb5context)) != 0)
1850 if ((krb5rc = krb5_sname_to_principal(krb5context,
1856 if ((krb5rc = krb5_cc_default(krb5context, &krb5ccdef)) != 0)
1859 if ((krb5rc = krb5_cc_get_principal(krb5context, krb5ccdef,
1863 if ((krb5rc = krb5_get_credentials(krb5context, 0, krb5ccdef,
2000 krb5_error_code krb5rc = 0;
2042 krb5rc = KRB5KRB_ERR_GENERIC;
2052 krb5rc = KRB5KRB_AP_ERR_BAD_INTEGRITY;
2062 krb5rc = 0; /* Skip, can't handle derived keys */
2082 krb5rc = KRB5KRB_AP_ERR_BAD_INTEGRITY;
2090 krb5rc = KRB5KRB_AP_ERR_BAD_INTEGRITY;
2108 krb5rc = KRB5KRB_AP_ERR_BAD_INTEGRITY;
2118 krb5rc = KRB5KRB_AP_ERR_BAD_INTEGRITY;
2146 return krb5rc;