summaryrefslogtreecommitdiffstats
path: root/src/conf_macros.m4
diff options
context:
space:
mode:
authorSumit Bose <sbose@redhat.com>2016-04-19 13:52:59 +0200
committerLukas Slebodnik <lslebodn@redhat.com>2016-06-21 12:09:28 +0200
commit1d1a0a019d8d4d9ab0f51ada03604cd2cada287e (patch)
tree84b6ba89e5753a58d3853fdff6bf1ea8edccb37e /src/conf_macros.m4
parent72ceb1b4629a8e7f4f9e6dc9fae4c638e3117a26 (diff)
downloadsssd-1d1a0a019d8d4d9ab0f51ada03604cd2cada287e.tar.gz
sssd-1d1a0a019d8d4d9ab0f51ada03604cd2cada287e.tar.xz
sssd-1d1a0a019d8d4d9ab0f51ada03604cd2cada287e.zip
Add winbind idmap plugin
With this plugin winbind can use the same id-mapping as SSSD which makes it possible to run both together in a consistent way. Reviewed-by: Jakub Hrozek <jhrozek@redhat.com> Reviewed-by: Lukáš Slebodník <lslebodn@redhat.com>
Diffstat (limited to 'src/conf_macros.m4')
-rw-r--r--src/conf_macros.m414
1 files changed, 14 insertions, 0 deletions
diff --git a/src/conf_macros.m4 b/src/conf_macros.m4
index c8774b5f5..eed6508b1 100644
--- a/src/conf_macros.m4
+++ b/src/conf_macros.m4
@@ -288,6 +288,20 @@ AC_DEFUN([WITH_CIFS_PLUGIN_PATH],
AC_SUBST(cifspluginpath)
])
+AC_DEFUN([WITH_WINBIND_PLUGIN_PATH],
+ [ AC_ARG_WITH([winbind-plugin-path],
+ [AC_HELP_STRING([--with-winbind-plugin-path=PATH],
+ [Path to winbind idmap plugin store [/usr/lib/samba/idmap]]
+ )
+ ]
+ )
+ winbindpluginpath="${libdir}/samba/idmap"
+ if test x"$with_winbind_plugin_path" != x; then
+ winbindpluginpath=$with_winbind_plugin_path
+ fi
+ AC_SUBST(winbindpluginpath)
+ ])
+
AC_DEFUN([WITH_KRB5_RCACHE_DIR],
[ AC_ARG_WITH([krb5-rcache-dir],
[AC_HELP_STRING([--with-krb5-rcache-dir=PATH],