The indent-ldap-filter Command-Line Tool

Parses a provided LDAP filter string and displays it a multi-line form that makes it easier to understand its hierarchy and embedded components. If possible, it may also be able to simplify the provided filter in certain ways (for example, by removing unnecessary levels of hierarchy, like an AND embedded in an AND).

Usage

indent-ldap-filter {arguments} {filter}

Arguments

Dependent Argument Sets

Exclusive Argument Sets

Examples

    indent-ldap-filter \
         "(|(givenName=jdoe)(|(sn=jdoe)(|(cn=jdoe)(|(uid=jdoe)(mail=jdoe)))))"