Lines Matching refs:bsd_context

135 static krb5_context bsd_context;
233 (void) krb5_set_default_realm(bsd_context, optarg);
238 if ((status = krb5_kt_resolve(bsd_context, optarg,
287 status = krb5_init_context(&bsd_context);
676 if (client && krb5_kuserok(bsd_context, client, locuser)) {
1440 if (status = krb5_auth_con_init(bsd_context, &auth_context))
1443 if (status = krb5_auth_con_genaddrs(bsd_context, auth_context, netf,
1447 status = krb5_auth_con_getrcache(bsd_context, auth_context, &rcache);
1454 status = krb5_sname_to_principal(bsd_context, 0, 0,
1459 status = krb5_get_server_rcache(bsd_context,
1460 krb5_princ_component(bsd_context, server, 0),
1462 krb5_free_principal(bsd_context, server);
1466 status = krb5_auth_con_setrcache(bsd_context, auth_context,
1472 status = krb5_recvauth_version(bsd_context, &auth_context, &netf,
1510 if ((status = krb5_unparse_name(bsd_context, ticket->enc_part2->client,
1514 if ((status = krb5_copy_principal(bsd_context,
1520 if ((status = krb5_auth_con_getauthenticator(bsd_context,
1561 status = krb5_c_verify_checksum(bsd_context,
1571 krb5_free_authenticator(bsd_context,
1576 krb5_free_authenticator(bsd_context, authenticator);
1589 status = krb5_auth_con_getremotesubkey(bsd_context,
1625 status = krb5_copy_keyblock(bsd_context,
1656 init_encrypt(do_encrypt, bsd_context, kcmd_protocol,
1662 if ((status = krb5_read_message(bsd_context, (krb5_pointer) & netf,
1673 if ((status = krb5_rd_cred(bsd_context,
1682 if ((status = store_forw_creds(bsd_context,
1689 krb5_free_creds(bsd_context, *creds);
1692 krb5_free_ticket(bsd_context, ticket);