Lines Matching refs:bsd_context
141 static krb5_context bsd_context = NULL;
309 status = krb5_init_context(&bsd_context);
317 (void) profile_get_options_boolean(bsd_context->profile,
324 if (!bsd_context) {
325 status = krb5_init_context(&bsd_context);
374 status = krb5_get_default_realm(bsd_context, &realmdef[1]);
383 (void) profile_get_options_boolean(bsd_context->profile,
388 (void) profile_get_options_boolean(bsd_context->profile,
390 (void) profile_get_options_string(bsd_context->profile,
616 bsd_context,
661 status = krb5_auth_con_getlocalsubkey(bsd_context, auth_context, &session_key);
683 bsd_context, kcmd_proto,
841 bsd_context,
882 bsd_context, auth_context,
900 init_encrypt(encrypt_flag, bsd_context,
2135 if (krb5_set_config_files(bsd_context, filenames))
2140 if (krb5_read_message(bsd_context, (krb5_pointer) &rem, &pname_data))
2143 if (krb5_read_message(bsd_context, (krb5_pointer) &rem,
2148 if (krb5_cc_default(bsd_context, &cc))
2151 if (krb5_cc_resolve(bsd_context, ccache_file, &cc))
2155 if (krb5_cc_get_principal(bsd_context, cc, &creds.client))
2158 if (krb5_parse_name(bsd_context, pname_data.data, &creds.server))
2162 if (krb5_get_credentials(bsd_context, KRB5_GC_USER_USER, cc, &creds,
2166 if (krb5_mk_req_extended(bsd_context, &auth_context,
2170 if (krb5_write_message(bsd_context, (krb5_pointer) & rem, &msg)) {
2175 (void) krb5_copy_keyblock(bsd_context,
2182 init_encrypt(encrypt_flag, bsd_context, KCMD_OLD_PROTOCOL,
2185 krb5_free_cred_contents(bsd_context, &creds);
2186 krb5_free_creds(bsd_context, new_creds);