Skip to content
Snippets Groups Projects
Commit 92cdecc6 authored by Pierangelo Masarati's avatar Pierangelo Masarati
Browse files

improve message

parent f34b1176
Branches
Tags
No related merge requests found
......@@ -16,6 +16,12 @@
echo "running defines.sh"
. $SRCDIR/scripts/defines.sh
echo "### This test needs the ldap backend."
echo "### If available, and explicitly requested, it can use SASL bind;"
echo "### note that SASL must be properly set up, and the requested"
echo "### mechanism must be available. Define SLAPD_USE_SASL={yes|<mech>},"
echo "### wth \"yes\" defaulting to DIGEST-MD5 to enable SASL authc[/authz]."
if test $BACKLDAP = "ldapno" ; then
echo "LDAP backend not available, test skipped"
exit 0
......@@ -28,13 +34,9 @@ if test $WITH_SASL = "yes" ; then
else
MECH="$USE_SASL"
fi
echo "Using SASL authc/authz with mech=$MECH; unset SLAPD_USE_SASL to disable"
echo "Using SASL authc[/authz] with mech=$MECH; unset SLAPD_USE_SASL to disable"
else
echo "Using proxyAuthz with simple authc..."
echo " set SLAPD_USE_SASL={yes|<mech>} to enable SASL authc/authz"
echo " if SLAPD_USE_SASL=\"yes\", <mech> defaults to DIGEST-MD5"
echo " FIXME: should be mandatory, right?"
echo " FIXME: authz with CRAM-MD5 does not work..."
fi
else
echo "SASL not available; using proxyAuthz with simple authc..."
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment