/illumos-gate/usr/src/cmd/cmd-inet/common/ |
H A D | kcmd.c | 89 krb5_context bsd_context, krb5_auth_context *authconp, in kcmd() argument 276 if (status = krb5_cc_default(bsd_context, &cc)) in kcmd() 281 (void) krb5_cc_close(bsd_context, cc); in kcmd() 287 (void) krb5_cc_close(bsd_context, cc); in kcmd() 308 status = krb5_c_enctype_compare(bsd_context, in kcmd() 357 krb5_free_error(bsd_context, error); in kcmd() 364 krb5_free_ap_rep_enc_part(bsd_context, rep_ret); in kcmd() 391 if (status = krb5_write_message(bsd_context, in kcmd() 422 krb5_free_creds(bsd_context, ret_cred); in kcmd() 438 krb5_free_creds(bsd_context, get_cred); in kcmd() [all …]
|
H A D | kcmd.h | 98 krb5_context bsd_context, krb5_auth_context *authconp,
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ |
H A D | in.rshd.c | 135 static krb5_context bsd_context; variable 287 status = krb5_init_context(&bsd_context); in main() 1459 status = krb5_get_server_rcache(bsd_context, in recvauth() 1462 krb5_free_principal(bsd_context, server); in recvauth() 1514 if ((status = krb5_copy_principal(bsd_context, in recvauth() 1571 krb5_free_authenticator(bsd_context, in recvauth() 1625 status = krb5_copy_keyblock(bsd_context, in recvauth() 1673 if ((status = krb5_rd_cred(bsd_context, in recvauth() 1682 if ((status = store_forw_creds(bsd_context, in recvauth() 1689 krb5_free_creds(bsd_context, *creds); in recvauth() [all …]
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/rdist/ |
H A D | main.c | 58 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 D | krb5defs.h | 44 extern krb5_context bsd_context;
|
H A D | docmd.c | 334 buf, 0, "host", krb_realm, bsd_context, &auth_context, in makeconn() 386 status = krb5_auth_con_getlocalsubkey(bsd_context, in makeconn() 403 init_encrypt(encrypt_flag, bsd_context, kcmd_proto, &desinbuf, in makeconn()
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/ |
H A D | rsh.c | 59 static krb5_context bsd_context = NULL; variable 432 status = krb5_init_context(&bsd_context); in main() 440 (void) profile_get_options_boolean(bsd_context->profile, in main() 447 if (!bsd_context) { in main() 448 status = krb5_init_context(&bsd_context); in main() 470 (void) profile_get_options_boolean(bsd_context->profile, in main() 475 (void) profile_get_options_boolean(bsd_context->profile, in main() 477 (void) profile_get_options_string(bsd_context->profile, in main() 570 bsd_context, &auth_context, &cred, in main() 619 bsd_context, in main() [all …]
|
H A D | rcp.c | 141 static krb5_context bsd_context = NULL; variable 309 status = krb5_init_context(&bsd_context); in main() 324 if (!bsd_context) { in main() 325 status = krb5_init_context(&bsd_context); in main() 616 bsd_context, in toremote() 683 bsd_context, kcmd_proto, in toremote() 841 bsd_context, in tolocal() 882 bsd_context, auth_context, in tolocal() 2148 if (krb5_cc_default(bsd_context, &cc)) in answer_auth() 2175 (void) krb5_copy_keyblock(bsd_context, in answer_auth() [all …]
|
H A D | rlogin.c | 97 static krb5_context bsd_context = NULL; variable 486 status = krb5_init_context(&bsd_context); in main() 494 (void) profile_get_options_boolean(bsd_context->profile, in main() 500 if (!bsd_context) { in main() 501 status = krb5_init_context(&bsd_context); in main() 529 (void) profile_get_options_boolean(bsd_context->profile, in main() 534 (void) profile_get_options_boolean(bsd_context->profile, in main() 536 (void) profile_get_options_string(bsd_context->profile, in main() 652 "host", krb_realm, bsd_context, &auth_context, in main() 700 bsd_context, in main() [all …]
|