summaryrefslogtreecommitdiffstats
path: root/src/conf_macros.m4
diff options
context:
space:
mode:
authorStephen Gallagher <sgallagh@redhat.com>2011-08-30 10:51:19 -0400
committerStephen Gallagher <sgallagh@redhat.com>2011-09-02 10:01:41 -0400
commitd5bf68ce59aa18e74f2eaa62e25c17a5a2692092 (patch)
treef58f924a1eacf5cb73021b5b0e9d70b1c06c1ff4 /src/conf_macros.m4
parent7dfaae7dcbb5af710321325cb2699359e77c369e (diff)
downloadsssd_unused-d5bf68ce59aa18e74f2eaa62e25c17a5a2692092.tar.gz
sssd_unused-d5bf68ce59aa18e74f2eaa62e25c17a5a2692092.tar.xz
sssd_unused-d5bf68ce59aa18e74f2eaa62e25c17a5a2692092.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.m415
1 files changed, 15 insertions, 0 deletions
diff --git a/src/conf_macros.m4 b/src/conf_macros.m4
index 1e503b3e..bd661ba3 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],