summaryrefslogtreecommitdiffstats
path: root/src/confdb/confdb.h
diff options
context:
space:
mode:
authorSumit Bose <sbose@redhat.com>2015-03-24 13:00:14 +0100
committerSumit Bose <sbose@redhat.com>2015-05-08 09:14:12 +0200
commit932c3e22e3c59a9c33f30dcc09e6bef257e14320 (patch)
tree133eca06e5885c538d6dc828447515285e9487a6 /src/confdb/confdb.h
parente5698314b87e147c0223d0d8bcac206733dfae8c (diff)
downloadsssd-932c3e22e3c59a9c33f30dcc09e6bef257e14320.tar.gz
sssd-932c3e22e3c59a9c33f30dcc09e6bef257e14320.tar.xz
sssd-932c3e22e3c59a9c33f30dcc09e6bef257e14320.zip
Add cache_credentials_minimal_first_factor_length config option
Reviewed-by: Lukáš Slebodník <lslebodn@redhat.com>
Diffstat (limited to 'src/confdb/confdb.h')
-rw-r--r--src/confdb/confdb.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/confdb/confdb.h b/src/confdb/confdb.h
index 19c564020..c8c91288c 100644
--- a/src/confdb/confdb.h
+++ b/src/confdb/confdb.h
@@ -162,6 +162,9 @@
#define CONFDB_DOMAIN_MINID "min_id"
#define CONFDB_DOMAIN_MAXID "max_id"
#define CONFDB_DOMAIN_CACHE_CREDS "cache_credentials"
+#define CONFDB_DOMAIN_CACHE_CREDS_MIN_FF_LENGTH \
+ "cache_credentials_minimal_first_factor_length"
+#define CONFDB_DEFAULT_CACHE_CREDS_MIN_FF_LENGTH 8
#define CONFDB_DOMAIN_LEGACY_PASS "store_legacy_passwords"
#define CONFDB_DOMAIN_MPG "magic_private_groups"
#define CONFDB_DOMAIN_FQ "use_fully_qualified_names"
@@ -221,6 +224,7 @@ struct sss_domain_info {
uint32_t id_max;
bool cache_credentials;
+ uint32_t cache_credentials_min_ff_length;
bool legacy_passwords;
bool case_sensitive;
bool case_preserve;