summaryrefslogtreecommitdiffstats
path: root/tests/scripts/test076-authid-rewrite
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-03 05:34:56 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-03 05:34:56 +0000
commit3102bdaf142acf3c952310cb620274258492a795 (patch)
tree907e389a831fe1f9dc5d94479d8457584b352434 /tests/scripts/test076-authid-rewrite
parentAdding debian version 2.6.7+dfsg-1~exp1. (diff)
downloadopenldap-3102bdaf142acf3c952310cb620274258492a795.tar.xz
openldap-3102bdaf142acf3c952310cb620274258492a795.zip
Merging upstream version 2.6.8+dfsg.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rwxr-xr-xtests/scripts/test076-authid-rewrite11
1 files changed, 9 insertions, 2 deletions
diff --git a/tests/scripts/test076-authid-rewrite b/tests/scripts/test076-authid-rewrite
index 383e4c3..b16cbba 100755
--- a/tests/scripts/test076-authid-rewrite
+++ b/tests/scripts/test076-authid-rewrite
@@ -2,7 +2,7 @@
# $OpenLDAP$
## This work is part of OpenLDAP Software <http://www.openldap.org/>.
##
-## Copyright 1998-2022 The OpenLDAP Foundation.
+## Copyright 1998-2024 The OpenLDAP Foundation.
## All rights reserved.
##
## Redistribution and use in source and binary forms, with or without
@@ -21,8 +21,15 @@ if test $WITH_SASL = no; then
exit 0
fi
+case "$USE_SASL" in
+ ""|no|yes)
+ MECH="SCRAM-SHA-256";;
+ *)
+ MECH="$USE_SASL"
+esac
+echo "Using SASL authc[/authz] with mech=$MECH"
+
CONFDIR=$TESTDIR/slapd.d
-MECH=DIGEST-MD5
mkdir -p $TESTDIR $CONFDIR $DBDIR1