Lines Matching refs:krb_context

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