• Home
  • Raw
  • Download

Lines Matching refs:krb5context

1067 	krb5_context		krb5context = NULL;  in kssl_cget_tkt()  local
1089 if ((krb5rc = krb5_init_context(&krb5context)) != 0) in kssl_cget_tkt()
1097 if ((krb5rc = krb5_sname_to_principal(krb5context, in kssl_cget_tkt()
1111 if ((krb5rc = krb5_cc_default(krb5context, &krb5ccdef)) != 0) in kssl_cget_tkt()
1118 if ((krb5rc = krb5_cc_get_principal(krb5context, krb5ccdef, in kssl_cget_tkt()
1126 if ((krb5rc = krb5_get_credentials(krb5context, 0, krb5ccdef, in kssl_cget_tkt()
1157 if ((krb5rc = krb5_mk_req_extended(krb5context, in kssl_cget_tkt()
1184 kssl_krb5_free_data_contents(krb5context,&krb5_app_req); in kssl_cget_tkt()
1206 if (krb5creds.client) krb5_free_principal(krb5context, in kssl_cget_tkt()
1208 if (krb5creds.server) krb5_free_principal(krb5context, in kssl_cget_tkt()
1210 if (krb5auth_context) krb5_auth_con_free(krb5context, in kssl_cget_tkt()
1212 if (krb5context) krb5_free_context(krb5context); in kssl_cget_tkt()
1229 kssl_TKT2tkt( /* IN */ krb5_context krb5context, in kssl_TKT2tkt() argument
1261 if ((krb5rc = kssl_build_principal_2(krb5context, in kssl_TKT2tkt()
1274 krb5_princ_type(krb5context, new5ticket->server) = in kssl_TKT2tkt()
1315 static krb5_context krb5context = NULL; in kssl_sget_tkt() local
1338 if (!krb5context && (krb5rc = krb5_init_context(&krb5context))) in kssl_sget_tkt()
1345 (krb5rc = krb5_auth_con_free(krb5context, krb5auth_context))) in kssl_sget_tkt()
1353 (krb5rc = krb5_auth_con_init(krb5context, &krb5auth_context))) in kssl_sget_tkt()
1361 if ((krb5rc = krb5_auth_con_getrcache(krb5context, krb5auth_context, in kssl_sget_tkt()
1369 if ((krb5rc = krb5_sname_to_principal(krb5context, NULL, in kssl_sget_tkt()
1380 if ((krb5rc = krb5_get_server_rcache(krb5context, in kssl_sget_tkt()
1381 krb5_princ_component(krb5context, krb5server, 0), in kssl_sget_tkt()
1390 if ((krb5rc = krb5_auth_con_setrcache(krb5context, krb5auth_context, rcache))) in kssl_sget_tkt()
1402 krb5rc = krb5_kt_resolve(krb5context, kssl_ctx->keytab_file, in kssl_sget_tkt()
1413 krb5rc = krb5_kt_default(krb5context,&krb5keytab); in kssl_sget_tkt()
1447 if ((krb5rc = kssl_TKT2tkt(krb5context, asn1ticket, &krb5ticket, in kssl_sget_tkt()
1456 if (! krb5_principal_compare(krb5context, krb5server, in kssl_sget_tkt()
1464 if ((krb5rc = krb5_kt_get_entry(krb5context, krb5keytab, in kssl_sget_tkt()
1472 if ((krb5rc = krb5_decrypt_tkt_part(krb5context, &kt_entry.key, in kssl_sget_tkt()
1480 krb5_kt_free_entry(krb5context, &kt_entry); in kssl_sget_tkt()
1554 if (krb5keytab) krb5_kt_close(krb5context, krb5keytab); in kssl_sget_tkt()
1555 if (krb5ticket) krb5_free_ticket(krb5context, krb5ticket); in kssl_sget_tkt()
1556 if (krb5server) krb5_free_principal(krb5context, krb5server); in kssl_sget_tkt()
1775 krb5_context krb5context = NULL; in kssl_keytab_is_available() local
1782 if ((krb5rc = krb5_init_context(&krb5context))) in kssl_keytab_is_available()
1789 krb5rc = krb5_kt_resolve(krb5context, kssl_ctx->keytab_file, in kssl_keytab_is_available()
1796 krb5rc = krb5_kt_default(krb5context,&krb5keytab); in kssl_keytab_is_available()
1802 krb5rc = krb5_sname_to_principal(krb5context, NULL, in kssl_keytab_is_available()
1809 krb5rc = krb5_kt_get_entry(krb5context, krb5keytab, in kssl_keytab_is_available()
1820 krb5_kt_free_entry(krb5context, &entry); in kssl_keytab_is_available()
1824 if (krb5keytab) krb5_kt_close(krb5context, krb5keytab); in kssl_keytab_is_available()
1825 if (princ) krb5_free_principal(krb5context, princ); in kssl_keytab_is_available()
1826 if (krb5context) krb5_free_context(krb5context); in kssl_keytab_is_available()
1834 krb5_context krb5context = NULL; in kssl_tgt_is_available() local
1847 if ((krb5rc = krb5_init_context(&krb5context)) != 0) in kssl_tgt_is_available()
1850 if ((krb5rc = krb5_sname_to_principal(krb5context, in kssl_tgt_is_available()
1856 if ((krb5rc = krb5_cc_default(krb5context, &krb5ccdef)) != 0) in kssl_tgt_is_available()
1859 if ((krb5rc = krb5_cc_get_principal(krb5context, krb5ccdef, in kssl_tgt_is_available()
1863 if ((krb5rc = krb5_get_credentials(krb5context, 0, krb5ccdef, in kssl_tgt_is_available()
1874 if (krb5creds.client) krb5_free_principal(krb5context, krb5creds.client); in kssl_tgt_is_available()
1875 if (krb5creds.server) krb5_free_principal(krb5context, krb5creds.server); in kssl_tgt_is_available()
1876 if (krb5context) krb5_free_context(krb5context); in kssl_tgt_is_available()