HP UX Red Hat Direry Server Software manual Using Wildcards in Matching Rule Filters, 566

Models: UX Red Hat Direry Server Software

1 638
Download 638 pages 23.73 Kb
Page 586
Image 586

Appendix B. Finding Directory Entries

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

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”.

4.1.1.4. Using a Language Tag 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 language tag in the matching rule portion of the filter. Combine the language tag and suffix as follows:

attr: language-tag+suffix:=value

For example, to search for all surnames that come at or after La Salle in the French collation order, use the following filter:

sn:fr.4:=La Salle

For a list of locales supported by the Directory Server and their associated language tags, see Table D.1, “Supported Locales”. For a list of relational operators and their equivalent suffixes, refer to Table B.3, “Search Types, Operators, and Suffixes”.

4.1.2. Using Wildcards in Matching Rule Filters

566

Page 586
Image 586
HP UX Red Hat Direry Server Software manual Using Wildcards in Matching Rule Filters, 566