mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-06 10:46:21 +08:00
"order by" plus -S "" seems to work...
This commit is contained in:
parent
81b5755364
commit
d9534e5e0d
@ -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
|
||||
|
@ -1,57 +1,9 @@
|
||||
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: organization
|
||||
objectClass: dcObject
|
||||
o: SubNet
|
||||
dc: subnet
|
||||
|
||||
dn: o=Renamed Org,dc=example,dc=com
|
||||
objectClass: organization
|
||||
o: Renamed Org
|
||||
|
||||
dn: cn=Mitya Kovalev,dc=example,dc=com
|
||||
objectClass: inetOrgPerson
|
||||
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
|
||||
|
||||
dn: cn=Some One,dc=example,dc=com
|
||||
objectClass: inetOrgPerson
|
||||
objectClass: simpleSecurityObject
|
||||
cn: Some One
|
||||
sn: One
|
||||
givenName: Some
|
||||
|
||||
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
|
||||
@ -62,3 +14,51 @@ givenName: Lev
|
||||
telephoneNumber: +39 02 XXXX ZZZZ
|
||||
telephoneNumber: +39 333 ZZZ 1234
|
||||
|
||||
dn: cn=Mitya Kovalev,dc=example,dc=com
|
||||
objectClass: inetOrgPerson
|
||||
cn: Mitya Kovalev
|
||||
sn: Kovalev
|
||||
seeAlso: documentTitle=Renamed Book,dc=example,dc=com
|
||||
givenName: Mitya
|
||||
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
|
||||
objectClass: simpleSecurityObject
|
||||
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: 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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user