From f16705ecade500f77b525d1a3df0109196c98ee0 Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Sat, 11 Apr 2009 00:18:23 -0400 Subject: Always pass full domain info Change sysdb to always passwd sss_domain_info, not just the domain name. This way domain specific options can always be honored at the db level. --- server/confdb/confdb.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'server/confdb/confdb.h') diff --git a/server/confdb/confdb.h b/server/confdb/confdb.h index ae66807a..fda584c8 100644 --- a/server/confdb/confdb.h +++ b/server/confdb/confdb.h @@ -47,6 +47,9 @@ struct sss_domain_info { uint32_t id_min; uint32_t id_max; + bool cache_credentials; + bool legacy_passwords; + struct sss_domain_info *next; }; @@ -80,6 +83,11 @@ int confdb_init(TALLOC_CTX *mem_ctx, struct confdb_ctx **cdb_ctx, char *confdb_location); +int confdb_get_domain(struct confdb_ctx *cdb, + TALLOC_CTX *mem_ctx, + const char *name, + struct sss_domain_info **domain); + int confdb_get_domains(struct confdb_ctx *cdb, TALLOC_CTX *mem_ctx, struct sss_domain_info **domains); -- cgit