diff options
author | Sumit Bose <sbose@redhat.com> | 2011-05-13 18:44:15 +0200 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2012-06-21 15:30:20 -0400 |
commit | b9e5bd09a5ff7009537a18914dbebcf10498f592 (patch) | |
tree | 81fd19114444133fdbf9560ced2c9224fc867511 /src/external | |
parent | 611b6fcd3ae863bf36ae1fa4c0db89cfcdc76974 (diff) | |
download | sssd-b9e5bd09a5ff7009537a18914dbebcf10498f592.tar.gz sssd-b9e5bd09a5ff7009537a18914dbebcf10498f592.tar.bz2 sssd-b9e5bd09a5ff7009537a18914dbebcf10498f592.zip |
PAC responder: add basic infrastructure
This adds only the basic outline of the PAC responder, it won't support
any operations, it will just start and initialize itself.
Diffstat (limited to 'src/external')
-rw-r--r-- | src/external/pac_responder.m4 | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/src/external/pac_responder.m4 b/src/external/pac_responder.m4 new file mode 100644 index 00000000..f2841924 --- /dev/null +++ b/src/external/pac_responder.m4 @@ -0,0 +1,34 @@ +AC_SUBST(NDR_KRB5PAC_CFLAGS) +AC_SUBST(NDR_KRB5PAC_LIBS) + +AC_ARG_ENABLE([experimental-pac-responder], + [AS_HELP_STRING([--enable-experimental-pac-responder], + [build experimental pac responder])], + [build_pac_responder=$enableval], + [build_pac_responder=no]) + +if test x$build_all_experimental_features != xno +then + build_pac_responder=yes +fi + +if test x$build_pac_responder == xyes +then + PKG_CHECK_MODULES(NDR_KRB5PAC, ndr_krb5pac,, + AC_MSG_ERROR([Cannot build pac responder without libndr_krb5pac])) + + AC_PATH_PROG(KRB5_CONFIG, krb5-config) + AC_MSG_CHECKING(for supported MIT krb5 version) + KRB5_VERSION="`$KRB5_CONFIG --version`" + case $KRB5_VERSION in + Kerberos\ 5\ release\ 1.9* | \ + Kerberos\ 5\ release\ 1.10*) + AC_MSG_RESULT(yes) + ;; + *) + AC_MSG_ERROR([Cannot build authdata plugin with this version of + MIT Kerberos, please use 1.9.x or 1.10.x]) + esac +fi + +AM_CONDITIONAL([BUILD_PAC_RESPONDER], [test x$build_pac_responder = xyes ]) |