summaryrefslogtreecommitdiffstats
path: root/server/confdb/confdb.h
diff options
context:
space:
mode:
authorStephen Gallagher <sgallagh@redhat.com>2008-11-06 15:45:24 -0500
committerSimo Sorce <idra@samba.org>2008-11-07 16:51:21 -0500
commit9396e620134760e7b562b5452f34ec80dc6f2af7 (patch)
treede226c456d579270d20be914af9fddb961ca4d73 /server/confdb/confdb.h
parent5851bf4d73fdab8634e2098e73eaef396504ed74 (diff)
downloadsssd-9396e620134760e7b562b5452f34ec80dc6f2af7.tar.gz
sssd-9396e620134760e7b562b5452f34ec80dc6f2af7.tar.xz
sssd-9396e620134760e7b562b5452f34ec80dc6f2af7.zip
Store all domains served by the SSSD to a binary-tree map for fast NSS lookup.
Changed the "section" feature of confdb.c to use '/' as a delimiter instead of '.', because this conflicted with the ability to use dots in domain names.
Diffstat (limited to 'server/confdb/confdb.h')
-rw-r--r--server/confdb/confdb.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/server/confdb/confdb.h b/server/confdb/confdb.h
index 7841d4c12..62ab45c7d 100644
--- a/server/confdb/confdb.h
+++ b/server/confdb/confdb.h
@@ -45,3 +45,11 @@ int confdb_get_int(struct confdb_ctx *cdb, TALLOC_CTX *ctx,
int confdb_init(TALLOC_CTX *mem_ctx,
struct event_context *ev,
struct confdb_ctx **cdb_ctx);
+
+int confdb_get_domains(struct confdb_ctx *cdb,
+ TALLOC_CTX *mem_ctx,
+ char ***values);
+int confdb_get_domain_basedn(struct confdb_ctx *cdb,
+ TALLOC_CTX *mem_ctx,
+ const char *domain,
+ char **basedn);