From 8df69bbc58c2f4d3f0b34be9756d9ddf24b1db6d Mon Sep 17 00:00:00 2001 From: Jakub Hrozek Date: Fri, 12 Dec 2014 17:10:40 +0100 Subject: FO: Use SRV TTL in fail over code MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Resolves: https://fedorahosted.org/sssd/ticket/1884 Removes the hardcoded SRV TTL timeout and uses TTL from the DNS instead. Reviewed-by: Pavel Březina --- Makefile.am | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index 434f28f52..ffbdf970a 100644 --- a/Makefile.am +++ b/Makefile.am @@ -220,6 +220,7 @@ if HAVE_CMOCKA test_child_common \ responder_cache_req-tests \ test_sbus_opath \ + test_fo_srv \ $(NULL) if HAVE_LIBRESOLV @@ -2258,6 +2259,24 @@ test_resolv_fake_LDADD = \ $(NULL) endif # HAVE_LIBRESOLV +test_fo_srv_SOURCES = \ + src/tests/cmocka/test_fo_srv.c \ + src/providers/fail_over.c \ + src/providers/fail_over_srv.c \ + $(NULL) +test_fo_srv_CFLAGS = \ + $(AM_CFLAGS) \ + $(NULL) +test_fo_srv_LDADD = \ + $(CMOCKA_LIBS) \ + $(POPT_LIBS) \ + $(TALLOC_LIBS) \ + $(CARES_LIBS) \ + $(DHASH_LIBS) \ + $(SSSD_INTERNAL_LTLIBS) \ + libsss_test_common.la \ + $(NULL) + endif # HAVE_CMOCKA noinst_PROGRAMS = pam_test_client -- cgit