Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
O
OpenLDAP
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue 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
Dragoș Haiduc
OpenLDAP
Commits
69adde23
Commit
69adde23
authored
20 years ago
by
Pierangelo Masarati
Browse files
Options
Downloads
Patches
Plain Diff
cosmetic changes
parent
adb6222a
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tests/scripts/relay
+13
-13
13 additions, 13 deletions
tests/scripts/relay
with
13 additions
and
13 deletions
tests/scripts/relay
+
13
−
13
View file @
69adde23
...
...
@@ -13,7 +13,7 @@
## top-level directory of the distribution or, alternatively, at
## <http://www.OpenLDAP.org/license.html>.
echo
"
Testing virtual naming context mapping with
$RELAY
backend..."
echo
"
Using
$RELAY
backend..."
echo
""
echo
"Starting slapd on TCP/IP port
$PORT1
..."
...
...
@@ -56,7 +56,7 @@ fi
cat
/dev/null
>
$SEARCHOUT
BASEDN
=
"dc=example,dc=com"
echo
"
s
earching base=
\"
$BASEDN
\"
..."
echo
"
S
earching base=
\"
$BASEDN
\"
..."
echo
"# searching base=
\"
$BASEDN
\"
..."
>>
$SEARCHOUT
$LDAPSEARCH
-h
$LOCALHOST
-p
$PORT1
-b
"
$BASEDN
"
>>
$SEARCHOUT
2>&1
RC
=
$?
...
...
@@ -67,7 +67,7 @@ if test $RC != 0 ; then
fi
BASEDN
=
"o=Example,c=US"
echo
"
s
earching base=
\"
$BASEDN
\"
..."
echo
"
S
earching base=
\"
$BASEDN
\"
..."
echo
"# searching base=
\"
$BASEDN
\"
..."
>>
$SEARCHOUT
$LDAPSEARCH
-h
$LOCALHOST
-p
$PORT1
-b
"
$BASEDN
"
>>
$SEARCHOUT
2>&1
RC
=
$?
...
...
@@ -78,7 +78,7 @@ if test $RC != 0 ; then
fi
BASEDN
=
"o=Esempio,c=IT"
echo
"
s
earching base=
\"
$BASEDN
\"
..."
echo
"
S
earching base=
\"
$BASEDN
\"
..."
echo
"# searching base=
\"
$BASEDN
\"
..."
>>
$SEARCHOUT
$LDAPSEARCH
-h
$LOCALHOST
-p
$PORT1
-b
"
$BASEDN
"
>>
$SEARCHOUT
2>&1
RC
=
$?
...
...
@@ -89,7 +89,7 @@ if test $RC != 0 ; then
fi
BASEDN
=
"o=Beispiel,c=DE"
echo
"
s
earching base=
\"
$BASEDN
\"
..."
echo
"
S
earching base=
\"
$BASEDN
\"
..."
echo
"# searching base=
\"
$BASEDN
\"
..."
>>
$SEARCHOUT
$LDAPSEARCH
-h
$LOCALHOST
-p
$PORT1
-b
"
$BASEDN
"
>>
$SEARCHOUT
2>&1
RC
=
$?
...
...
@@ -104,7 +104,7 @@ fi
#
BASEDN
=
"o=Beispiel,c=DE"
echo
"
m
odifying database
\"
$BASEDN
\"
..."
echo
"
M
odifying database
\"
$BASEDN
\"
..."
$LDAPMODIFY
-v
-D
"cn=Manager,
$BASEDN
"
-h
$LOCALHOST
-p
$PORT1
-w
$PASSWD
\
-M
>>
$TESTOUT
2>&1
<<
EOMODS
dn: cn=Added User,ou=Alumni Association,ou=People,
$BASEDN
...
...
@@ -174,7 +174,7 @@ if test $RC != 0 ; then
exit
$RC
fi
echo
"
s
earching base=
\"
$BASEDN
\"
..."
echo
"
S
earching base=
\"
$BASEDN
\"
..."
echo
"# searching base=
\"
$BASEDN
\"
..."
>>
$SEARCHOUT
$LDAPSEARCH
-h
$LOCALHOST
-p
$PORT1
-b
"
$BASEDN
"
>>
$SEARCHOUT
2>&1
RC
=
$?
...
...
@@ -185,7 +185,7 @@ if test $RC != 0 ; then
fi
BASEDN
=
"o=Esempio,c=IT"
echo
"
s
earching base=
\"
$BASEDN
\"
..."
echo
"
S
earching base=
\"
$BASEDN
\"
..."
echo
"# searching base=
\"
$BASEDN
\"
..."
>>
$SEARCHOUT
$LDAPSEARCH
-h
$LOCALHOST
-p
$PORT1
-b
"
$BASEDN
"
>>
$SEARCHOUT
2>&1
RC
=
$?
...
...
@@ -196,7 +196,7 @@ if test $RC != 0 ; then
fi
FILTER
=
"(objectClass=referral)"
echo
"
s
earching filter=
\"
$FILTER
\"
"
echo
"
S
earching filter=
\"
$FILTER
\"
"
echo
" attrs=
\"
'*' ref
\"
"
echo
"# searching filter=
\"
$FILTER
\"
"
>>
$SEARCHOUT
echo
"# attrs=
\"
'*' ref
\"
"
>>
$SEARCHOUT
...
...
@@ -239,7 +239,7 @@ fi
BASEDN
=
"o=Example,c=US"
FILTER
=
"(seeAlso=cn=all staff,ou=Groups,
$BASEDN
)"
echo
"
s
earching filter=
\"
$FILTER
\"
"
echo
"
S
earching filter=
\"
$FILTER
\"
"
echo
" attrs=
\"
seeAlso
\"
"
echo
" base=
\"
$BASEDN
\"
..."
echo
"# searching filter=
\"
$FILTER
\"
"
>>
$SEARCHOUT
...
...
@@ -268,7 +268,7 @@ if test $? != 0 ; then
fi
BASEDN
=
"o=Example,c=US"
echo
"
c
hanging password to database
\"
$BASEDN
\"
..."
echo
"
C
hanging password to database
\"
$BASEDN
\"
..."
$LDAPPASSWD
-h
$LOCALHOST
-p
$PORT1
-D
"cn=Manager,
$BASEDN
"
-w
$PASSWD
\
-s
$PASSWD
"cn=Added User,ou=Alumni Association,ou=People,
$BASEDN
"
\
>>
$TESTOUT
2>&1
...
...
@@ -280,7 +280,7 @@ if test $RC != 0 ; then
fi
BASEDN
=
"o=Beispiel,c=DE"
echo
"
b
inding with newly changed password to database
\"
$BASEDN
\"
..."
echo
"
B
inding with newly changed password to database
\"
$BASEDN
\"
..."
$LDAPWHOAMI
-h
$LOCALHOST
-p
$PORT1
\
-D
"cn=Added User,ou=Alumni Association,ou=People,
$BASEDN
"
\
-w
$PASSWD
>>
$TESTOUT
2>&1
...
...
@@ -292,7 +292,7 @@ if test $RC != 0 ; then
fi
BASEDN
=
"o=Esempio,c=IT"
echo
"
c
omparing to database
\"
$BASEDN
\"
..."
echo
"
C
omparing to database
\"
$BASEDN
\"
..."
$LDAPCOMPARE
-h
$LOCALHOST
-p
$PORT1
\
"cn=Added User,ou=Alumni Association,ou=People,
$BASEDN
"
\
"seeAlso:cn=All Staff,ou=Groups,
$BASEDN
"
>>
$TESTOUT
2>&1
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment