summaryrefslogtreecommitdiffstats
path: root/src/util
diff options
context:
space:
mode:
authorSumit Bose <sbose@redhat.com>2012-11-13 21:21:38 +0100
committerJakub Hrozek <jhrozek@redhat.com>2012-11-14 11:20:23 +0100
commit0a564940c04dd9500b8d72bae723b165c3690b26 (patch)
treec09c26ee4ad589eb759875678160699717366cd1 /src/util
parente9bfff15737c58624473a671e8d99bd88fc4bbd0 (diff)
downloadsssd-0a564940c04dd9500b8d72bae723b165c3690b26.tar.gz
sssd-0a564940c04dd9500b8d72bae723b165c3690b26.tar.xz
sssd-0a564940c04dd9500b8d72bae723b165c3690b26.zip
Always start PAC responder if IPA ID provider is configured
Since the PAC responder is used during the authentication of users from trusted realms it is started automatically if the IPA ID provider is configured for a domain to simplify the configuration. Fixes https://fedorahosted.org/sssd/ticket/1613
Diffstat (limited to 'src/util')
-rw-r--r--src/util/util.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/util/util.h b/src/util/util.h
index 53f5954ee..9e55e5065 100644
--- a/src/util/util.h
+++ b/src/util/util.h
@@ -583,4 +583,10 @@ errno_t sss_br_lock_file(int fd, size_t start, size_t len,
#endif /* le32toh */
+#ifdef HAVE_PAC_RESPONDER
+#define BUILD_WITH_PAC_RESPONDER true
+#else
+#define BUILD_WITH_PAC_RESPONDER false
+#endif
+
#endif /* __SSSD_UTIL_H__ */