View Source

h3.Definition: LDAP Search Filter

A search filter provides a mechanism for defining the criteria for defining matching entries in an [LDAP search operation|Definition -- LDAP Search Operation]. There are ten different types of search filters defined in LDAP:

* [AND Filters|Definition -- AND Search Filter] -- Serve as a container for holding zero or more search filter elements. All search filters contained in the AND filter must match the target entry for the AND filter to match.

* [OR Filters|Definition -- OR Search Filter] -- Serve as a container for holding zero or more search filter elements. At least one of the search filters contained in the OR filter must match the target entry for the OR filter to match.

* [NOT Filters|Definition -- NOT Search Filter] -- Serves as a container for exactly one search filter element. The embedded filter must not match the target entry for the NOT filter to match.

* [Equality Filters|Definition -- Equality Search Filter] -- Provides a mechanism for identifying entries that contain a specified value for a given attribute.

* [Substring Filters|Definition -- Substring Search Filter] -- Provides a mechanism for identifying entries with attribute values matching a specified substring.

* [Greater or Equal Filters|Definition -- Greater Than or Equal To Search Filter] -- Provides a mechanism for identifying entries with attribute values greater than or equal to a specific value.

* [Less or Equal Filters|Definition -- Less Than or Equal To Search Filter] -- Provides a mechanism for identifying entries with attribute values less than or equal to a specific value.

* [Presence Filters|Definition -- Presence Search Filter] -- Provides a mechanism for identifying entries that contain at least one value for a specified attribute.

* [Approximate Filters|Definition -- Approximate Search Filter] -- Provides a mechanism for identifying entries with attribute values that are approximately equal to a given value.

* [Extensible Match Filters|Definition -- Extensible Match Search Filter] -- Provides a mechanism for using a matching rule to identify matching entries using an extensible mechanism.

See [RFC 4515|http://www.ietf.org/rfc/rfc4515.txt] for more information about LDAP search filters and a mechanism for representing them as strings.

The individuals who post here are part of the extended Sun Microsystems community and they might not be employed or in any way formally affiliated with Sun Microsystems. The opinions expressed here are their own, are not necessarily reviewed in advance by anyone but the individual authors, and neither Sun nor any other party necessarily agrees with them.

Copyright 1994-2009 Sun Microsystems, Inc.
Powered by Atlassian Confluence
Sun Guidelines on Public Discourse Privacy Policy Terms of Use Trademarks Site Map Employment Investor Relations Contact