summaryrefslogtreecommitdiffstats
path: root/daemons/ipa-kdb/ipa_kdb.c
diff options
context:
space:
mode:
Diffstat (limited to 'daemons/ipa-kdb/ipa_kdb.c')
-rw-r--r--daemons/ipa-kdb/ipa_kdb.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/daemons/ipa-kdb/ipa_kdb.c b/daemons/ipa-kdb/ipa_kdb.c
index aa0c154a2..4e8fb3ae9 100644
--- a/daemons/ipa-kdb/ipa_kdb.c
+++ b/daemons/ipa-kdb/ipa_kdb.c
@@ -388,7 +388,11 @@ static krb5_error_code ipadb_create(krb5_context kcontext,
static krb5_error_code ipadb_get_age(krb5_context kcontext,
char *db_name, time_t *age)
{
- return KRB5_PLUGIN_OP_NOTSUPP;
+ /* just return the current time for now,
+ * until we can use persistent searches and have
+ * a better estimate */
+ *age = time(NULL);
+ return 0;
}
static krb5_error_code ipadb_get_principal(krb5_context kcontext,