![Netscape NETSCAPE DIRECTORY SERVER 6.1 - ADMINISTRATOR Administrator'S Manual Download Page 524](http://html1.mh-extra.com/html/netscape/netscape-directory-server-6-1-administrator/netscape-directory-server-6-1-administrator_administrators-manual_1674675524.webp)
LDAP Search Filters
524
Netscape Directory Server Administrator’s Guide • August 2002
Boolean expressions are evaluated in the following order:
•
Innermost to outermost parenthetical expressions first
•
All expressions from left to right
Search Filter Examples
The following filter searches for entries containing one or more values for the
manager attribute. This is also known as a presence search:
manager=*
The following filter searches for entries containing the common name Ray Kultgen.
This is also known as an equality search:
cn=Ray Kultgen
The following filter returns all entries that do not contain the common name Ray
Kultgen:
(!(cn=Ray Kultgen))
The following filter returns all entries that contain a description attribute that
contains the substring
X.500
:
description=*X.500*
The following filter returns all entries whose organizational unit is Marketing and
whose description field does not contain the substring
X.500
:
(&(ou=Marketing)(!(description=*X.500*)))
Table B-2
Search Filter Boolean Operators
Operator
Symbol
Description
AND
&
All specified filters must be true for the statement to be true. For example:
(&(filter)(filter)(filter)...)
OR
|
At least one specified filter must be true for the statement to be true. For example:
(|(filter)(filter)(filter)...)
NOT
!
The specified statement must not be true for the statement to be true. Only one filter
is affected by the
NOT
operator. For example:
(!(filter))
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...