summaryrefslogtreecommitdiffstats
path: root/daemons/ipa-kdb/ipa_kdb.h
diff options
context:
space:
mode:
authorSimo Sorce <ssorce@redhat.com>2012-05-23 12:35:44 -0400
committerRob Crittenden <rcritten@redhat.com>2012-06-06 22:12:22 -0400
commitf602ad270d06a0dd7f53c4aa6904d27daa07d4ae (patch)
tree6e029f602dd44652998064b52f97ec691b5ebc44 /daemons/ipa-kdb/ipa_kdb.h
parentf8e7b516d923142a23058cb23ee817522686cfe3 (diff)
downloadfreeipa-f602ad270d06a0dd7f53c4aa6904d27daa07d4ae.tar.gz
freeipa-f602ad270d06a0dd7f53c4aa6904d27daa07d4ae.tar.xz
freeipa-f602ad270d06a0dd7f53c4aa6904d27daa07d4ae.zip
Add support for disabling KDC writes
Add two global ipaConfig options to disable undesirable writes that have performance impact. The "KDC:Disable Last Success" will disable writing back to ldap the last successful AS Request time (successful kinit) The "KDC:Disable Lockout" will disable completely writing back lockout related data. This means lockout policies will stop working. https://fedorahosted.org/freeipa/ticket/2734
Diffstat (limited to 'daemons/ipa-kdb/ipa_kdb.h')
-rw-r--r--daemons/ipa-kdb/ipa_kdb.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/daemons/ipa-kdb/ipa_kdb.h b/daemons/ipa-kdb/ipa_kdb.h
index 996d8448b..c1cc7a7d8 100644
--- a/daemons/ipa-kdb/ipa_kdb.h
+++ b/daemons/ipa-kdb/ipa_kdb.h
@@ -92,6 +92,8 @@ struct ipadb_context {
krb5_key_salt_tuple *supp_encs;
int n_supp_encs;
struct ipadb_wincompat wc;
+ bool disable_last_success;
+ bool disable_lockout;
};
#define IPA_E_DATA_MAGIC 0x0eda7a