Lines Matching refs:krb_context
191 krb5_context krb_context;
250 status = krb5_init_context(&krb_context);
257 (void) krb5_set_default_realm(krb_context, realm);
259 if ((status = krb5_kt_resolve(krb_context,
342 doit(fd, &from, krb_context, encr_flag, keytab);
370 krb5_context krb_context,
387 if ((status = krb5_auth_con_init(krb_context, &auth_context)))
391 if ((status = krb5_auth_con_genaddrs(krb_context, auth_context, f,
395 status = krb5_auth_con_getrcache(krb_context, auth_context, &rcache);
402 status = krb5_sname_to_principal(krb_context, 0, 0,
407 status = krb5_get_server_rcache(krb_context,
408 krb5_princ_component(krb_context, server, 0),
410 krb5_free_principal(krb_context, server);
414 status = krb5_auth_con_setrcache(krb_context, auth_context,
419 if ((status = krb5_compat_recvauth(krb_context,
463 if ((status = krb5_auth_con_getauthenticator(krb_context,
484 krb5_free_authenticator(krb_context,
491 krb5_free_authenticator(krb_context,
505 status = krb5_c_verify_checksum(krb_context,
517 krb5_free_authenticator(krb_context,
522 krb5_free_authenticator(krb_context, authenticator);
525 if ((status = krb5_copy_principal(krb_context,
534 if ((status = krb5_unparse_name(krb_context, *client, &krusername)))
543 status = krb5_auth_con_getremotesubkey(krb_context,
580 status = krb5_copy_keyblock(krb_context,
603 if ((status = krb5_read_message(krb_context, (krb5_pointer)&f,
610 if (status = krb5_rd_cred(krb_context, auth_context, &inbuf,
613 (void) krb5_rc_close(krb_context, rcache);
614 krb5_free_creds(krb_context, *creds);
619 if (status = store_forw_creds(krb_context,
623 (void) krb5_rc_close(krb_context, rcache);
624 krb5_free_creds(krb_context, *creds);
627 krb5_free_creds(krb_context, *creds);
631 (void) krb5_rc_close(krb_context, rcache);
638 krb5_context krb_context, int encr_flag,
652 status = recvauth(f, krb_context, &valid_checksum, &ticket,
656 krb5_free_ticket(krb_context, ticket);
670 if (client && krb5_kuserok(krb_context, client, lusername))
688 krb5_free_ticket(krb_context, ticket);
935 krb5_context krb_context,
1038 krb_context, encr_flag, keytab);
1272 if (krb5_c_block_size(krb_context,