Extensible Match Filters - Netscape DIRECTORY SERVER 7.0 - PLUG-IN Manual

For plug-in
Table of Contents

Advertisement

Understanding Matching Rules

Extensible Match Filters

In an extensible match filter, the client specifies that it wants to use the matching
rule to compare a specified value against the values of entries in the directory.
(For example, an extensible match filter might find all entries in which the
attribute "sounds like"
An extensible match filter contains the following information:
The OID of the matching rule or the attribute type that you want to search (or
both).
The value for which to search.
A preference indicating whether or not to search the attributes in the DN also.
For example, if the OID "1.2.3.4" identifies a matching rule that performs "sounds
like" matches, the following extensible match filter attempts to find entries where
the
mail
(mail:1.2.3.4:=moxie)
In the search filter, the client can specify the OID (that identifies a matching rule)
and the attribute type. This indicates that the value in the filter should be
compared against the attribute using the matching rule.
For example, if the OID 1.2.3.4 specifies a "sound-alike" match and if the string
representation of the search filter is:
(uid:1.2.3.4:=moxie)
the client wants to find entries in which the value of the
moxie
Although the LDAPv3 standard allows clients to omit the OID or the attribute
type, at this time, the Netscape Directory Server only supports extensible match
filters that specify both the OID and attribute type.
The filter can also specify a preference indicating whether to search the attributes
in the DN as well. For example, if the OID 1.2.3.4 specifies a "sound-alike" match
and if the string representation of the search filter is
(sn:dn:1.2.3.4:=moxie)
then the client wants to find all entries in which the value of the
the attributes in the DN (for example,
134
Netscape Directory Server Plug-in Programmer's Guide • October 2004
melon
attribute "sounds like"
.
.)
.
moxie
,
,
, or
uid
cn
ou
attribute sounds like
uid
attribute or
sn
) sound like
.
o
moxie
sn

Advertisement

Table of Contents
loading

This manual is also suitable for:

Netscape directory server 7.0

Table of Contents