Lines Matching refs:bsd_context
85 krb5_context bsd_context, krb5_auth_context *authconp,
156 status = krb5_sname_to_principal(bsd_context, host_save, service,
169 krb5_princ_realm(bsd_context, get_cred->server)->data);
170 krb5_princ_set_realm_length(bsd_context, get_cred->server,
172 krb5_princ_set_realm_data(bsd_context, get_cred->server,
272 if (status = krb5_cc_default(bsd_context, &cc))
275 status = krb5_cc_get_principal(bsd_context, cc, &get_cred->client);
277 (void) krb5_cc_close(bsd_context, cc);
282 status = krb5_get_credentials(bsd_context, 0, cc, get_cred, &ret_cred);
283 (void) krb5_cc_close(bsd_context, cc);
290 if ((status = krb5_auth_con_init(bsd_context, &auth_context)))
293 if ((status = krb5_auth_con_setflags(bsd_context, auth_context,
298 if ((status = krb5_auth_con_genaddrs(bsd_context, auth_context, s,
304 status = krb5_c_enctype_compare(bsd_context,
331 status = krb5_sendauth(bsd_context, &auth_context, (krb5_pointer) &s,
353 krb5_free_error(bsd_context, error);
360 krb5_free_ap_rep_enc_part(bsd_context, rep_ret);
371 if (status = krb5_fwd_tgt_creds(bsd_context, auth_context,
382 if (status = krb5_write_message(bsd_context, (krb5_pointer)&s,
387 if (status = krb5_write_message(bsd_context,
415 if (cred) (void) krb5_copy_creds(bsd_context, ret_cred, cred);
416 krb5_free_creds(bsd_context, ret_cred);
431 krb5_free_creds(bsd_context, get_cred);
433 krb5_free_creds(bsd_context, ret_cred);