Home
last modified time | relevance | path

Searched refs:kdc_time (Results 1 – 22 of 22) sorted by relevance

/freebsd/crypto/krb5/src/kdc/
H A Dtgs_policy.c121 krb5_ticket *tkt, krb5_timestamp kdc_time, in check_tgs_svc_deny_opts() argument
145 krb5_ticket *tkt, krb5_timestamp kdc_time, in check_tgs_svc_deny_all() argument
172 krb5_timestamp kdc_time, const char **status) in check_tgs_svc_reqd_flags() argument
191 krb5_timestamp kdc_time, const char **status) in check_tgs_svc_time() argument
193 if (server->expiration && ts_after(kdc_time, server->expiration)) { in check_tgs_svc_time()
202 krb5_ticket *tkt, krb5_timestamp kdc_time, in check_tgs_svc_policy() argument
210 errcode = svc_pol_fns[i](req, server, tkt, kdc_time, status); in check_tgs_svc_policy()
222 krb5_timestamp kdc_time, const char **status) in check_tgs_times() argument
230 if (ts_after(starttime, kdc_time)) { in check_tgs_times()
240 ts_after(kdc_time, times->renew_till)) { in check_tgs_times()
[all …]
H A Dpolicy.h38 krb5_data *const *auth_indicators, krb5_timestamp kdc_time,
44 krb5_data *const *auth_indicators, krb5_timestamp kdc_time,
H A Dpolicy.c106 krb5_data *const *auth_indicators, krb5_timestamp kdc_time, in check_kdcpolicy_as() argument
130 update_ticket_times(times, kdc_time, life, rlife); in check_kdcpolicy_as()
146 krb5_data *const *auth_indicators, krb5_timestamp kdc_time, in check_kdcpolicy_tgs() argument
170 update_ticket_times(times, kdc_time, life, rlife); in check_kdcpolicy_tgs()
H A Ddo_as_req.c175 krb5_timestamp kdc_time; member
220 state->kdc_time, &state->enc_tkt_reply.times, in finish_process_as_req()
342 state->server, state->sname, state->kdc_time, 0, 0, 0); in finish_process_as_req()
364 state->cname, state->server, state->sname, state->kdc_time, in finish_process_as_req()
522 errcode = krb5_timeofday(context, &state->kdc_time); in process_as_req()
631 state->server, state->kdc_time, in process_as_req()
672 state->enc_tkt_reply.times.authtime = state->kdc_time; in process_as_req()
695 state->enc_tkt_reply.times.starttime = state->kdc_time; in process_as_req()
H A Ddo_tgs_req.c813 krb5_timestamp kdc_time, krb5_flags *tktflags, in compute_ticket_times() argument
830 t->req->from : kdc_time; in compute_ticket_times()
864 krb5_timestamp kdc_time; in check_tgs_req() local
868 ret = krb5_timeofday(context, &kdc_time); in check_tgs_req()
874 t->stkt_server, kdc_time, t->s4u2self, in check_tgs_req()
884 t->stkt_pac_client, t->stkt_server, kdc_time, in check_tgs_req()
907 compute_ticket_times(realm, t, kdc_time, tktflags, times); in check_tgs_req()
920 t->auth_indicators, kdc_time, times, status); in check_tgs_req()
H A Dkdc_util.h89 krb5_db_entry *stkt_server, krb5_timestamp kdc_time,
100 krb5_timestamp kdc_time, krb5_boolean is_crossrealm,
H A Dkdc_util.c718 krb5_timestamp kdc_time, const char **status, in validate_as_request() argument
733 if (client->expiration && ts_after(kdc_time, client->expiration)) { in validate_as_request()
743 if (client->pw_expiration && ts_after(kdc_time, client->pw_expiration) && in validate_as_request()
753 if (server->expiration && ts_after(kdc_time, server->expiration)) { in validate_as_request()
801 ret = krb5_db_check_policy_as(context, request, client, server, kdc_time, in validate_as_request()
/freebsd/crypto/krb5/src/plugins/kdb/db2/
H A Ddb2_exp.c164 krb5_db_entry *server, krb5_timestamp kdc_time, const char **status,
166 (kcontext, request, client, server, kdc_time, status, e_data));
H A Dkdb_db2.h132 krb5_timestamp kdc_time, const char **status,
H A Dkdb_db2.c1541 krb5_timestamp kdc_time, const char **status, in krb5_db2_check_policy_as() argument
1546 retval = krb5_db2_lockout_check_policy(kcontext, client, kdc_time); in krb5_db2_check_policy_as()
/freebsd/crypto/heimdal/kdc/
H A Dkdc_locl.h69 #define kdc_time (_kdc_now.tv_sec) macro
H A Dkerberos5.c771 if (client->valid_start && *client->valid_start > kdc_time) { in kdc_check_flags()
781 if (client->valid_end && *client->valid_end < kdc_time) { in kdc_check_flags()
791 if (client->pw_end && *client->pw_end < kdc_time in kdc_check_flags()
831 if (server->valid_start && *server->valid_start > kdc_time) { in kdc_check_flags()
841 if (server->valid_end && *server->valid_end < kdc_time) { in kdc_check_flags()
851 if (server->pw_end && *server->pw_end < kdc_time) { in kdc_check_flags()
1299 if (abs(kdc_time - p.patimestamp) > context->max_skew) { in _kdc_as_rep()
1310 (unsigned)abs(kdc_time - p.patimestamp), in _kdc_as_rep()
1550 start = et.authtime = kdc_time; in _kdc_as_rep()
1625 || kdc_time + config->kdc_warn_pwexpire >= *client->entry.pw_end)) { in _kdc_as_rep()
H A Dpkinit.c567 hx509_verify_set_time(cp->verify_ctx, kdc_time); in _kdc_pk_rd_padata()
1495 if (ocsp.expire == 0 && ocsp.next_update > kdc_time) { in _kdc_pk_mk_pa_reply()
1502 ocsp.next_update = kdc_time + 60 * 5; in _kdc_pk_mk_pa_reply()
1536 kdc_time, in _kdc_pk_mk_pa_reply()
1550 ocsp.next_update = kdc_time; in _kdc_pk_mk_pa_reply()
1556 if (ocsp.expire != 0 && ocsp.expire > kdc_time) { in _kdc_pk_mk_pa_reply()
H A Ddigest.c381 server_nonce[0] = kdc_time & 0xff; in _kdc_do_digest()
382 server_nonce[1] = (kdc_time >> 8) & 0xff; in _kdc_do_digest()
383 server_nonce[2] = (kdc_time >> 16) & 0xff; in _kdc_do_digest()
384 server_nonce[3] = (kdc_time >> 24) & 0xff; in _kdc_do_digest()
608 if (abs((kdc_time & 0xffffffff) - t) > context->max_skew) { in _kdc_do_digest()
H A Dkrb5tgs.c386 if(*tgt->starttime > kdc_time){ in check_tgs_flags()
457 }else if(b->from && *b->from > kdc_time + context->max_skew){ in check_tgs_flags()
598 if(et->endtime < kdc_time){ in verify_flags()
771 *et.starttime = kdc_time; in tgs_make_reply()
/freebsd/crypto/krb5/src/plugins/kdb/ldap/libkdb_ldap/
H A Dkdb_ldap.c264 krb5_timestamp kdc_time, const char **status, in krb5_ldap_check_policy_as() argument
269 retval = krb5_ldap_lockout_check_policy(kcontext, client, kdc_time); in krb5_ldap_check_policy_as()
H A Dkdb_ldap.h279 krb5_timestamp kdc_time, const char **status,
/freebsd/crypto/krb5/src/include/
H A Dkdb.h680 krb5_timestamp kdc_time,
1326 krb5_timestamp kdc_time,
/freebsd/crypto/krb5/src/plugins/kdb/lmdb/
H A Dkdb_lmdb.c1025 krb5_timestamp kdc_time, const char **status, in klmdb_check_policy_as() argument
1034 ret = klmdb_lockout_check_policy(context, client, kdc_time); in klmdb_check_policy_as()
/freebsd/crypto/krb5/src/lib/krb5/krb/
H A Dget_in_tkt.c1428 krb5_timestamp kdc_time, krb5_int32 kdc_usec) in note_req_timestamp() argument
1435 ctx->pa_offset = ts_delta(kdc_time, now); in note_req_timestamp()
/freebsd/crypto/krb5/src/lib/kdb/
H A Dkdb5.c2660 krb5_timestamp kdc_time, const char **status, in krb5_db_check_policy_as() argument
2673 return v->check_policy_as(kcontext, request, client, server, kdc_time, in krb5_db_check_policy_as()
/freebsd/crypto/heimdal/
H A DChangeLog.20061216 * kdc/kerberos5.c (_kdc_as_rep): if kdc_time +