diff options
Diffstat (limited to 'daemons/ipa-kdb/ipa_kdb.h')
-rw-r--r-- | daemons/ipa-kdb/ipa_kdb.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/daemons/ipa-kdb/ipa_kdb.h b/daemons/ipa-kdb/ipa_kdb.h index 7dc880527..78746918a 100644 --- a/daemons/ipa-kdb/ipa_kdb.h +++ b/daemons/ipa-kdb/ipa_kdb.h @@ -41,6 +41,7 @@ #include <endian.h> #include "ipa_krb5.h" +#include "ipa_pwd.h" /* easier to copy the defines here than to mess with kadm5/admin.h * for now */ @@ -80,6 +81,17 @@ struct ipadb_context { int n_supp_encs; }; +#define IPA_E_DATA_MAGIC 0x0eda7a +struct ipadb_e_data { + int magic; + bool ipa_user; + char *passwd; + time_t last_pwd_change; + char *pw_policy_dn; + char **pw_history; + struct ipapwd_policy pol; +}; + struct ipadb_context *ipadb_get_context(krb5_context kcontext); int ipadb_get_connection(struct ipadb_context *ipactx); |