diff options
author | Stephen Gallagher <sgallagh@redhat.com> | 2011-08-30 10:51:19 -0400 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2011-09-02 09:59:21 -0400 |
commit | 4b6a0d0b3d42e5fdb457f47d9adfa5e66b160256 (patch) | |
tree | eadd06382bc86d3f0f2ffa0b76590e2fe8d9efcb /src/conf_macros.m4 | |
parent | 1dd195b9a3df01a0ef51e9f963201f1f79d1f90b (diff) | |
download | sssd-4b6a0d0b3d42e5fdb457f47d9adfa5e66b160256.tar.gz sssd-4b6a0d0b3d42e5fdb457f47d9adfa5e66b160256.tar.xz sssd-4b6a0d0b3d42e5fdb457f47d9adfa5e66b160256.zip |
Add option to specify the kerberos replay cache dir
Adds a configure option to set the distribution default as well as
an sssd.conf option to override it.
https://fedorahosted.org/sssd/ticket/980
Diffstat (limited to 'src/conf_macros.m4')
-rw-r--r-- | src/conf_macros.m4 | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/conf_macros.m4 b/src/conf_macros.m4 index 1e503b3e3..bd661ba3c 100644 --- a/src/conf_macros.m4 +++ b/src/conf_macros.m4 @@ -204,6 +204,21 @@ AC_DEFUN([WITH_KRB5_PLUGIN_PATH], AC_SUBST(krb5pluginpath) ]) +AC_DEFUN([WITH_KRB5_RCACHE_DIR], + [ AC_ARG_WITH([krb5-rcache-dir], + [AC_HELP_STRING([--with-krb5-rcache-dir=PATH], + [Path to store Kerberos replay caches [__LIBKRB5_DEFAULTS__]] + ) + ] + ) + krb5rcachedir="__LIBKRB5_DEFAULTS__" + if test x"$with_krb5_rcache_dir" != x; then + krb5rcachedir=$with_krb5_rcache_dir + fi + AC_SUBST(krb5rcachedir) + AC_DEFINE_UNQUOTED(KRB5_RCACHE_DIR, "$krb5rcachedir", [Directory used for storing Kerberos replay caches]) + ]) + AC_DEFUN([WITH_PYTHON_BINDINGS], [ AC_ARG_WITH([python-bindings], [AC_HELP_STRING([--with-python-bindings], |