summaryrefslogtreecommitdiffstats
path: root/m4
diff options
context:
space:
mode:
authorRich Megginson <rmeggins@redhat.com>2010-08-12 17:52:57 -0600
committerRich Megginson <rmeggins@redhat.com>2010-08-31 13:35:54 -0600
commita5564abf94f8951a8a3ce6fa51b5e2f26b617711 (patch)
tree694fb13fbac690075676f549a770e2393f406f2f /m4
parent17d86aef5a9a718857a03e9c8ada870fb65b84ce (diff)
downloadds-a5564abf94f8951a8a3ce6fa51b5e2f26b617711.tar.gz
ds-a5564abf94f8951a8a3ce6fa51b5e2f26b617711.tar.xz
ds-a5564abf94f8951a8a3ce6fa51b5e2f26b617711.zip
openldap ldapsearch uses -LLL to suppress # version: N
mozldap uses -1 but openldap uses -LLL to suppress printing the in ldapsearch output - add a flag for this
Diffstat (limited to 'm4')
-rw-r--r--m4/mozldap.m42
-rw-r--r--m4/openldap.m42
2 files changed, 4 insertions, 0 deletions
diff --git a/m4/mozldap.m4 b/m4/mozldap.m4
index c1744b49..23df0601 100644
--- a/m4/mozldap.m4
+++ b/m4/mozldap.m4
@@ -171,4 +171,6 @@ dnl default path for the ldap c sdk tools (see [210947] for more details)
ldaptool_bindir=$ldapsdk_bindir
# default options to pass to the tools
ldaptool_opts=
+ # get plain output from ldapsearch - no version
+ plainldif_opts=-1
fi
diff --git a/m4/openldap.m4 b/m4/openldap.m4
index c9a3a1e5..7fdb979a 100644
--- a/m4/openldap.m4
+++ b/m4/openldap.m4
@@ -151,4 +151,6 @@ if test "$with_openldap" = yes ; then
# default options to pass to the tools
# use -x because all of our scripts use simple bind
ldaptool_opts=-x
+ # get plain output from ldapsearch - no version, no comments
+ plainldif_opts=-LLL
fi