summaryrefslogtreecommitdiffstats
path: root/Makefile.am
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2014-04-15 17:24:55 +0200
committerJakub Hrozek <jhrozek@redhat.com>2014-04-22 17:29:49 +0200
commit7caf7ed4f2eae1ec1c0717b4ee6ce78bdacd5926 (patch)
tree140ba34cfd361fd4f6a5b9b84709fbb592ef4c55 /Makefile.am
parentc440c424443517b12afa8d56f989d92ca6ba56a3 (diff)
downloadsssd-7caf7ed4f2eae1ec1c0717b4ee6ce78bdacd5926.tar.gz
sssd-7caf7ed4f2eae1ec1c0717b4ee6ce78bdacd5926.tar.xz
sssd-7caf7ed4f2eae1ec1c0717b4ee6ce78bdacd5926.zip
RESPONDERS: Add a new request sss_parse_inp_send
The responders were copying code to parse input and on encountering an uknown domain, send the discover subdomain request. This patch adds a reusable request that can always be called in responders and in case the name can be parsed, just shortcut. Reviewed-by: Pavel Březina <pbrezina@redhat.com>
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am17
1 files changed, 17 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index b92357e0d..5dc359596 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -174,6 +174,7 @@ if HAVE_CMOCKA
ad_access_filter_tests \
ad_common_tests \
dp_opt_tests \
+ responder-get-domains-tests \
test_search_bases
endif
@@ -1444,6 +1445,22 @@ nss_srv_tests_LDADD = \
libsss_test_common.la \
libsss_idmap.la
+EXTRA_responder_get_domains_tests_DEPENDENCIES = \
+ $(ldblib_LTLIBRARIES)
+responder_get_domains_tests_SOURCES = \
+ src/responder/common/responder_get_domains.c \
+ src/tests/cmocka/test_responder_common.c \
+ src/tests/cmocka/common_mock_resp.c
+responder_get_domains_tests_CFLAGS = \
+ $(AM_CFLAGS)
+responder_get_domains_tests_LDFLAGS = \
+ -Wl,-wrap,sss_parse_name_for_domains
+responder_get_domains_tests_LDADD = \
+ $(CMOCKA_LIBS) \
+ $(SSSD_LIBS) \
+ $(SSSD_INTERNAL_LTLIBS) \
+ libsss_test_common.la
+
test_find_uid_SOURCES = \
src/tests/cmocka/test_find_uid.c \
src/util/find_uid.c \