diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/db/sysdb.c | 5 | ||||
-rw-r--r-- | src/db/sysdb.h | 2 |
2 files changed, 7 insertions, 0 deletions
diff --git a/src/db/sysdb.c b/src/db/sysdb.c index 99c116b8..d07f27df 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); diff --git a/src/db/sysdb.h b/src/db/sysdb.h index 84129fda..86caa5ce 100644 --- a/src/db/sysdb.h +++ b/src/db/sysdb.h @@ -269,6 +269,8 @@ char *sysdb_group_strdn(TALLOC_CTX *memctx, struct ldb_context *sysdb_ctx_get_ldb(struct sysdb_ctx *sysdb); +struct sss_domain_info *sysdb_ctx_get_domain(struct sysdb_ctx *sysdb); + int compare_ldb_dn_comp_num(const void *m1, const void *m2); /* functions to start and finish transactions */ |