LDAP Advanced Queries#
These are some
examples of more advanced
LDAP Query Examples.
Narrow Results#
Often you only want to see the exceptions to values. This example will return all the entries which have a value for employmentType which is NOT:
Remember that LDAP filters Syntax and Choices are typically case-insensitive.
(&(employmentType=*)(!(employmentType=Hired))(!(employmentType=NEW))(!(employmentType=POS))(!(employmentType=REH)))
ExtensibleMatch LDAP SearchFilters offer methods to do Advanced Searches.
Some
examples for
eDirectory's
networkAddress attribute is a good
example showing hex values to be escaped.
There might be more information for this subject on one of the following: