summaryrefslogtreecommitdiff
path: root/src/util/util.h
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 10:42:34 +0100
commit778491bebee536a196afc29b0d9953843a5374b2 (patch)
tree947d73e6623bad45ac9710753c8a2037b45c24a5 /src/util/util.h
parent032d0980dfe5a27a5954f44f9d519e03fc7d1ced (diff)
downloadsssd-778491bebee536a196afc29b0d9953843a5374b2.tar.gz
sssd-778491bebee536a196afc29b0d9953843a5374b2.tar.bz2
sssd-778491bebee536a196afc29b0d9953843a5374b2.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/util.h')
-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 56e7e0be..2d63e733 100644
--- a/src/util/util.h
+++ b/src/util/util.h
@@ -588,4 +588,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__ */