🔎
LDAP Filter Generator
Developer
Build an LDAP search filter from attribute, operator and value rows. Combine clauses with AND or OR, or negate the whole filter. Values are treated as literals; use the presence operator to match any value.
0
0
Combine rows with
Filter rows
Generated LDAP filter
(&(cn=John\2a)(mail=\2a@example.com))
Build an LDAP search filter from attribute, operator and value rows. Combine clauses with AND or OR, or negate the whole filter.
See moreSee less about the LDAP Filter Generator
Values are treated as literals; use the presence operator to match any value.
Examples
Match a literal name
Attribute: cn
Operator: equals (=)
Value: Ada (admin)
Filter: (cn=Ada \28admin\29)Parentheses, NUL, asterisk and backslash are escaped as filter octets. Attribute names or numeric OIDs are checked locally. This does not connect to a directory or validate its schema. Each attribute and value is limited to 8,000 characters.
Key features
- AND, OR and negation
- Literal-value escaping
- Presence and comparison operators
Quick answers for LDAP Filter Generator
What does this tool produce?
Build an LDAP search filter from attribute, operator and value rows. Combine clauses with AND or OR, or negate the whole filter. Values are treated as literals; use the presence operator to match any value.
What are the limits and important options?
Parentheses, NUL, asterisk and backslash are escaped as filter octets. Attribute names or numeric OIDs are checked locally. This does not connect to a directory or validate its schema. Each attribute and value is limited to 8,000 characters.