diff options
author | Sumit Bose <sbose@redhat.com> | 2014-11-06 13:13:27 +0100 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2014-11-20 10:52:38 +0100 |
commit | 8eb981dd8bc85aee7a913c6f0096ad47f3382339 (patch) | |
tree | 5a97040329b13209dbea291ec2d9b827428c8029 /src/providers/ipa/ipa_id.h | |
parent | 907a7c626db407d19d4cae85c2db7d3561120349 (diff) | |
download | sssd-8eb981dd8bc85aee7a913c6f0096ad47f3382339.tar.gz sssd-8eb981dd8bc85aee7a913c6f0096ad47f3382339.tar.xz sssd-8eb981dd8bc85aee7a913c6f0096ad47f3382339.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.h | 2 |
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 |