diff options
author | Simo Sorce <ssorce@redhat.com> | 2011-09-17 15:08:06 -0400 |
---|---|---|
committer | Simo Sorce <ssorce@redhat.com> | 2011-09-19 12:28:35 -0400 |
commit | 4167ad01d73b0c7c0912bf537730da5c9b46b2c3 (patch) | |
tree | e567c696b3b439c32accf71407b5c11716fcbb53 /daemons/ipa-kdb/ipa_kdb.h | |
parent | 7854d8166e54e0d39c51750a421ebc9b5a347233 (diff) | |
download | freeipa-4167ad01d73b0c7c0912bf537730da5c9b46b2c3.tar.gz freeipa-4167ad01d73b0c7c0912bf537730da5c9b46b2c3.tar.xz freeipa-4167ad01d73b0c7c0912bf537730da5c9b46b2c3.zip |
ipa-kdb: Properly set password expiration time.
We do the policy check so we are the only one that can calculate the new
pwd espiration time.
Fixes: https://fedorahosted.org/freeipa/ticket/1793
Diffstat (limited to 'daemons/ipa-kdb/ipa_kdb.h')
-rw-r--r-- | daemons/ipa-kdb/ipa_kdb.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/daemons/ipa-kdb/ipa_kdb.h b/daemons/ipa-kdb/ipa_kdb.h index 78746918a..cfcaca649 100644 --- a/daemons/ipa-kdb/ipa_kdb.h +++ b/daemons/ipa-kdb/ipa_kdb.h @@ -178,3 +178,7 @@ krb5_error_code ipadb_change_pwd(krb5_context context, int new_kvno, krb5_boolean keepold, krb5_db_entry *db_entry); +krb5_error_code ipadb_get_pwd_expiration(krb5_context context, + krb5_db_entry *entry, + struct ipadb_e_data *ied, + time_t *expire_time); |