mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
improve SASL detection/usage in test
This commit is contained in:
parent
c06208527c
commit
140d1f6e9b
@ -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
|
||||
|
@ -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
|
||||
|
@ -22,7 +22,12 @@ if test $BACKLDAP = "ldapno" ; then
|
||||
fi
|
||||
|
||||
if test $WITH_SASL = "yes" ; then
|
||||
echo "Using SASL authc/authz..."
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user