improve SASL detection/usage in test

This commit is contained in:
Pierangelo Masarati 2004-06-19 10:36:03 +00:00
parent c06208527c
commit 140d1f6e9b
3 changed files with 7 additions and 2 deletions

View File

@ -22,7 +22,6 @@ if [ x"$MONITORDB" = x"yes" -o x"$MONITORDB" = xmod ] ; then
else
MON=nomonitor
fi
USE_SASL=${SLAPD_USE_SASL+yes}
if [ x"$WITH_SASL" = x"yes" -a x"$USE_SASL" = x"yes" ] ; then
SASL="sasl"
else

View File

@ -20,6 +20,7 @@ PPOLICY=${AC_ppolicy-ppolicyno}
REFINT=${AC_refint-refintno}
UNIQUE=${AC_unique-uniqueno}
WITH_SASL=${AC_WITH_SASL-no}
USE_SASL=${SLAPD_USE_SASL-no}
WITHTLS=${AC_WITHTLS-yes}
DATADIR=./testdata

View File

@ -22,7 +22,12 @@ if test $BACKLDAP = "ldapno" ; then
fi
if test $WITH_SASL = "yes" ; then
if test $USE_SASL = "yes" ; then
echo "Using SASL authc/authz..."
else
echo "Using proxyAuthz with simple authc"
echo "set SLAPD_USE_SASL=yes to enable SASL authc/authz..."
fi
else
echo "SASL not available; using proxyAuthz with simple authc..."
fi