summaryrefslogtreecommitdiffstats
path: root/src/providers/ipa/ipa_id.h
diff options
context:
space:
mode:
authorSumit Bose <sbose@redhat.com>2014-11-06 13:13:27 +0100
committerJakub Hrozek <jhrozek@redhat.com>2014-11-20 11:39:40 +0100
commit7c8abc07058b37e743b1530c9e4a66e2d517e3c3 (patch)
tree7c41cfdc648321560703a150f350df9e3e6b5329 /src/providers/ipa/ipa_id.h
parent1f5796f2ab0a848712a7f5bc85c9f7c2f22a8a0f (diff)
downloadsssd-7c8abc07058b37e743b1530c9e4a66e2d517e3c3.tar.gz
sssd-7c8abc07058b37e743b1530c9e4a66e2d517e3c3.tar.xz
sssd-7c8abc07058b37e743b1530c9e4a66e2d517e3c3.zip
ipa: add split_ipa_anchor()
This call extracts the domain and the UUID part from an IPA override anchor. Related to https://fedorahosted.org/sssd/ticket/2481 Reviewed-by: Jakub Hrozek <jhrozek@redhat.com>
Diffstat (limited to 'src/providers/ipa/ipa_id.h')
-rw-r--r--src/providers/ipa/ipa_id.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/providers/ipa/ipa_id.h b/src/providers/ipa/ipa_id.h
index e13aded21..033ac40f1 100644
--- a/src/providers/ipa/ipa_id.h
+++ b/src/providers/ipa/ipa_id.h
@@ -103,4 +103,6 @@ struct tevent_req *ipa_subdomain_account_send(TALLOC_CTX *memctx,
errno_t ipa_subdomain_account_recv(struct tevent_req *req, int *dp_error_out);
+errno_t split_ipa_anchor(TALLOC_CTX *mem_ctx, const char *anchor,
+ char **_anchor_domain, char **_ipa_uuid);
#endif