summaryrefslogtreecommitdiff
path: root/third_party/heimdal/kdc/libkdc-exports.def
diff options
context:
space:
mode:
authorJoseph Sutton <josephsutton@catalyst.net.nz>2022-06-22 20:01:12 +1200
committerJule Anger <janger@samba.org>2022-07-27 10:52:36 +0000
commit018bdbc29db035e14019f0f58aba035cc86b534e (patch)
treefa39a70cd9e73732f30ae17a94f5552e2d8a3698 /third_party/heimdal/kdc/libkdc-exports.def
parent3e773a3954ff95c4ec9daeedf2739a5edd81e8dc (diff)
downloadsamba-018bdbc29db035e14019f0f58aba035cc86b534e.tar.gz
CVE-2022-2031 third_party/heimdal: Add function to get current KDC time
This allows the plugin to check the endtime of a ticket against the KDC's current time, to see if the ticket will expire in the next two minutes. BUG: https://bugzilla.samba.org/show_bug.cgi?id=15047 Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Diffstat (limited to 'third_party/heimdal/kdc/libkdc-exports.def')
-rw-r--r--third_party/heimdal/kdc/libkdc-exports.def1
1 files changed, 1 insertions, 0 deletions
diff --git a/third_party/heimdal/kdc/libkdc-exports.def b/third_party/heimdal/kdc/libkdc-exports.def
index 2c4564bcadc..fc4fb812a77 100644
--- a/third_party/heimdal/kdc/libkdc-exports.def
+++ b/third_party/heimdal/kdc/libkdc-exports.def
@@ -10,6 +10,7 @@ EXPORTS
kdc_validate_token
krb5_kdc_plugin_init
krb5_kdc_get_config
+ krb5_kdc_get_time
krb5_kdc_pkinit_config
krb5_kdc_set_dbinfo
krb5_kdc_process_krb5_request