diff options
author | Jakub Hrozek <jhrozek@redhat.com> | 2010-04-16 17:58:52 +0200 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2010-05-07 17:14:32 -0400 |
commit | 66da80489c0114878043b40592c5f47d41eb0ffd (patch) | |
tree | a69750b3275692fd6dd370da90cce74ad2615e2a /src/providers/fail_over.h | |
parent | dd025b4cbd501e2f34461f9d8359a829b81f5c2f (diff) | |
download | sssd-66da80489c0114878043b40592c5f47d41eb0ffd.tar.gz sssd-66da80489c0114878043b40592c5f47d41eb0ffd.tar.xz sssd-66da80489c0114878043b40592c5f47d41eb0ffd.zip |
Use service discovery in backends
Integrate the failover improvements with our back ends. The DNS domain
used in the SRV query is always the SSSD domain name.
Please note that this patch changes the default value of ldap_uri from
"ldap://localhost" to "NULL" in order to use service discovery with no
server set.
Diffstat (limited to 'src/providers/fail_over.h')
-rw-r--r-- | src/providers/fail_over.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/providers/fail_over.h b/src/providers/fail_over.h index 70e694fee..a31ace21e 100644 --- a/src/providers/fail_over.h +++ b/src/providers/fail_over.h @@ -159,4 +159,6 @@ const char *fo_get_server_name(struct fo_server *server); struct hostent *fo_get_server_hostent(struct fo_server *server); +int fo_is_srv_lookup(struct fo_server *s); + #endif /* !__FAIL_OVER_H__ */ |