summaryrefslogtreecommitdiffstats
path: root/src/providers/ipa/ipa_subdomains.h
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2015-05-26 12:40:33 +0200
committerJakub Hrozek <jhrozek@redhat.com>2015-06-14 21:44:39 +0200
commit89ddc9ed474e9ac2b1e7bccb0a58610babf26cf8 (patch)
tree780876e8d274177f2ac16ba2adfa3f6f4db2c0c0 /src/providers/ipa/ipa_subdomains.h
parent27e89b6925334565c73c407a9ae2809358789c81 (diff)
downloadsssd-89ddc9ed474e9ac2b1e7bccb0a58610babf26cf8.tar.gz
sssd-89ddc9ed474e9ac2b1e7bccb0a58610babf26cf8.tar.xz
sssd-89ddc9ed474e9ac2b1e7bccb0a58610babf26cf8.zip
IPA: Split two functions to new module ipa_subdomains_utils.c
These functions will be later reused by the subdomains_server.c module. Splitting them into a separate subdomains_utils.c module will make sure there are no cyclic dependencies and the functions are testable in isolation. Reviewed-by: Sumit Bose <sbose@redhat.com>
Diffstat (limited to 'src/providers/ipa/ipa_subdomains.h')
-rw-r--r--src/providers/ipa/ipa_subdomains.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/providers/ipa/ipa_subdomains.h b/src/providers/ipa/ipa_subdomains.h
index d92bd01e8..94027c091 100644
--- a/src/providers/ipa/ipa_subdomains.h
+++ b/src/providers/ipa/ipa_subdomains.h
@@ -59,6 +59,12 @@ void ipa_ad_subdom_remove(struct be_ctx *be_ctx,
int ipa_ad_subdom_init(struct be_ctx *be_ctx,
struct ipa_id_ctx *id_ctx);
+struct ldb_dn *ipa_subdom_ldb_dn(TALLOC_CTX *mem_ctx,
+ struct ldb_context *ldb_ctx,
+ struct sysdb_attrs *attrs);
+
+bool ipa_subdom_is_member_dom(struct ldb_dn *dn);
+
/* struct for external group memberships, defined in
* ipa_subdomains_ext_groups.c */
struct ipa_ext_groups;