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-10-26 10:29:39 -0400
commite97b2822ad260a1df04e9b5b26b93ea0fa1b9853 (patch)
tree2097c4dcd53a4311ea87e262a2e5429cdfa10d86 /src/conf_macros.m4
parent4396b4446acee09f5957ff63c4a86fdf854536df (diff)
downloadsssd-e97b2822ad260a1df04e9b5b26b93ea0fa1b9853.tar.gz
sssd-e97b2822ad260a1df04e9b5b26b93ea0fa1b9853.tar.xz
sssd-e97b2822ad260a1df04e9b5b26b93ea0fa1b9853.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 8ead0b29b..2a109b5f8 100644
--- a/src/conf_macros.m4
+++ b/src/conf_macros.m4
@@ -161,6 +161,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],