mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-24 08:39:37 -05:00
212 lines
5.2 KiB
Text
212 lines
5.2 KiB
Text
# Testing search...
|
|
dn: documentTitle=book1,o=Example,c=RU
|
|
objectClass: document
|
|
description: abstract1
|
|
documentTitle: book1
|
|
documentAuthor: cn=Mitya Kovalev,o=Example,c=RU
|
|
documentAuthor: cn=Torvlobnor Puzdoy,o=Example,c=RU
|
|
documentIdentifier: document 1
|
|
|
|
dn: documentTitle=book2,o=Example,c=RU
|
|
objectClass: document
|
|
description: abstract2
|
|
documentTitle: book2
|
|
documentAuthor: cn=Mitya Kovalev,o=Example,c=RU
|
|
documentIdentifier: document 2
|
|
|
|
dn: o=Example,c=RU
|
|
objectClass: organization
|
|
o: Example
|
|
|
|
dn: cn=Mitya Kovalev,o=Example,c=RU
|
|
objectClass: inetOrgPerson
|
|
objectClass: posixAccount
|
|
cn: Mitya Kovalev
|
|
sn: Kovalev
|
|
seeAlso: documentTitle=book1,o=Example,c=RU
|
|
seeAlso: documentTitle=book2,o=Example,c=RU
|
|
givenName: Mitya
|
|
telephoneNumber: 332-2334
|
|
telephoneNumber: 222-3234
|
|
|
|
dn: cn=Torvlobnor Puzdoy,o=Example,c=RU
|
|
objectClass: inetOrgPerson
|
|
cn: Torvlobnor Puzdoy
|
|
sn: Puzdoy
|
|
seeAlso: documentTitle=book1,o=Example,c=RU
|
|
givenName: Torvlobnor
|
|
telephoneNumber: 545-4563
|
|
|
|
# refldap://localhost/o=Example,c=RU??sub
|
|
|
|
# Testing exact search...
|
|
dn: cn=Mitya Kovalev,o=Example,c=RU
|
|
objectClass: inetOrgPerson
|
|
objectClass: posixAccount
|
|
cn: Mitya Kovalev
|
|
sn: Kovalev
|
|
seeAlso: documentTitle=book1,o=Example,c=RU
|
|
seeAlso: documentTitle=book2,o=Example,c=RU
|
|
givenName: Mitya
|
|
telephoneNumber: 332-2334
|
|
telephoneNumber: 222-3234
|
|
|
|
# Testing substrings initial search...
|
|
dn: cn=Mitya Kovalev,o=Example,c=RU
|
|
objectClass: inetOrgPerson
|
|
objectClass: posixAccount
|
|
cn: Mitya Kovalev
|
|
sn: Kovalev
|
|
seeAlso: documentTitle=book1,o=Example,c=RU
|
|
seeAlso: documentTitle=book2,o=Example,c=RU
|
|
givenName: Mitya
|
|
telephoneNumber: 332-2334
|
|
telephoneNumber: 222-3234
|
|
|
|
# Testing substrings any search...
|
|
dn: cn=Mitya Kovalev,o=Example,c=RU
|
|
objectClass: inetOrgPerson
|
|
objectClass: posixAccount
|
|
cn: Mitya Kovalev
|
|
sn: Kovalev
|
|
seeAlso: documentTitle=book1,o=Example,c=RU
|
|
seeAlso: documentTitle=book2,o=Example,c=RU
|
|
givenName: Mitya
|
|
telephoneNumber: 332-2334
|
|
telephoneNumber: 222-3234
|
|
|
|
# Testing substrings final search...
|
|
dn: cn=Mitya Kovalev,o=Example,c=RU
|
|
objectClass: inetOrgPerson
|
|
objectClass: posixAccount
|
|
cn: Mitya Kovalev
|
|
sn: Kovalev
|
|
seeAlso: documentTitle=book1,o=Example,c=RU
|
|
seeAlso: documentTitle=book2,o=Example,c=RU
|
|
givenName: Mitya
|
|
telephoneNumber: 332-2334
|
|
telephoneNumber: 222-3234
|
|
|
|
# Testing approx search...
|
|
dn: cn=Mitya Kovalev,o=Example,c=RU
|
|
objectClass: inetOrgPerson
|
|
objectClass: posixAccount
|
|
cn: Mitya Kovalev
|
|
sn: Kovalev
|
|
seeAlso: documentTitle=book1,o=Example,c=RU
|
|
seeAlso: documentTitle=book2,o=Example,c=RU
|
|
givenName: Mitya
|
|
telephoneNumber: 332-2334
|
|
telephoneNumber: 222-3234
|
|
|
|
# Testing extensible filter search...
|
|
dn: cn=Mitya Kovalev,o=Example,c=RU
|
|
objectClass: inetOrgPerson
|
|
objectClass: posixAccount
|
|
cn: Mitya Kovalev
|
|
sn: Kovalev
|
|
seeAlso: documentTitle=book1,o=Example,c=RU
|
|
seeAlso: documentTitle=book2,o=Example,c=RU
|
|
givenName: Mitya
|
|
telephoneNumber: 332-2334
|
|
telephoneNumber: 222-3234
|
|
|
|
# Testing attribute inheritance in filter...
|
|
dn: o=Example,c=RU
|
|
objectClass: organization
|
|
o: Example
|
|
|
|
# Testing objectClass inheritance in filter...
|
|
dn: cn=Mitya Kovalev,o=Example,c=RU
|
|
objectClass: inetOrgPerson
|
|
objectClass: posixAccount
|
|
cn: Mitya Kovalev
|
|
sn: Kovalev
|
|
seeAlso: documentTitle=book1,o=Example,c=RU
|
|
seeAlso: documentTitle=book2,o=Example,c=RU
|
|
givenName: Mitya
|
|
telephoneNumber: 332-2334
|
|
telephoneNumber: 222-3234
|
|
|
|
dn: cn=Torvlobnor Puzdoy,o=Example,c=RU
|
|
objectClass: inetOrgPerson
|
|
cn: Torvlobnor Puzdoy
|
|
sn: Puzdoy
|
|
seeAlso: documentTitle=book1,o=Example,c=RU
|
|
givenName: Torvlobnor
|
|
telephoneNumber: 545-4563
|
|
|
|
# refldap://localhost/o=Example,c=RU??sub
|
|
|
|
# Testing "auxiliary" objectClass in filter...
|
|
dn: cn=Mitya Kovalev,o=Example,c=RU
|
|
objectClass: inetOrgPerson
|
|
objectClass: posixAccount
|
|
cn: Mitya Kovalev
|
|
sn: Kovalev
|
|
seeAlso: documentTitle=book1,o=Example,c=RU
|
|
seeAlso: documentTitle=book2,o=Example,c=RU
|
|
givenName: Mitya
|
|
telephoneNumber: 332-2334
|
|
telephoneNumber: 222-3234
|
|
|
|
# Testing hasSubordinates in filter...
|
|
dn: o=Example,c=RU
|
|
objectClass: organization
|
|
o: Example
|
|
|
|
# refldap://localhost/o=Example,c=RU??sub
|
|
|
|
# Testing attribute inheritance in requested attributes...
|
|
dn: cn=Mitya Kovalev,o=Example,c=RU
|
|
cn: Mitya Kovalev
|
|
sn: Kovalev
|
|
givenName: Mitya
|
|
|
|
# Testing objectClass in requested attributes...
|
|
dn: documentTitle=book1,o=Example,c=RU
|
|
objectClass: document
|
|
|
|
dn: documentTitle=book2,o=Example,c=RU
|
|
objectClass: document
|
|
|
|
dn: o=Example,c=RU
|
|
objectClass: organization
|
|
|
|
dn: cn=Mitya Kovalev,o=Example,c=RU
|
|
objectClass: inetOrgPerson
|
|
objectClass: posixAccount
|
|
|
|
dn: cn=Torvlobnor Puzdoy,o=Example,c=RU
|
|
objectClass: inetOrgPerson
|
|
|
|
# refldap://localhost/o=Example,c=RU??sub
|
|
|
|
# Testing operational attributes in request...
|
|
dn: documentTitle=book1,o=Example,c=RU
|
|
structuralObjectClass: document
|
|
subschemaSubentry: cn=Subschema
|
|
hasSubordinates: FALSE
|
|
|
|
dn: documentTitle=book2,o=Example,c=RU
|
|
structuralObjectClass: document
|
|
subschemaSubentry: cn=Subschema
|
|
hasSubordinates: FALSE
|
|
|
|
dn: o=Example,c=RU
|
|
structuralObjectClass: organization
|
|
subschemaSubentry: cn=Subschema
|
|
hasSubordinates: TRUE
|
|
|
|
dn: cn=Mitya Kovalev,o=Example,c=RU
|
|
structuralObjectClass: inetOrgPerson
|
|
subschemaSubentry: cn=Subschema
|
|
hasSubordinates: FALSE
|
|
|
|
dn: cn=Torvlobnor Puzdoy,o=Example,c=RU
|
|
structuralObjectClass: inetOrgPerson
|
|
subschemaSubentry: cn=Subschema
|
|
hasSubordinates: FALSE
|
|
|
|
# refldap://localhost/o=Example,c=RU??sub
|
|
|