summaryrefslogtreecommitdiffstats
path: root/daemons/ipa-slapi-plugins/ipa-pwd-extop/ipapwd.h
diff options
context:
space:
mode:
authorSimo Sorce <ssorce@redhat.com>2011-06-20 09:23:37 -0400
committerSimo Sorce <ssorce@redhat.com>2011-08-26 08:24:49 -0400
commitb4aab3d98d68bfa79323b216320b1d3dcc1941c9 (patch)
treec70d1cd61befcc8ea15df869abc86f7d5c7ea99b /daemons/ipa-slapi-plugins/ipa-pwd-extop/ipapwd.h
parent672035cbbac649b74cbe2d8396466d18e3e81130 (diff)
downloadfreeipa-b4aab3d98d68bfa79323b216320b1d3dcc1941c9.tar.gz
freeipa-b4aab3d98d68bfa79323b216320b1d3dcc1941c9.tar.xz
freeipa-b4aab3d98d68bfa79323b216320b1d3dcc1941c9.zip
ipa-pwd-extop: Use common krb5 structs from kdb.h
This removes custom structures and allows easier sharing of code with ipa-kdb
Diffstat (limited to 'daemons/ipa-slapi-plugins/ipa-pwd-extop/ipapwd.h')
-rw-r--r--daemons/ipa-slapi-plugins/ipa-pwd-extop/ipapwd.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/daemons/ipa-slapi-plugins/ipa-pwd-extop/ipapwd.h b/daemons/ipa-slapi-plugins/ipa-pwd-extop/ipapwd.h
index ed9798829..904995eca 100644
--- a/daemons/ipa-slapi-plugins/ipa-pwd-extop/ipapwd.h
+++ b/daemons/ipa-slapi-plugins/ipa-pwd-extop/ipapwd.h
@@ -97,20 +97,15 @@ struct ipapwd_operation {
/* from ipapwd_common.c */
-struct ipapwd_encsalt {
- krb5_int32 enc_type;
- krb5_int32 salt_type;
-};
-
struct ipapwd_krbcfg {
krb5_context krbctx;
char *realm;
int mkvno;
krb5_keyblock *kmkey;
int num_supp_encsalts;
- struct ipapwd_encsalt *supp_encsalts;
+ krb5_key_salt_tuple *supp_encsalts;
int num_pref_encsalts;
- struct ipapwd_encsalt *pref_encsalts;
+ krb5_key_salt_tuple *pref_encsalts;
char **passsync_mgrs;
int num_passsync_mgrs;
bool allow_lm_hash;