summaryrefslogtreecommitdiffstats
path: root/daemons/ipa-slapi-plugins/ipa-pwd-extop/ipapwd.h
diff options
context:
space:
mode:
authorSimo Sorce <ssorce@redhat.com>2011-07-07 13:30:15 -0400
committerSimo Sorce <ssorce@redhat.com>2011-08-26 08:24:50 -0400
commit35e15f6c91be21715d33ae0f06b5629f63289e8f (patch)
tree844677a86119079f4dfe1786bbfd8a3a90765230 /daemons/ipa-slapi-plugins/ipa-pwd-extop/ipapwd.h
parent0d048d7b49269853cd2a9c9b997c94717f05cf41 (diff)
downloadfreeipa-35e15f6c91be21715d33ae0f06b5629f63289e8f.tar.gz
freeipa-35e15f6c91be21715d33ae0f06b5629f63289e8f.tar.xz
freeipa-35e15f6c91be21715d33ae0f06b5629f63289e8f.zip
ipa-pwd-extop: Allow kadmin to set krb keys
Prevent the ipa-pwd-extop plugin from re-generating keys when kadimn is storing a new set of keys. Only generate the userPassword and sambaXXPassword hashes. Also avoid checking policies in this case and if history is provided avoid regenerating the passwordHistory too.
Diffstat (limited to 'daemons/ipa-slapi-plugins/ipa-pwd-extop/ipapwd.h')
-rw-r--r--daemons/ipa-slapi-plugins/ipa-pwd-extop/ipapwd.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/daemons/ipa-slapi-plugins/ipa-pwd-extop/ipapwd.h b/daemons/ipa-slapi-plugins/ipa-pwd-extop/ipapwd.h
index e430db73d..8f636189e 100644
--- a/daemons/ipa-slapi-plugins/ipa-pwd-extop/ipapwd.h
+++ b/daemons/ipa-slapi-plugins/ipa-pwd-extop/ipapwd.h
@@ -90,6 +90,8 @@ struct ipapwd_operation {
struct ipapwd_data pwdata;
int pwd_op;
int is_krb;
+ int skip_keys;
+ int skip_history;
};
#define GENERALIZED_TIME_LENGTH 15