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
d1e1bad8
Commit
d1e1bad8
authored
22 years ago
by
Kurt Zeilenga
Browse files
Options
Downloads
Patches
Plain Diff
Add implicit DN check
parent
d69c41fc
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/referrals.ldif
+1
-1
1 addition, 1 deletion
tests/data/referrals.ldif
tests/data/referrals.out
+23
-11
23 additions, 11 deletions
tests/data/referrals.out
with
24 additions
and
12 deletions
tests/data/referrals.ldif
+
1
−
1
View file @
d1e1bad8
...
...
@@ -5,7 +5,7 @@ objectclass: country
dn: o=ABC,c=US
o: ABC
ref: ldap://hostA/o=abc,c=us HostA
ref: ldap://hostB
/o=abc,c=us
HostB
ref: ldap://hostB HostB
objectclass: referral
objectclass: extensibleObject
...
...
This diff is collapsed.
Click to expand it.
tests/data/referrals.out
+
23
−
11
View file @
d1e1bad8
# extended LDIF
#
# LDAPv3
# base <c=US> with scope sub
# filter: (objectClass=referral)
# requesting: * ref
# with manageDSAit critical control
...
...
@@ -10,7 +11,7 @@
dn: o=ABC,c=US
o: ABC
ref: ldap://hostA/o=abc,c=us HostA
ref: ldap://hostB
/o=abc,c=us
HostB
ref: ldap://hostB HostB
objectClass: referral
objectClass: extensibleObject
...
...
@@ -30,6 +31,7 @@ result: 0 Success
# extended LDIF
#
# LDAPv3
# base <o=abc,c=US> with scope sub
# filter: (objectClass=referral)
# requesting: * ref
# with manageDSAit critical control
...
...
@@ -39,7 +41,7 @@ result: 0 Success
dn: o=ABC,c=US
o: ABC
ref: ldap://hostA/o=abc,c=us HostA
ref: ldap://hostB
/o=abc,c=us
HostB
ref: ldap://hostB HostB
objectClass: referral
objectClass: extensibleObject
...
...
@@ -52,6 +54,7 @@ result: 0 Success
# extended LDIF
#
# LDAPv3
# base <uid=xxx,o=abc,c=US> with scope sub
# filter: (objectClass=referral)
# requesting: * ref
# with manageDSAit critical control
...
...
@@ -62,12 +65,13 @@ search: 2
result: 10 Referral
matchedDN: o=ABC,c=US
ref: ldap://hostA/uid=xxx,o=abc,c=us??sub
ref: ldap://hostB/uid=xxx,o=abc,c=
us
??sub
ref: ldap://hostB/uid=xxx,o=abc,c=
US
??sub
# numResponses: 1
# extended LDIF
#
# LDAPv3
# base <c=US> with scope base
# filter: (objectclass=*)
# requesting: 1.1
#
...
...
@@ -84,13 +88,14 @@ result: 0 Success
# extended LDIF
#
# LDAPv3
# base <c=US> with scope one
# filter: (objectclass=*)
# requesting: 1.1
#
# search reference
ref: ldap://hostA/o=abc,c=us??base
ref: ldap://hostB/o=
abc
,c=
us
??base
ref: ldap://hostB/o=
ABC
,c=
US
??base
# search reference
ref: ldap://hostC/o=xyz,c=us??base
...
...
@@ -108,13 +113,14 @@ result: 0 Success
# extended LDIF
#
# LDAPv3
# base <c=US> with scope sub
# filter: (objectclass=*)
# requesting: 1.1
#
# search reference
ref: ldap://hostA/o=abc,c=us??sub
ref: ldap://hostB/o=
abc
,c=
us
??sub
ref: ldap://hostB/o=
ABC
,c=
US
??sub
# search reference
ref: ldap://hostC/o=xyz,c=us??sub
...
...
@@ -138,6 +144,7 @@ result: 0 Success
# extended LDIF
#
# LDAPv3
# base <o=abc,c=US> with scope base
# filter: (objectclass=*)
# requesting: 1.1
#
...
...
@@ -147,12 +154,13 @@ search: 2
result: 10 Referral
matchedDN: o=ABC,c=US
ref: ldap://hostA/o=abc,c=us??base
ref: ldap://hostB/o=abc,c=
us
??base
ref: ldap://hostB/o=abc,c=
US
??base
# numResponses: 1
# extended LDIF
#
# LDAPv3
# base <o=abc,c=US> with scope one
# filter: (objectclass=*)
# requesting: 1.1
#
...
...
@@ -162,12 +170,13 @@ search: 2
result: 10 Referral
matchedDN: o=ABC,c=US
ref: ldap://hostA/o=abc,c=us??one
ref: ldap://hostB/o=abc,c=
us
??one
ref: ldap://hostB/o=abc,c=
US
??one
# numResponses: 1
# extended LDIF
#
# LDAPv3
# base <o=abc,c=US> with scope sub
# filter: (objectclass=*)
# requesting: 1.1
#
...
...
@@ -177,12 +186,13 @@ search: 2
result: 10 Referral
matchedDN: o=ABC,c=US
ref: ldap://hostA/o=abc,c=us??sub
ref: ldap://hostB/o=abc,c=
us
??sub
ref: ldap://hostB/o=abc,c=
US
??sub
# numResponses: 1
# extended LDIF
#
# LDAPv3
# base <uid=xxx,o=abc,c=US> with scope base
# filter: (objectclass=*)
# requesting: 1.1
#
...
...
@@ -192,12 +202,13 @@ search: 2
result: 10 Referral
matchedDN: o=ABC,c=US
ref: ldap://hostA/uid=xxx,o=abc,c=us??base
ref: ldap://hostB/uid=xxx,o=abc,c=
us
??base
ref: ldap://hostB/uid=xxx,o=abc,c=
US
??base
# numResponses: 1
# extended LDIF
#
# LDAPv3
# base <uid=xxx,o=abc,c=US> with scope one
# filter: (objectclass=*)
# requesting: 1.1
#
...
...
@@ -207,12 +218,13 @@ search: 2
result: 10 Referral
matchedDN: o=ABC,c=US
ref: ldap://hostA/uid=xxx,o=abc,c=us??one
ref: ldap://hostB/uid=xxx,o=abc,c=
us
??one
ref: ldap://hostB/uid=xxx,o=abc,c=
US
??one
# numResponses: 1
# extended LDIF
#
# LDAPv3
# base <uid=xxx,o=abc,c=US> with scope sub
# filter: (objectclass=*)
# requesting: 1.1
#
...
...
@@ -222,6 +234,6 @@ search: 2
result: 10 Referral
matchedDN: o=ABC,c=US
ref: ldap://hostA/uid=xxx,o=abc,c=us??sub
ref: ldap://hostB/uid=xxx,o=abc,c=
us
??sub
ref: ldap://hostB/uid=xxx,o=abc,c=
US
??sub
# numResponses: 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