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:
  • Hired
  • NEW
  • POS
  • REH

Remember that LDAP filters Syntax and Choices are typically case-insensitive.

(&(employmentType=*)(!(employmentType=Hired))(!(employmentType=NEW))(!(employmentType=POS))(!(employmentType=REH)))

ExtensibleMatch#

ExtensibleMatch LDAP SearchFilters offer methods to do Advanced Searches.

Ldapsearch Networkaddress#

Some examples for eDirectory's networkAddress attribute is a good example showing hex values to be escaped.

More Information#

There might be more information for this subject on one of the following:

Add new attachment

Only authorized users are allowed to upload new attachments.
« This page (revision-9) was last changed on 22-Jul-2016 12:03 by jim