/titanic_44/usr/src/cmd/cmd-inet/common/ |
H A D | kcmd.c | 85 krb5_context bsd_context, krb5_auth_context *authconp, in kcmd() argument 156 status = krb5_sname_to_principal(bsd_context, host_save, service, in kcmd() 169 krb5_princ_realm(bsd_context, get_cred->server)->data); in kcmd() 170 krb5_princ_set_realm_length(bsd_context, get_cred->server, in kcmd() 172 krb5_princ_set_realm_data(bsd_context, get_cred->server, in kcmd() 272 if (status = krb5_cc_default(bsd_context, &cc)) in kcmd() 275 status = krb5_cc_get_principal(bsd_context, cc, &get_cred->client); in kcmd() 277 (void) krb5_cc_close(bsd_context, cc); in kcmd() 282 status = krb5_get_credentials(bsd_context, 0, cc, get_cred, &ret_cred); in kcmd() 283 (void) krb5_cc_close(bsd_context, cc); in kcmd() [all …]
|
H A D | kcmd.h | 100 krb5_context bsd_context, krb5_auth_context *authconp,
|
/titanic_44/usr/src/cmd/cmd-inet/usr.sbin/ |
H A D | in.rshd.c | 135 static krb5_context bsd_context; variable 233 (void) krb5_set_default_realm(bsd_context, optarg); in main() 238 if ((status = krb5_kt_resolve(bsd_context, optarg, in main() 287 status = krb5_init_context(&bsd_context); in main() 676 if (client && krb5_kuserok(bsd_context, client, locuser)) { in doit() 1440 if (status = krb5_auth_con_init(bsd_context, &auth_context)) in recvauth() 1443 if (status = krb5_auth_con_genaddrs(bsd_context, auth_context, netf, in recvauth() 1447 status = krb5_auth_con_getrcache(bsd_context, auth_context, &rcache); in recvauth() 1454 status = krb5_sname_to_principal(bsd_context, 0, 0, in recvauth() 1459 status = krb5_get_server_rcache(bsd_context, in recvauth() [all …]
|
/titanic_44/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 | 46 extern krb5_context bsd_context;
|
H A D | docmd.c | 346 bsd_context, 399 status = krb5_auth_con_getlocalsubkey(bsd_context, 417 init_encrypt(encrypt_flag, bsd_context, kcmd_proto, &desinbuf,
|
/titanic_44/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() 460 status = krb5_get_default_realm(bsd_context, &realmdef[1]); 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() [all …]
|
H A D | rcp.c | 141 static krb5_context bsd_context = NULL; variable 309 status = krb5_init_context(&bsd_context); in main() 317 (void) profile_get_options_boolean(bsd_context->profile, in main() 324 if (!bsd_context) { in main() 325 status = krb5_init_context(&bsd_context); in main() 374 status = krb5_get_default_realm(bsd_context, &realmdef[1]); in main() 383 (void) profile_get_options_boolean(bsd_context->profile, in main() 388 (void) profile_get_options_boolean(bsd_context->profile, in main() 390 (void) profile_get_options_string(bsd_context->profile, in main() 616 bsd_context, in toremote() [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() 519 status = krb5_get_default_realm(bsd_context, &realmdef[1]); 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() [all …]
|