Show Table of Contents
Chapter 69. Parameters for Filters
This section lists the parameters used for manipulating LDAP filters, including with functions such as
slapi_filter_join(). These are not pblock parameters.
69.1. Parameters for Comparison Filters
The parameters listed below are filters that are used to compare a value against an attribute.
| Parameter ID | Description |
|---|---|
LDAP_FILTER_AND | AND filter. For example:
(&(ou=Accounting)(l=Sunnyvale)) |
LDAP_FILTER_APPROX | Approximation filter. For example:
(ou~=Sales) |
LDAP_FILTER_EQUALITY | Equals filter. For example:
(ou=Accounting) |
LDAP_FILTER_EXTENDED | Extensible filter. For example:
(o:dn:=Example) |
LDAP_FILTER_GE | Greater than or equal to filter. For example:
(supportedLDAPVersion>=3) |
LDAP_FILTER_LE | Less than or equal to filter. For example:
(supportedLDAPVersion<=2) |
LDAP_FILTER_OR | OR filter. For example:
(|(ou=Accounting)(l=Sunnyvale)) |
LDAP_FILTER_NOT | NOT filter. For example:
(!(l=Sunnyvale)) |
LDAP_FILTER_PRESENT | Presence filter. For example:
(mail=*) |
LDAP_FILTER_SUBSTRINGS | Substringfilter. For example:
(ou=Account*Department) |

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.