Data Sync Server Documentation Index
Command-Line Tool Reference Home

indent-ldap-filter

Description
Examples
Arguments

Description

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).

Examples

Displays an indented representation of the provided filter, as well as a simplified version of that filter.
indent-ldap-filter \
     "(|(givenName=jdoe)(|(sn=jdoe)(|(cn=jdoe)(|(uid=jdoe)(mail=jdoe)))))"

For examples and help with LDAP options see LDAP Option Help. For help with SASL authentication, see SASL Option Help

Arguments

-V
--version

Description Display Data Sync Server version information

-H
--help

Description Display general usage information

--help-ldap

Description Display help for using LDAP options

--help-sasl

Description Display help for using SASL options

--help-debug

Description Display help for using debug options
Advanced Yes

--indent-spaces {numSpaces}

Description Specifies the number of spaces that should be used to indent each additional level of filter hierarchy. A value of zero indicates that the hierarchy should be displayed without any additional indenting. If this argument is not provided, a default indent of two spaces will be used.
Upper Bound 2147483647
Default Value 2
Required No
Multi-Valued No

--do-not-simplify

Description Indicates that the tool should not make any attempt to simplify the provided filter. If this argument is not provided, then the tool will try to simplify the provided filter (for example, by removing unnecessary levels of hierarchy, like an AND embedded in an AND).

--interactive

Description Launch the tool in interactive mode.

--outputFile {path}

Description Write all standard output and standard error messages to the specified file instead of to the console.
Required No
Multi-Valued No

--appendToOutputFile

Description Indicates that the tool should append to the file specified by the --outputFile argument if it already exists. If this argument is not provided and the output file already exists, it will be overwritten.

--teeOutput

Description Write all standard output and standard error messages to the console as well as to the specified output file. The --outputFile argument must also be provided.

--propertiesFilePath {path}

Description The path to a properties file used to specify default values for arguments not supplied on the command line.
Required No
Multi-Valued No

--generatePropertiesFile {path}

Description Write an empty properties file that may be used to specify default values for arguments.
Required No
Multi-Valued No

--noPropertiesFile

Description Do not obtain any argument values from a properties file.

--suppressPropertiesFileComment

Description Suppress output listing the arguments obtained from a properties file.