Using Compound Search Filters - Netscape DIRECTORY SERVER 6.1 - ADMINISTRATOR Administrator's Manual

Table of Contents

Advertisement

Search Filter Operators (Continued)
Table B-1
Search Type
Greater than or equal to
Less than or equal to
Presence
Approximate

Using Compound Search Filters

Multiple search filter components can be combined using Boolean operators
expressed in prefix notation as follows:
(Boolean-operator(filter)(filter)(filter)...)
where Boolean-operator is any one of the Boolean operators listed in Table B-2.
Boolean operators can be combined and nested together to form complex
expressions, such as:
(Boolean-operator(filter)((Boolean-operator(filter)(filter)))
The Boolean operators available for use with search filters include the following:
Operator
>=
<=
=*
~=
Description
Returns entries containing attributes that are greater than
or equal to the specified value. For example,
buildingname >= alpha
Returns entries containing attributes that are less than or
equal to the specified value. For example,
buildingname <= alpha
Returns entries containing one or more values for the
specified attribute. For example,
cn=*
telephonenumber=*
manager=*
Returns entries containing the specified attribute with a
value that is approximately equal to the value specified
in the search filter. For example,
cn~=suret
l~=san fransico
could return
cn=sarette
l=san francisco
Appendix B
LDAP Search Filters
Finding Directory Entries
523

Advertisement

Table of Contents
loading

This manual is also suitable for:

Directory server 6.1

Table of Contents