Searched refs:bsd_context (Results 1 - 9 of 9) sorted by relevance

/illumos-gate/usr/src/cmd/cmd-inet/common/
H A Dkcmd.c85 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, c
82 kcmd(int *sock, char **ahost, ushort_t rport, char *locuser, char *remuser, char *cmd, int *fd2p, char *service, char *realm, krb5_context bsd_context, krb5_auth_context *authconp, krb5_creds **cred, krb5_int32 *seqno, krb5_int32 *server_seqno, krb5_flags authopts, int anyport, enum kcmd_proto *protonump) argument
[all...]
H A Dkcmd.h100 krb5_context bsd_context, krb5_auth_context *authconp,
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/rdist/
H A Dkrb5defs.h46 extern krb5_context bsd_context;
H A Dmain.c58 krb5_context bsd_context = NULL; variable
294 status = krb5_init_context(&bsd_context);
302 (void) profile_get_options_boolean(bsd_context->profile,
309 if (!bsd_context) {
310 status = krb5_init_context(&bsd_context);
327 status = krb5_get_default_realm(bsd_context, &realmdef[1]);
336 profile_get_options_boolean(bsd_context->profile, realmdef,
341 profile_get_options_boolean(bsd_context->profile, appdef,
343 profile_get_options_string(bsd_context->profile, appdef,
H A Ddocmd.c346 bsd_context,
399 status = krb5_auth_con_getlocalsubkey(bsd_context,
417 init_encrypt(encrypt_flag, bsd_context, kcmd_proto, &desinbuf,
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/
H A Din.rshd.c135 static krb5_context bsd_context; variable
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,
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/
H A Drsh.c59 static krb5_context bsd_context = NULL; variable
432 status = krb5_init_context(&bsd_context);
440 (void) profile_get_options_boolean(bsd_context->profile,
447 if (!bsd_context) {
448 status = krb5_init_context(&bsd_context);
460 status = krb5_get_default_realm(bsd_context, &realmdef[1]);
470 (void) profile_get_options_boolean(bsd_context->profile,
475 (void) profile_get_options_boolean(bsd_context->profile,
477 (void) profile_get_options_string(bsd_context->profile,
570 bsd_context,
[all...]
H A Drcp.c141 static krb5_context bsd_context = NULL; variable
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,
[all...]
H A Drlogin.c97 static krb5_context bsd_context = NULL; variable
486 status = krb5_init_context(&bsd_context);
494 (void) profile_get_options_boolean(bsd_context->profile,
500 if (!bsd_context) {
501 status = krb5_init_context(&bsd_context);
519 status = krb5_get_default_realm(bsd_context, &realmdef[1]);
529 (void) profile_get_options_boolean(bsd_context->profile,
534 (void) profile_get_options_boolean(bsd_context->profile,
536 (void) profile_get_options_string(bsd_context->profile,
652 "host", krb_realm, bsd_context,
[all...]

Completed in 56 milliseconds