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)