LDAP Search Filters
•
cn
•
sn
•
telephoneNumber
•
buildingName
•
l
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:
Table B-1
Search Filter Operators
Search type
Equality
Substring
Greater than or equal to
Less than or equal to
512
Netscape Directory Server Administrator's Guide • May 2002
(the person's common name)
(the person's surname, or last name, or family name)
(the person's telephone number)
(the name of the building in which the person resides)
(the locality where you can find the person)
Operator
=
=string* string
>=
<=
Description
Returns entries containing attribute values that exactly
match the specified value. For example, cn=Bob
Johnson
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.)
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
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