Table B-1
Search Filter Operators (Continued)
Search Type
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:
Table B-2
Search Filter Boolean Operators
Operator
Symbol
&
AND
Operator
<=
=*
~=
Description
All specified filters must be true for the statement to be true. For example:
(&(filter)(filter)(filter)...)
Description
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
LDAP Search Filters
Appendix B
Finding Directory Entries
597
Need help?
Do you have a question about the DIRECTORY SERVER 7.1 - ADMINISTRATOR and is the answer not in the manual?
Questions and answers