Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
O
OpenLDAP
Manage
Activity
Members
Labels
Plan
Wiki
Bugzilla
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
openldap
OpenLDAP
Merge requests
!54
ITS
#6035
Skip test076 if chosen SASL mech not supported
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
ITS
#6035
Skip test076 if chosen SASL mech not supported
ryan/openldap:its6035-saslmech
into
master
Overview
0
Commits
1
Pipelines
3
Changes
1
Merged
Ryan Tandy
requested to merge
ryan/openldap:its6035-saslmech
into
master
4 years ago
Overview
0
Commits
1
Pipelines
3
Changes
1
Expand
This is to skip the test on Solaris 11, which doesn't seem to offer DIGEST-MD5 by default.
0
0
Merge request reports
Compare
master
version 2
481a0b1e
4 years ago
version 1
68f2eb13
4 years ago
master (base)
and
latest version
latest version
df46c07a
1 commit,
4 years ago
version 2
481a0b1e
1 commit,
4 years ago
version 1
68f2eb13
1 commit,
4 years ago
1 file
+
18
−
0
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
tests/scripts/test076-authid-rewrite
+
18
−
0
Options
@@ -61,6 +61,24 @@ if test $RC != 0 ; then
exit
$RC
fi
echo
"Checking whether
$MECH
is supported..."
$LDAPSEARCH
-s
base
-b
""
-H
$URI1
\
'objectClass=*'
supportedSASLMechanisms
>
$SEARCHOUT
2>&1
RC
=
$?
if
test
$RC
!=
0
;
then
echo
"ldapsearch failed (
$RC
)!"
test
$KILLSERVERS
!=
no
&&
kill
-HUP
$KILLPIDS
exit
$RC
fi
grep
"supportedSASLMechanisms:
$MECH
"
$SEARCHOUT
>
$TESTOUT
RC
=
$?
if
test
$RC
!=
0
;
then
echo
"SASL mechanism
$MECH
is not available, test skipped"
test
$KILLSERVERS
!=
no
&&
kill
-HUP
$KILLPIDS
exit
0
fi
echo
"Adding schema and database..."
$LDAPADD
-H
$URI1
-D
cn
=
config
-y
$CONFIGPWF
<<
EOF
>>
$TESTOUT
2>&1
include: file://
$ABS_SCHEMADIR
/core.ldif
Loading