Searched refs:endtime (Results 1 - 25 of 44) sorted by relevance

12

/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/
H A Dvalid_times.c56 if ((currenttime - times->endtime) > context->clockskew)
H A Dget_creds.c43 in_creds->times.endtime (0 means as long as possible), session key type
70 * Set endtime appropriately to make sure we do not rope in
71 * expired creds. If endtime is set to 0 (which it almost always
76 * Hence, endtime below is set to "now" if in_creds->times.endtime
78 * if necessary. But, if in_creds has a non-zero endtime, we honor it.
80 if (in_creds->times.endtime != 0)
81 mcreds->times.endtime = in_creds->times.endtime;
83 if ((ret = krb5_timeofday(context, &mcreds->times.endtime)) !
[all...]
H A Dgc_via_tkt.c412 if ((in_cred->times.endtime != 0) &&
413 (dec_rep->enc_part2->times.endtime > in_cred->times.endtime))
423 (in_cred->times.endtime != 0) &&
424 (dec_rep->enc_part2->times.renew_till > in_cred->times.endtime))
H A Dsend_tgs.c192 tgsreq.till = timestruct->endtime ? timestruct->endtime :
193 in_cred->times.endtime;
H A Dvfy_increds.c179 if ((ret = krb5_timeofday(context, &in_creds.times.endtime)))
181 in_creds.times.endtime += 5*60;
H A Dgc_frm_kdc.c408 * Set endtime to now so krb5_cc_retrieve_cred won't return an expired ticket.
410 saved_endtime = tgtq->times.endtime;
411 if ((retval = krb5_timeofday(ts->ctx, &(tgtq->times.endtime))) != 0) {
412 tgtq->times.endtime = saved_endtime;
423 * Ensure that tgtq->times.endtime is reset back to its original value so
425 * a ticket with an endtime set to "now".
427 tgtq->times.endtime = saved_endtime;
927 * Set endtime to now so krb5_cc_retrieve_cred won't return an expired ticket.
929 if ((retval = krb5_timeofday(context, &(tgtq.times.endtime))) != 0) {
1182 * Set endtime t
[all...]
H A Dgic_pwd.c544 if (creds && creds->times.endtime) {
547 krb5_get_init_creds_opt_set_tkt_life(opt, creds->times.endtime - starttime);
557 options, and using creds->times.starttime, creds->times.endtime,
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/mech/
H A Dcontext_time.c61 if ((lifetime = ctx->endtime - now) <= 0) {
H A Dinit_sec_context.c107 endtime, out_creds)
112 krb5_timestamp endtime;
125 in_creds.times.endtime = endtime;
140 (*out_creds)->times.endtime < now) {
324 ctx->endtime = k_cred->times.endtime;
545 ctx->endtime = 0;
547 ctx->endtime = now + time_req;
558 ctx->endtime,
[all...]
H A Dlucid_context.c211 lctx->endtime = gctx->krb_times.endtime;
H A Daccept_sec_context.c232 cred->tgt_expire = creds[0]->times.endtime; /* store the end time */
988 ctx->endtime = ticket->enc_part2->times.endtime;
1005 if (ctx->endtime < now) {
1121 *time_rec = ctx->endtime - now;
H A Dinq_context.c136 /* SUNW17PACresync - should be krb_times.endtime (revisit) */
137 if ((lifetime = ctx->endtime - now) < 0)
H A Dacquire_cred.c401 cred->tgt_expire = creds.times.endtime;
409 cred->tgt_expire = creds.times.endtime;
433 /* this means that we found an endtime to use. */
/illumos-gate/usr/src/cmd/cmd-inet/common/
H A Dstore_forw_creds.c94 if (kwarn_add_warning(client_name, (*creds)->times.endtime) != 0) {
/illumos-gate/usr/src/lib/pam_modules/krb5/
H A Dkrb5_setcred.c557 krb5_timestamp endtime; local
559 if (renewed_cred && renewed_cred->times.endtime != 0)
560 endtime = renewed_cred->times.endtime;
562 endtime = my_creds.times.endtime;
574 if (kwarn_add_warning(client_name, endtime) != 0) {
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/ccache/
H A Dcc_retr.c51 if (t1->endtime) {
52 if (t1->endtime > t2->endtime)
342 in_creds->times.endtime == in_compare_creds->times.endtime &&
/illumos-gate/usr/src/cmd/fm/modules/SUNW,SPARC-Enterprise/event-transport/
H A Dex_dscp.c674 hrtime_t endtime, sleeptime; local
685 endtime = gethrtime() + timeout;
692 if (gethrtime() < endtime) {
733 hrtime_t endtime, sleeptime; local
744 endtime = gethrtime() + timeout;
751 if (gethrtime() < endtime) {
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ifconfig/
H A Drevarp.c278 hrtime_t endtime = gethrtime() + MSEC2NSEC(waitms); local
281 while ((currtime = gethrtime()) < endtime) {
282 waitms = NSEC2MSEC(endtime - currtime);
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/include/
H A Dgssapi_krb5.h147 OM_uint32 endtime; /* expiration time of context */ member in struct:gss_krb5_lucid_context_v1
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/mech/
H A Dk5seal.c457 if (ctx->endtime < now) {
460 "ctx->endtime = %d\n", ctx->endtime);
/illumos-gate/usr/src/cmd/krb5/kinit/
H A Dkinit.c1068 opts->lifetime = my_creds.times.endtime - my_creds.times.authtime;
1086 _kwarnd_add_warning(progname, opts->principal_name, my_creds.times.endtime);
1088 _kwarnd_add_warning(progname, opts->principal_name, my_creds.times.endtime);
1247 increds.times.endtime = 0;
1379 _kwarnd_add_warning(char *progname, char *me, time_t endtime) argument
1381 if (kwarn_add_warning(me, endtime) != 0)
/illumos-gate/usr/src/lib/libbc/libc/gen/common/
H A Dlocaltime.c788 time_t endtime; local
821 endtime = transtime(janfirst, year, &end,
823 if (starttime > endtime) {
824 *atp++ = endtime;
831 *atp++ = endtime;
/illumos-gate/usr/src/cmd/krb5/krb5kdc/
H A Ddo_tgs_req.c360 old_life = enc_tkt_reply.times.endtime - enc_tkt_reply.times.starttime;
363 enc_tkt_reply.times.endtime =
378 enc_tkt_reply.times.endtime =
382 min(header_ticket->enc_part2->times.endtime,
385 enc_tkt_reply.times.endtime =
388 min(header_ticket->enc_part2->times.endtime)));
391 (enc_tkt_reply.times.endtime < request->till) &&
/illumos-gate/usr/src/lib/fm/topo/modules/sun4v/sun4vpi/
H A Dpi_walker.c201 hrtime_t endtime; local
297 endtime = gethrtime();
299 (endtime-starttime)/MICROSEC);
/illumos-gate/usr/src/cmd/krb5/klist/
H A Dklist.c490 creds.times.endtime > now)
620 printtime(cred->times.endtime);

Completed in 3099 milliseconds

12