summaryrefslogtreecommitdiffstats
path: root/m4/openldap.m4
diff options
context:
space:
mode:
Diffstat (limited to 'm4/openldap.m4')
-rw-r--r--m4/openldap.m45
1 files changed, 5 insertions, 0 deletions
diff --git a/m4/openldap.m4 b/m4/openldap.m4
index cf91a89e..c9a3a1e5 100644
--- a/m4/openldap.m4
+++ b/m4/openldap.m4
@@ -146,4 +146,9 @@ if test "$with_openldap" = yes ; then
CPPFLAGS="$save_cppflags"
AC_DEFINE([USE_OPENLDAP], [1], [If defined, using OpenLDAP for LDAP SDK])
+ # where to find ldapsearch, et. al.
+ ldaptool_bindir=$openldap_bindir
+ # default options to pass to the tools
+ # use -x because all of our scripts use simple bind
+ ldaptool_opts=-x
fi