Search Filter Syntax; Using Attributes In Search Filters - Netscape DIRECTORY SERVER 6.02 - ADMINISTRATOR Administrator's Manual

Table of Contents

Advertisement

For example, the following filter specifies a search for the common name Babs
Jensen:
cn=babs jensen
This search filter returns all entries that contain the common name Babs Jensen.
Searches for common name values are not case sensitive.
When the common name attribute has values associated with a language tag, all of
the values are returned. Thus, the following two attribute values both match this
filter:
cn: babs jensen
cn;lang-fr: babs jensen
For a list of all the supported language tags, see Table D-1 on page 531.

Search Filter Syntax

The basic syntax of a search filter is:
attribute operator value
For example:
buildingname>=alpha
In this example,
buildingname
value. You can also define filters that use different attributes combined together
with Boolean operators.
Search filters are described in detail in the following sections:

Using Attributes in Search Filters

Using Operators in Search Filters
Using Compound Search Filters
Search Filter Examples
Using Attributes in Search Filters
When searching for an entry, you can specify attributes associated with that type of
entry. For example, when you search for people entries, you can use the
attribute to search for people with a specific common name.
Examples of attributes that people entries might include:
is the attribute,
is the operator, and
>=
Appendix B
LDAP Search Filters
is the
alpha
cn
Finding Directory Entries
511

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the NETSCAPE DIRECTORY SERVER 6.02 - ADMINISTRATOR and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Directory server 6.02

Table of Contents