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
Jaak Ristioja
OpenLDAP
Commits
d9534e5e
Commit
d9534e5e
authored
20 years ago
by
Pierangelo Masarati
Browse files
Options
Downloads
Patches
Plain Diff
"order by" plus -S "" seems to work...
parent
81b57553
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/sql-read.out
+12
-12
12 additions, 12 deletions
tests/data/sql-read.out
tests/data/sql-write.out
+35
-35
35 additions, 35 deletions
tests/data/sql-write.out
with
47 additions
and
47 deletions
tests/data/sql-read.out
+
12
−
12
View file @
d9534e5e
...
...
@@ -27,8 +27,8 @@ sn: Kovalev
seeAlso: documentTitle=book1,dc=example,dc=com
seeAlso: documentTitle=book2,dc=example,dc=com
givenName: Mitya
telephoneNumber: 332-2334
telephoneNumber: 222-3234
telephoneNumber: 332-2334
dn: cn=Torvlobnor Puzdoy,dc=example,dc=com
objectClass: inetOrgPerson
...
...
@@ -49,8 +49,8 @@ sn: Kovalev
seeAlso: documentTitle=book1,dc=example,dc=com
seeAlso: documentTitle=book2,dc=example,dc=com
givenName: Mitya
telephoneNumber: 332-2334
telephoneNumber: 222-3234
telephoneNumber: 332-2334
# Testing substrings initial search...
dn: cn=Mitya Kovalev,dc=example,dc=com
...
...
@@ -60,8 +60,8 @@ sn: Kovalev
seeAlso: documentTitle=book1,dc=example,dc=com
seeAlso: documentTitle=book2,dc=example,dc=com
givenName: Mitya
telephoneNumber: 332-2334
telephoneNumber: 222-3234
telephoneNumber: 332-2334
# Testing substrings any search...
dn: cn=Mitya Kovalev,dc=example,dc=com
...
...
@@ -71,8 +71,8 @@ sn: Kovalev
seeAlso: documentTitle=book1,dc=example,dc=com
seeAlso: documentTitle=book2,dc=example,dc=com
givenName: Mitya
telephoneNumber: 332-2334
telephoneNumber: 222-3234
telephoneNumber: 332-2334
# Testing substrings final search...
dn: cn=Mitya Kovalev,dc=example,dc=com
...
...
@@ -82,8 +82,8 @@ sn: Kovalev
seeAlso: documentTitle=book1,dc=example,dc=com
seeAlso: documentTitle=book2,dc=example,dc=com
givenName: Mitya
telephoneNumber: 332-2334
telephoneNumber: 222-3234
telephoneNumber: 332-2334
# Testing approx search...
dn: cn=Mitya Kovalev,dc=example,dc=com
...
...
@@ -93,8 +93,8 @@ sn: Kovalev
seeAlso: documentTitle=book1,dc=example,dc=com
seeAlso: documentTitle=book2,dc=example,dc=com
givenName: Mitya
telephoneNumber: 332-2334
telephoneNumber: 222-3234
telephoneNumber: 332-2334
# Testing extensible filter search...
dn: cn=Mitya Kovalev,dc=example,dc=com
...
...
@@ -104,8 +104,8 @@ sn: Kovalev
seeAlso: documentTitle=book1,dc=example,dc=com
seeAlso: documentTitle=book2,dc=example,dc=com
givenName: Mitya
telephoneNumber: 332-2334
telephoneNumber: 222-3234
telephoneNumber: 332-2334
# Testing search for telephoneNumber...
dn: cn=Mitya Kovalev,dc=example,dc=com
...
...
@@ -115,8 +115,8 @@ sn: Kovalev
seeAlso: documentTitle=book1,dc=example,dc=com
seeAlso: documentTitle=book2,dc=example,dc=com
givenName: Mitya
telephoneNumber: 332-2334
telephoneNumber: 222-3234
telephoneNumber: 332-2334
# Testing AND search...
dn: cn=Mitya Kovalev,dc=example,dc=com
...
...
@@ -126,8 +126,8 @@ sn: Kovalev
seeAlso: documentTitle=book1,dc=example,dc=com
seeAlso: documentTitle=book2,dc=example,dc=com
givenName: Mitya
telephoneNumber: 332-2334
telephoneNumber: 222-3234
telephoneNumber: 332-2334
# Testing AND search on objectClass...
dn: dc=example,dc=com
...
...
@@ -144,8 +144,8 @@ sn: Kovalev
seeAlso: documentTitle=book1,dc=example,dc=com
seeAlso: documentTitle=book2,dc=example,dc=com
givenName: Mitya
telephoneNumber: 332-2334
telephoneNumber: 222-3234
telephoneNumber: 332-2334
# Testing OR search on objectClass...
dn: documentTitle=book1,dc=example,dc=com
...
...
@@ -225,8 +225,8 @@ sn: Kovalev
seeAlso: documentTitle=book1,dc=example,dc=com
seeAlso: documentTitle=book2,dc=example,dc=com
givenName: Mitya
telephoneNumber: 332-2334
telephoneNumber: 222-3234
telephoneNumber: 332-2334
dn: cn=Torvlobnor Puzdoy,dc=example,dc=com
objectClass: inetOrgPerson
...
...
@@ -253,8 +253,8 @@ sn: Kovalev
seeAlso: documentTitle=book1,dc=example,dc=com
seeAlso: documentTitle=book2,dc=example,dc=com
givenName: Mitya
telephoneNumber: 332-2334
telephoneNumber: 222-3234
telephoneNumber: 332-2334
dn: cn=Torvlobnor Puzdoy,dc=example,dc=com
objectClass: inetOrgPerson
...
...
This diff is collapsed.
Click to expand it.
tests/data/sql-write.out
+
35
−
35
View file @
d9534e5e
dn: documentTitle=War and Peace,dc=example,dc=com
objectClass: document
description: Historical novel
documentTitle: War and Peace
documentAuthor: cn=Lev Tolstoij,dc=subnet,dc=example,dc=com
documentIdentifier: document 3
dn: documentTitle=Renamed Book,dc=example,dc=com
objectClass: document
description: abstract2
documentTitle: Renamed Book
documentAuthor: cn=Mitya Kovalev,dc=example,dc=com
documentAuthor: cn=Lev Tolstoij,dc=subnet,dc=example,dc=com
documentIdentifier: document 2
dn: dc=example,dc=com
objectClass: organization
objectClass: dcObject
o: Example
dc: example
dn: dc=subnet,dc=example,dc=com
objectClass:
organizati
on
objectClass: dcObject
o: SubNet
dc: subnet
dn: o=R
ename
d Org,dc=example,dc=com
objectClass: organization
o: Renamed Org
dn:
cn=Lev Tolstoij,
dc=subnet,dc=example,dc=com
objectClass:
inetOrgPers
on
cn: Lev Tolstoij
sn: Tolstoij
seeAlso: documentTitle=Renamed Book,dc=example,dc=com
seeAlso: documentTitle=War and Peace,dc=example,dc=com
giv
en
N
ame
: Lev
telephoneNumber: +39 02 XXXX ZZZZ
telephoneNumber: +39 333 ZZZ 1234
dn: cn=Mitya Kovalev,dc=example,dc=com
objectClass: inetOrgPerson
...
...
@@ -35,9 +20,21 @@ cn: Mitya Kovalev
sn: Kovalev
seeAlso: documentTitle=Renamed Book,dc=example,dc=com
givenName: Mitya
telephoneNumber: 332-2334
telephoneNumber: 222-3234
telephoneNumber: +1 800 123 4567
telephoneNumber: 222-3234
telephoneNumber: 332-2334
dn: documentTitle=Renamed Book,dc=example,dc=com
objectClass: document
description: abstract2
documentTitle: Renamed Book
documentAuthor: cn=Lev Tolstoij,dc=subnet,dc=example,dc=com
documentAuthor: cn=Mitya Kovalev,dc=example,dc=com
documentIdentifier: document 2
dn: o=Renamed Org,dc=example,dc=com
objectClass: organization
o: Renamed Org
dn: cn=Some One,dc=example,dc=com
objectClass: inetOrgPerson
...
...
@@ -46,19 +43,22 @@ cn: Some One
sn: One
givenName: Some
dn: dc=subnet,dc=example,dc=com
objectClass: organization
objectClass: dcObject
o: SubNet
dc: subnet
dn: cn=SubNet User,dc=subnet,dc=example,dc=com
objectClass: inetOrgPerson
cn: SubNet User
sn: User
givenName: SubNet
dn: cn=Lev Tolstoij,dc=subnet,dc=example,dc=com
objectClass: inetOrgPerson
cn: Lev Tolstoij
sn: Tolstoij
seeAlso: documentTitle=Renamed Book,dc=example,dc=com
seeAlso: documentTitle=War and Peace,dc=example,dc=com
givenName: Lev
telephoneNumber: +39 02 XXXX ZZZZ
telephoneNumber: +39 333 ZZZ 1234
dn: documentTitle=War and Peace,dc=example,dc=com
objectClass: document
description: Historical novel
documentTitle: War and Peace
documentAuthor: cn=Lev Tolstoij,dc=subnet,dc=example,dc=com
documentIdentifier: document 3
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