![Netscape NETSCAPE DIRECTORY SERVER 6.1 - ADMINISTRATOR Administrator'S Manual Download Page 522](http://html1.mh-extra.com/html/netscape/netscape-directory-server-6-1-administrator/netscape-directory-server-6-1-administrator_administrators-manual_1674675522.webp)
LDAP Search Filters
522
Netscape Directory Server Administrator’s Guide • August 2002
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
cn
attribute to search for people with a specific common name.
Examples of attributes that people entries might include:
•
cn
(the person’s common name)
•
sn
(the person’s surname, or last name, or family name)
•
telephoneNumber
(the person’s telephone number)
•
buildingName
(the name of the building in which the person resides)
•
l
(the locality where you can find the person)
For a listing of the attributes associated with types of entries, see the Netscape
Directory Server Schema Reference
.
Using Operators in Search Filters
The operators that you can use in search filters are listed in Table B-1. In addition to
these search filters, you can specify special filters to work with a preferred
language collation order. For information on how to search a directory with
international character sets, see “Searching an Internationalized Directory,” on
page 525.
Table B-1
Search Filter Operators
Search Type
Operator
Description
Equality
=
Returns entries containing attribute values that exactly
match the specified value. For example,
cn=Bob
Johnson
Substring
=string* string
Returns entries containing attributes containing the
specified substring. For example,
cn=Bob*
cn=*Johnson
cn=*John*
cn=B*John
(The asterisk (*) indicates zero (0) or more characters.)
Summary of Contents for NETSCAPE DIRECTORY SERVER 6.1 - ADMINISTRATOR
Page 1: ...Administrator s Guide Netscape Directory Server Version6 1 August 2002...
Page 20: ...20 Netscape Directory Server Administrator s Guide August 2002...
Page 24: ...24 Netscape Directory Server Administrator s Guide August 2002...
Page 142: ...Using Referrals 142 Netscape Directory Server Administrator s Guide August 2002...
Page 440: ...Miscellaneous Tuning Tips 440 Netscape Directory Server Administrator s Guide August 2002...
Page 442: ...442 Netscape Directory Server Administrator s Guide August 2002...
Page 478: ...PTA Plug In Syntax Examples 478 Netscape Directory Server Administrator s Guide August 2002...
Page 498: ...498 Netscape Directory Server Administrator s Guide August 2002...
Page 538: ...Examples of LDAP URLs 538 Netscape Directory Server Administrator s Guide August 2002...