Matching Rule Filter Syntax
489
B.4.1.1.1. Using an OID for the Matching Rule
Each locale supported by the Directory Server has an associated collation order OID. For a list of
locales supported by the directory server and their associated OIDs, see
Table D.1, “Supported
Locales”
.
The collation order OID can be used in the matching rule portion of the matching rule filter as follows:
attr:OID
:=(
relational_operator value
)
The relational operator is included in the value portion of the string, separated from the value by a
single space. For example, to search for all
departmentNumber
attributes that are at or after
N4709
in the Swedish collation order, use the following filter:
departmentNumber:2.16.840.1.113730.3.3.2.46.1:=>= N4709
B.4.1.1.2. Using a Language Tag for the Matching Rule
Each locale supported by the Directory Server has an associated language tag. For a list of locales
supported by the directory server and their associated language tags, see
Table D.1, “Supported
Locales”
.
The language tag can be used in the matching rule portion of the matching rule filter as follows:
attr:language-tag
:=(
relational_operator value
)
The relational operator is included in the value portion of the string, separated from the value by
a single space. For example, to search the directory for all description attributes with a value of
estudiante
using the Spanish collation order, use the following filter:
cn:es:== estudiante
B.4.1.1.3. Using an OID and Suffix for the Matching Rule
As an alternative to using a relational operator-value pair, append a suffix that represents a specific
operator to the OID in the matching rule portion of the filter. Combine the OID and suffix as follows:
attr: OID+suffix
:=
value
For example, to search for
businessCategory
attributes with the value
softwareprodukte
in the
German collation order, use the following filter:
businessCategory:2.16.840.1.113730.3.3.2.7.1.3:=softwareprodukte
The
.3
in the previous example is the equality suffix.
For a list of locales supported by the Directory Server and their associated OIDs, see
Table D.1,
“Supported Locales”
. For a list of relational operators and their equivalent suffixes, see
Table B.3,
“Search Types, Operators, and Suffixes”
.
Содержание 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 ...