diff options
author | Pavel Březina <pbrezina@redhat.com> | 2013-03-13 15:13:46 +0100 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2013-04-10 15:36:55 +0200 |
commit | 77d165f0629966db65753a3aee84a8b4971673af (patch) | |
tree | 19e9d6b94426dec048b02d56663da2a981516195 /src/providers/dp_backend.h | |
parent | f9961e5f82e0ef474d6492371bfdf9e74e208a99 (diff) | |
download | sssd-77d165f0629966db65753a3aee84a8b4971673af.tar.gz sssd-77d165f0629966db65753a3aee84a8b4971673af.tar.bz2 sssd-77d165f0629966db65753a3aee84a8b4971673af.zip |
DNS sites support - SRV DNS lookup plugin
https://fedorahosted.org/sssd/ticket/1032
This plugin mimics the current behaviour.
If discovery_domain is set it is the only domain that is tried.
If discovery_domain is not set, we try to autodetect domain first
and if that fails or SRV lookup on this domain fails, we fallback
to SSSD domain name.
Diffstat (limited to 'src/providers/dp_backend.h')
-rw-r--r-- | src/providers/dp_backend.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/providers/dp_backend.h b/src/providers/dp_backend.h index 1b8a59e6..e0e2210c 100644 --- a/src/providers/dp_backend.h +++ b/src/providers/dp_backend.h @@ -218,6 +218,9 @@ void be_fo_set_srv_lookup_plugin(struct be_ctx *ctx, void *pvt, const char *plugin_name); +errno_t be_fo_set_dns_srv_lookup_plugin(struct be_ctx *be_ctx, + const char *hostname); + int be_fo_add_srv_server(struct be_ctx *ctx, const char *service_name, const char *query_service, |