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
James Lowden
OpenLDAP
Commits
9be8c786
Commit
9be8c786
authored
10 years ago
by
Howard Chu
Committed by
Quanah Gibson-Mount
10 years ago
Browse files
Options
Downloads
Patches
Plain Diff
ITS#8046 add vrFilter test
parent
de605a19
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
tests/data/search.out.xsearch
+3
-0
3 additions, 0 deletions
tests/data/search.out.xsearch
tests/scripts/test015-xsearch
+13
-0
13 additions, 0 deletions
tests/scripts/test015-xsearch
with
16 additions
and
0 deletions
tests/data/search.out.xsearch
+
3
−
0
View file @
9be8c786
...
...
@@ -635,6 +635,9 @@ dn: dc=example,dc=com
dc: example
o: Example, Inc.
dn: dc=example,dc=com
dc: example
dn: cn=Subschema
attributeTypes: ( 0.9.2342.19200300.100.1.25 NAME ( 'dc' 'domainComponent' ) D
ESC 'RFC1274/2247: domain component' EQUALITY caseIgnoreIA5Match SUBSTR caseI
...
...
This diff is collapsed.
Click to expand it.
tests/scripts/test015-xsearch
+
13
−
0
View file @
9be8c786
...
...
@@ -211,6 +211,19 @@ if test $RC != 0 ; then
exit
$RC
fi
FILTER
=
"(dc=example)"
VRFILTER
=
"((o={*)(dc=*))"
echo
" f=
$FILTER
mv=
$VRFILTER
..."
echo
"# f=
$FILTER
mv=
$VRFILTER
..."
>>
$SEARCHOUT
$LDAPSEARCH
-S
""
-b
"
$BASEDN
"
-h
$LOCALHOST
-p
$PORT1
\
-E
'!mv='
"
$VRFILTER
"
"
$FILTER
"
>>
$SEARCHOUT
2>&1
RC
=
$?
if
test
$RC
!=
0
;
then
echo
"ldapsearch failed (
$RC
)!"
test
$KILLSERVERS
!=
no
&&
kill
-HUP
$KILLPIDS
exit
$RC
fi
FILTER
=
"(attributeTypes=0.9.2342.19200300.100.1.25)"
echo
" f=
$FILTER
..."
echo
"# f=
$FILTER
..."
>>
$SEARCHOUT
...
...
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