Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
O
OpenLDAP
Manage
Activity
Members
Labels
Plan
Wiki
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
Christopher Ng
OpenLDAP
Commits
d3ed899a
Commit
d3ed899a
authored
20 years ago
by
Pierangelo Masarati
Browse files
Options
Downloads
Patches
Plain Diff
allow the test to succeed even if SLAP_ACL_HONOR_DISCLOSE is not #define'd
parent
cd6a5abf
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
tests/data/acl.out.master
+0
-1
0 additions, 1 deletion
tests/data/acl.out.master
tests/scripts/test006-acls
+3
-1
3 additions, 1 deletion
tests/scripts/test006-acls
with
3 additions
and
2 deletions
tests/data/acl.out.master
+
0
−
1
View file @
d3ed899a
# Try to read an entry inside the Alumni Association container.
# It should give us noSuchObject if we're not bound...
No such object (32)
# ... and should return all attributes if we're bound as anyone
# under Example.
dn: cn=James A Jones 1,ou=Alumni Association,ou=People,dc=example,dc=com
...
...
This diff is collapsed.
Click to expand it.
tests/scripts/test006-acls
+
3
−
1
View file @
d3ed899a
...
...
@@ -59,8 +59,10 @@ cat /dev/null > $SEARCHOUT
echo
"# Try to read an entry inside the Alumni Association container.
# It should give us noSuchObject if we're not bound..."
\
>>
$SEARCHOUT
# FIXME: temporarily remove the "No such object" message to make
# the test succeed even if SLAP_ACL_HONOR_DISCLOSE is not #define'd
$LDAPSEARCH
-b
"
$JAJDN
"
-h
$LOCALHOST
-p
$PORT1
"(objectclass=*)"
\
>>
$SEARCHOUT
2>&1
2>&1 |
grep
-v
"^No such object"
>>
$SEARCHOUT
echo
"# ... and should return all attributes if we're bound as anyone
# under Example."
\
...
...
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