summaryrefslogtreecommitdiffstats
path: root/src/db/sysdb.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/db/sysdb.c')
-rw-r--r--src/db/sysdb.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/db/sysdb.c b/src/db/sysdb.c
index 99c116b8e..d07f27df6 100644
--- a/src/db/sysdb.c
+++ b/src/db/sysdb.c
@@ -287,6 +287,11 @@ struct ldb_context *sysdb_ctx_get_ldb(struct sysdb_ctx *sysdb)
return sysdb->ldb;
}
+struct sss_domain_info *sysdb_ctx_get_domain(struct sysdb_ctx *sysdb)
+{
+ return sysdb->domain;
+}
+
struct sysdb_attrs *sysdb_new_attrs(TALLOC_CTX *memctx)
{
return talloc_zero(memctx, struct sysdb_attrs);