Searching an Internationalized Directory
487
B.3.1.4. Search Filter Examples
The following filter searches for entries containing one or more values for the manager attribute. This
is also known as a presence search:
manager=*
The following filter searches for entries containing the common name
Ray Kultgen
. This is also
known as an equality search:
cn=Ray Kultgen
The following filter returns all entries that do not contain the common name
Ray Kultgen
:
(!(cn=Ray Kultgen))
The following filter returns all entries that contain a description attribute that contains the substring
X.500
:
description=*X.500*
The following filter returns all entries whose organizational unit is
Marketing
and whose description
field does not contain the substring
X.500
:
(&(ou=Marketing)(!(description=*X.500*)))
The following filter returns all entries whose organizational unit is
Marketing
and that have Julie
Fulmer or Cindy Zwaska as a manager:
(&(ou=Marketing)(|(manager=cn=Julie Fulmer,ou=Marketing,dc=example,dc=com)
(manager=cn=Cindy Zwaska,ou=Marketing,dc=example,dc=com)))
The following filter returns all entries that do not represent a person:
(!(objectClass=person))
The following filter returns all entries that do not represent a person and whose common name is
similar to
printer3b
:
(&(!(objectClass=person))(cn~=printer3b))
B.4. Searching an Internationalized Directory
When performing search operations, the Directory Server can sort the results based on any language
for which the server has a supporting collation order. For a listing of the collation orders supported by
the directory, see
Section D.2, “Identifying Supported Locales”
.
NOTE
An LDAPv3 search is required to perform internationalized searches. Therefore, do not
specify the
-V2
option on the call for
ldapsearch
.
Содержание DIRECTORY SERVER 8.0
Страница 18: ...xviii ...
Страница 29: ...Configuring the Directory Manager 11 6 Enter the new password and confirm it 7 Click Save ...
Страница 30: ...12 ...
Страница 112: ...94 ...
Страница 128: ...110 ...
Страница 190: ...Chapter 6 Managing Access Control 172 4 Click New to open the Access Control Editor ...
Страница 224: ...206 ...
Страница 324: ...306 ...
Страница 334: ...316 ...
Страница 358: ...340 ...
Страница 410: ...392 ...
Страница 420: ...402 ...
Страница 444: ...426 ...
Страница 454: ...436 ...
Страница 464: ...446 ...
Страница 484: ...466 ...
Страница 512: ...494 ...
Страница 522: ...504 ...