Searched refs:rcache (Results 1 - 23 of 23) sorted by relevance

/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/rcache/
H A Dser_rc.c8 * lib/krb5/rcache/ser_rc.c
72 krb5_rcache rcache;
77 if ((rcache = (krb5_rcache) arg) != NULL) {
81 * krb5_int32 for length of rcache name.
85 if (rcache->ops && rcache->ops->type)
86 required += (strlen(rcache->ops->type)+1);
89 * The rcache name is formed as follows:
92 required += strlen(krb5_rc_get_name(kcontext, rcache));
108 krb5_rcache rcache;
71 krb5_rcache rcache; local
106 krb5_rcache rcache; local
167 krb5_rcache rcache; local
[all...]
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/
H A Dsrv_rcache.c46 krb5_rcache rcache = 0; local
73 * We expect to have the fully qualified rcache name (<type>:<name>),
141 retval = krb5_rc_resolve_full(context, &rcache, cachename);
143 rcache = 0;
151 retval = krb5_rc_recover_or_initialize(context, rcache, context->clockskew);
153 krb5_rc_close(context, rcache);
154 rcache = 0;
158 *rcptr = rcache;
159 rcache = 0;
163 if (rcache)
[all...]
H A Drd_req.c85 /* Get an rcache if necessary. */
86 if (((*auth_context)->rcache == NULL)
90 krb5_princ_component(context,server,0), &(*auth_context)->rcache)))
H A Drecvauth.c63 krb5_rcache rcache = 0; local
154 krb5_auth_con_getrcache(context, *auth_context, &rcache);
155 if ((!problem) && rcache == NULL) {
161 krb5_princ_component(context, server, 0), &rcache);
165 problem = krb5_get_server_rcache(context, &null_server, &rcache);
168 problem = krb5_auth_con_setrcache(context, *auth_context, rcache);
246 } else if (local_rcache && rcache != NULL) {
248 (void) krb5_rc_close(context, rcache);
H A Dauth_con.c74 if (auth_context->rcache)
75 (void) krb5_rc_close(context, auth_context->rcache);
331 krb5_auth_con_setrcache(krb5_context context, krb5_auth_context auth_context, krb5_rcache rcache) argument
333 auth_context->rcache = rcache;
339 krb5_auth_con_getrcache(krb5_context context, krb5_auth_context auth_context, krb5_rcache *rcache) argument
341 *rcache = auth_context->rcache;
H A Dmk_priv.c134 (auth_context->rcache == NULL))
223 if ((retval = krb5_rc_store(context, auth_context->rcache, &replay))) {
H A Dmk_safe.c160 (auth_context->rcache == NULL)){
283 if ((retval = krb5_rc_store(context, auth_context->rcache, &replay)) != 0) {
H A Drd_cred.c191 (auth_context->rcache == NULL))
222 if ((retval = krb5_rc_store(context, auth_context->rcache, &replay))) {
H A Drd_priv.c172 (auth_context->rcache == NULL))
238 if ((retval = krb5_rc_store(context, auth_context->rcache, &replay))) {
H A Drd_safe.c177 (auth_context->rcache == NULL))
248 if ((retval = krb5_rc_store(context, auth_context->rcache, &replay))) {
H A Dmk_cred.c197 (auth_context->rcache == NULL))
264 if ((retval = krb5_rc_store(context, auth_context->rcache, &replay))) {
H A Drd_req_dec.c51 * rcache specifies a replay detection cache used to store authenticators and
283 /* only check rcache if sender has provided one---some services
286 if ((*auth_context)->rcache) {
293 retval = krb5_rc_store(context, (*auth_context)->rcache, &rep);
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/include/
H A Dauth_con.h22 krb5_rcache rcache; member in struct:_krb5_auth_context
H A Dgssapi_krb5.h288 krb5_rcache rcache);
H A DgssapiP_krb5.h170 krb5_rcache rcache; member in struct:_krb5_gss_cred_id_rec
214 int cred_rcache; /* did we get rcache from creds? */
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/mech/
H A Drel_cred.c83 if (cred->rcache)
84 code3 = krb5_rc_close(context, cred->rcache);
H A Dadd_cred.c279 if (cred->rcache) {
283 &new_cred->rcache))) {
296 new_cred->rcache = NULL;
304 if (new_cred->rcache)
305 krb5_rc_close(context, new_cred->rcache);
324 if (new_cred->rcache)
325 krb5_rc_close(context, new_cred->rcache);
345 if (new_cred->rcache)
346 krb5_rc_close(context, new_cred->rcache);
H A Daccept_sec_context.c543 /* verify the AP_REQ message - setup the auth_context and rcache */
557 if (cred->rcache) {
559 if ((code = krb5_auth_con_setrcache(context, auth_context, cred->rcache))) {
H A Dacquire_cred.c212 &cred->rcache))) {
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/
H A Din.rlogind.c380 krb5_rcache rcache; local
395 status = krb5_auth_con_getrcache(krb_context, auth_context, &rcache);
399 if (!rcache) {
409 &rcache);
415 rcache);
612 if (rcache)
613 (void) krb5_rc_close(krb_context, rcache);
622 if (rcache)
623 (void) krb5_rc_close(krb_context, rcache);
630 if (rcache)
[all...]
H A Din.rshd.c1423 krb5_rcache rcache; local
1447 status = krb5_auth_con_getrcache(bsd_context, auth_context, &rcache);
1451 if (!rcache) {
1461 &rcache);
1467 rcache);
H A Din.telnetd.c561 krb5_rcache rcache; local
565 &rcache);
566 if (!err && !rcache) {
577 &rcache);
590 rcache);
768 krb5_rcache rcache; local
771 auth_context, &rcache);
772 if (!err && !rcache) {
781 &rcache);
792 auth_context, rcache);
[all...]
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/
H A DMakefile.com242 -I../krb5/rcache \
471 objs/%.o pics/%.o: $(REL_PATH)/krb5/rcache/%.c
537 $(K5_RCACHE:%.o= $(SRC)/lib/gss_mechs/mech_krb5/krb5/rcache/%.c) \

Completed in 138 milliseconds