summaryrefslogtreecommitdiffstats
path: root/src/db/sysdb.h
diff options
context:
space:
mode:
authorJan Zeleny <jzeleny@redhat.com>2012-05-15 06:33:13 -0400
committerStephen Gallagher <sgallagh@redhat.com>2012-06-10 15:45:42 -0400
commit84c611c1b7c04cc7735ab54d4e5f48284b79e6fb (patch)
tree003902da01986b7b5464a7f279146d8995b0f340 /src/db/sysdb.h
parentd1b9cd8de7b10f5d54501aace8731db9abbcc0b1 (diff)
downloadsssd_unused-84c611c1b7c04cc7735ab54d4e5f48284b79e6fb.tar.gz
sssd_unused-84c611c1b7c04cc7735ab54d4e5f48284b79e6fb.tar.xz
sssd_unused-84c611c1b7c04cc7735ab54d4e5f48284b79e6fb.zip
IPA subdomains - ask for information about master domain
The query is performed only if there is missing information in the cache. That means this should be done only once after restart when cache doesn't exist. All subsequent requests for subdomains won't include the request for master domain.
Diffstat (limited to 'src/db/sysdb.h')
-rw-r--r--src/db/sysdb.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/db/sysdb.h b/src/db/sysdb.h
index 85dde2c4..5867b19c 100644
--- a/src/db/sysdb.h
+++ b/src/db/sysdb.h
@@ -340,6 +340,13 @@ errno_t sysdb_get_subdomain_context(TALLOC_CTX *mem_ctx,
struct sss_domain_info *subdomain,
struct sysdb_ctx **subdomain_ctx);
+errno_t sysdb_master_domain_get_info(TALLOC_CTX *mem_ctx,
+ struct sysdb_ctx *sysdb,
+ struct subdomain_info **info);
+
+errno_t sysdb_master_domain_add_info(struct sysdb_ctx *sysdb,
+ struct subdomain_info *domain_info);
+
errno_t sysdb_search_domuser_by_name(TALLOC_CTX *mem_ctx,
struct sss_domain_info *domain,