| /onnv/onnv-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/ccache/ |
| ser_cc.c | 4 * lib/krb5/ccache/ser_rc.c 67 krb5_ccache ccache; 71 if ((ccache = (krb5_ccache) arg)) { 75 * krb5_int32 for length of ccache name. 79 if (ccache->ops && ccache->ops->prefix) 80 required += (strlen(ccache->ops->prefix)+1); 83 * The ccache name is formed as follows: 86 required += strlen(krb5_cc_get_name(kcontext, ccache)); 102 krb5_ccache ccache; 66 krb5_ccache ccache; local 100 krb5_ccache ccache; local 160 krb5_ccache ccache; local [all...] |
| /onnv/onnv-gate/usr/src/lib/pam_modules/krb5/ |
| utils.h | 48 krb5_ccache ccache; /* file credential cache */ member in struct:__anon4417
|
| /onnv/onnv-gate/usr/src/cmd/krb5/kadmin/kpasswd/ |
| kpasswd.c | 108 krb5_ccache ccache = NULL; local 141 code = krb5_cc_default(context, &ccache); 145 code = krb5_cc_get_principal(context, ccache, &princ); 148 (void) krb5_cc_close(context, ccache); 161 /* ever another ccache type (or if the error codes are ever */
|
| /onnv/onnv-gate/usr/src/cmd/ssh/sshd/ |
| auth-krb5.c | 175 krb5_ccache ccache = NULL; local 185 problem = krb5_cc_gen_new(authctxt->krb5_ctx, &krb5_fcc_ops, &ccache); 205 problem = krb5_cc_resolve(authctxt->krb5_ctx, ccname, &ccache); 211 problem = krb5_cc_initialize(authctxt->krb5_ctx, ccache, 218 ccache, tgt); 226 problem = krb5_cc_store_cred(authctxt->krb5_ctx, ccache, *creds); 231 authctxt->krb5_fwd_ccache = ccache; 232 ccache = NULL; 251 if (ccache) 252 krb5_cc_destroy(authctxt->krb5_ctx, ccache); [all...] |
| /onnv/onnv-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/ |
| vfy_increds.c | 77 krb5_ccache ccache; local 87 ccache = NULL; 158 in a memory ccache, then call the library. Later, we'll copy 159 everything except the initial cred into the ccache we return to 163 /* insert the initial cred into the ccache */ 165 if ((ret = krb5_cc_resolve(context, "MEMORY:rd_req", &ccache))) 168 if ((ret = krb5_cc_initialize(context, ccache, creds->client)) != NULL) 172 if ((ret = krb5_cc_store_cred(context, ccache, creds)) != NULL) 183 if ((ret = krb5_get_credentials(context, 0, ccache, &in_creds, 208 if (ccache_arg && ccache) { [all...] |
| gc_frm_kdc.c | 47 * Ring buffer abstraction for TGTs returned from a ccache; avoids 88 krb5_ccache ccache; member in struct:tr_state 156 * Flags for ccache lookups of cross-realm TGTs. 388 /* Match realm, unlike other ccache retrievals here. */ 389 retval = krb5_cc_retrieve_cred(ts->ctx, ts->ccache, 403 * Attempt to retrieve desired NXT_TGT from ccache. Point NXT_TGT to 423 retval = krb5_cc_retrieve_cred(ts->ctx, ts->ccache, RETR_FLAGS, 638 /* Don't waste time retrying ccache for direct path. */ 646 /* Not in the ccache, so talk to a KDC. */ 759 krb5_ccache ccache, [all...] |
| /onnv/onnv-gate/usr/src/lib/gss_mechs/mech_krb5/mech/ |
| store_cred.c | 48 krb5_ccache ccache = NULL; /* current [file] ccache */ local 49 krb5_principal ccprinc = NULL; /* default princ of current ccache */ 55 /* Get current ccache -- respect KRB5CCNAME, or use OS default */ 56 if ((code = krb5_cc_default(ct, &ccache))) { 64 * a) take all the initial tickets from the current ccache for 66 * b) copy them to a tmp MEMORY ccache 67 * c) copy the given cred's tickets to that same tmp ccache 68 * d) initialize the current ccache with either the same default 70 * default princ (dflt) and copy the tmp ccache's creds to it [all...] |
| acquire_cred.c | 221 If successful, set the ccache-specific fields in cred. 233 krb5_ccache ccache; local 241 cred->ccache = NULL; 243 /* load the GSS ccache name into the kg_context */ 248 /* check to see if the caller provided a ccache name if so 269 err = krb5_cc_resolve (context, ccache_name, &ccache); 297 if ((code = krb5_cc_resolve (context, ccname, &ccache))) { 304 if ((code = krb5int_cc_default(context, &ccache))) { 315 if ((code = krb5int_cc_default(context, &ccache))) { 329 if ((code = krb5_cc_set_flags(context, ccache, flags))) [all...] |
| accept_sec_context.c | 93 * Decode, decrypt and store the forwarded creds in the local ccache. 106 krb5_ccache ccache = NULL; local 175 if ((retval = krb5_cc_new_unique(context, "MEMORY", NULL, &ccache))) { 176 ccache = NULL; 180 if ((retval = krb5_cc_initialize(context, ccache, creds[0]->client))) { 187 if ((retval = krb5_cc_store_cred(context, ccache, creds[0]))) { 234 cred->ccache = ccache; /* the ccache containing the credential */ 235 ccache = NULL; /* cred takes ownership so don't destroy * [all...] |
| init_sec_context.c | 107 * ccache. 132 code = krb5_get_credentials(context, 0, cred->ccache, 190 data->cred->ccache, 1, 1362 krb5_ccache ccache = NULL; local 1543 krb5_ccache ccache = NULL; local [all...] |
| /onnv/onnv-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/os/ |
| kuserok.c | 91 krb5_ccache ccache = NULL; local 130 retval = krb5_cc_default(kcontext, &ccache); 139 retval = krb5_cc_retrieve_cred(kcontext, ccache, 153 retval = krb5_cc_destroy(kcontext, ccache); 165 retval = krb5_cc_resolve(kcontext, ccache_name_buf, &ccache); 172 retval = krb5_cc_initialize(kcontext, ccache, client); 179 retval = krb5_cc_store_cred(kcontext, ccache, &save_v5creds);
|
| /onnv/onnv-gate/usr/src/lib/krb5/kadm5/clnt/ |
| changepw.c | 382 krb5_ccache ccache; local 394 &ccache))) 422 if ((code = krb5_cc_retrieve_cred(handle->context, ccache, 0, &mcreds,
|
| client_init.c | 91 krb5_ccache ccache, 99 return _kadm5_init_any(client_name, INIT_CREDS, NULL, ccache, 589 krb5_ccache ccache = NULL; local 719 * create a ccache to store them in. If INIT_CREDS, use the 720 * ccache we were provided instead. 790 ccache = ccache_in; 792 malloc(strlen(krb5_cc_get_type(handle->context, ccache)) + 793 strlen(krb5_cc_get_name(handle->context, ccache)) + 2); 799 krb5_cc_get_type(handle->context, ccache), 800 krb5_cc_get_name(handle->context, ccache)); 1009 krb5_ccache ccache = NULL; local [all...] |
| /onnv/onnv-gate/usr/src/cmd/cmd-inet/usr.bin/telnet/ |
| kerberos5.c | 199 krb5_ccache ccache; local 218 if ((retval = krb5_cc_default(telnet_context, &ccache))) { 221 "could not get default ccache\r\n")); 257 if ((retval = krb5_cc_get_principal(telnet_context, ccache, 306 ccache, &creds, &new_creds))) { 621 krb5_ccache ccache; local 628 if ((retval = krb5_cc_default(telnet_context, &ccache))) { 631 "Kerberos V5: could not get default ccache - %s\r\n"), 636 retval = krb5_cc_get_principal(telnet_context, ccache, &client); 666 server, ccache, forward_flags & OPTS_FORWARDABLE_CREDS [all...] |
| /onnv/onnv-gate/usr/src/cmd/krb5/slave/ |
| kprop.c | 69 krb5_ccache ccache; /* Credentials cache which we'll be using */ variable 280 retval = krb5_cc_resolve(context, buf, &ccache); 287 retval = krb5_cc_initialize(context, ccache, my_principal); 305 (void) krb5_cc_destroy(context, ccache); 323 (void) krb5_cc_destroy(context, ccache); 330 (void) krb5_cc_destroy(context, ccache); 339 (void) krb5_cc_destroy(context, ccache); 350 (void) krb5_cc_destroy(context, ccache); 361 retval = krb5_cc_destroy(context, ccache);
|
| /onnv/onnv-gate/usr/src/cmd/ssh/ssh/ |
| sshconnect1.c | 517 krb5_ccache ccache = NULL; local 555 debug("Kerberos v5: could not get default ccache (permission denied)."); 560 problem = krb5_cc_default(*context, &ccache); 571 "host", remotehost, NULL, ccache, &ap); 620 if (ccache != NULL) 621 krb5_cc_close(*context, ccache); 640 krb5_ccache ccache = NULL; local 664 problem = krb5_cc_default(context, &ccache); 668 problem = krb5_cc_get_principal(context, ccache, &creds.client); 694 ccache, flags.i, remotehost, &creds, &outbuf) [all...] |
| /onnv/onnv-gate/usr/src/cmd/cmd-inet/usr.sbin/ |
| in.rlogind.c | 80 static krb5_ccache ccache = NULL; variable 618 /* Store the forwarded creds in the ccache */ 621 &ccache)) { [all...] |
| in.rshd.c | 137 static krb5_ccache ccache = NULL; variable 1028 if (ccache) 1281 if (ccache) 1283 ccache = NULL; [all...] |
| in.telnetd.c | 461 /* Decode, decrypt and store the forwarded creds in the local ccache. */ 471 krb5_ccache ccache = NULL; local 480 if ((retval = krb5_cc_default(context, &ccache))) 483 if ((retval = krb5_cc_initialize(context, ccache, 487 if ((retval = krb5_cc_store_cred(context, ccache, *creds)) != 0) 490 if ((retval = krb5_cc_close(context, ccache)) != 0) [all...] |
| /onnv/onnv-gate/usr/src/uts/common/gssapi/mechs/krb5/include/ |
| gssapiP_krb5.h | 175 /* ccache (init) data */ 176 krb5_ccache ccache; member in struct:_krb5_gss_cred_id_rec
|
| /onnv/onnv-gate/usr/src/cmd/sgs/elfdump/common/ |
| elfdump.c | 867 Cache *ccache; local 908 ccache = _cache; 921 Cap *cap = (Cap *)ccache->c_data->d_buf; 925 file, ccache->c_name); 930 dbg_print(0, MSG_INTL(MSG_ELF_SCN_CAP), ccache->c_name); 951 file, ccache->c_name); 965 file, ccache->c_name); 969 file, ccache->c_name); [all...] |