Overview#

LDAP Filter Choices are "officially" defined in the Internet Assigned Numbers Authority (IANA) Considerations for the Lightweight Directory Access Protocol (LDAP) by RFC 4520.

More specifically at: LDAP Filter Choices
And we outline them below:

NameValueOwnerReferenceSymbol NotationExampleComment
and0IESGProtocol(& (...K1...) (...K2...) (...K3...) (...K4...))
or1IESGProtocol (| (...K1...) (...K2...) (...K3...) (...K4...)) (|(cn=jim)(cn=james))
not2IESGProtocol(!attribute=abc)(!objectClass=group)Some applications require (!(attribute=abc))
equalityMatch3IESGProtocol(attribute=abc)(&(objectclass=user)(displayName=Foeckeler)
substrings4IESGProtocol(mail=*@cerrotorre.de) or (givenName=*Paul*)(mail=*@cerrotorre.de) or (givenName=*Paul*))
greaterOrEqual5IESGProtocol(attribute>=abc)(mdbStorageQuota>=100000)
lessOrEqual6IESGProtocol(attribute<=abc)}}}(mdbStorageQuota<=100000)
present7IESGProtocol(attribute=*)(mailNickName=*)
approxMatch8IESGProtocol(attribute~=abc)(displayName~=Foeckeler)Caution: ~= is not always supported (Microsoft Active Directory environments)
extensibleMatch9IESGProtocolextensible Match

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-20) was last changed on 11-Apr-2016 16:56 by jim