diff options
author | Stephen Gallagher <sgallagh@redhat.com> | 2011-08-30 10:51:19 -0400 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2011-09-07 16:04:03 -0400 |
commit | 5fd1c0557734da0649d91d87d6fcdc56c1a95f91 (patch) | |
tree | 0ff959515303e11a2ade8f72cf38bb3a1aac1c87 /src/conf_macros.m4 | |
parent | 1997df3e5ef39ba81ac0f258d7f5ec94e9c0fee6 (diff) | |
download | sssd-5fd1c0557734da0649d91d87d6fcdc56c1a95f91.tar.gz sssd-5fd1c0557734da0649d91d87d6fcdc56c1a95f91.tar.xz sssd-5fd1c0557734da0649d91d87d6fcdc56c1a95f91.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 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], |