summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsource4/script/tests/test_ldap.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/source4/script/tests/test_ldap.sh b/source4/script/tests/test_ldap.sh
index 0c71103ffd..4a331724aa 100755
--- a/source4/script/tests/test_ldap.sh
+++ b/source4/script/tests/test_ldap.sh
@@ -9,8 +9,7 @@ exit 1;
fi
# see if we support ldaps
-if grep HAVE_LIBGNUTLS.1 include/config.h > /dev/null &&
- test -n "$CONFFILE" && grep tls.enabled.=yes $CONFFILE > /dev/null; then
+if grep HAVE_LIBGNUTLS.1 include/config.h > /dev/null > /dev/null; then
PROTOCOLS="ldap ldaps"
else
PROTOCOLS="ldap"