17.31. ldaptest

Tests LDAP filter, GUID, users, groups and organizational units as configured in sso/ldap.cf. Configuration options are described in the Configuration Guide.

Note that you can use the >>> operator for sending the command results to a given datasink. This may be useful for long command outputs for better result analysis. You can also use > for new file creation or >> for file append. Details of all terminal operators can be found in Chapter 16. Terminal Operators.
When troubleshooting your LDAP configuration, you should run the commands shown next in the order shown below, as some of them are based on correct configuration. E.g. ldaptest users needs a correct filter installed, so ldaptest filter should be checked first.
17.31.1. ldaptest filter

Allows you to test the installed filter and prints the results.

Use: ldaptest filter

17.31.2. ldaptest guid

Allows you to test the installed GUID and prints the results.

Use: ldaptest guid

17.31.3. ldaptest groups

Allows you to show the LDAP groups together with their attributes (in the sso/ldap.cf configuration file) that would be imported in an ldapimport execution.

Use: ldaptest groups

17.31.4. ldaptest organisationalUnits

Allows you to show the LDAP organisational units together with their attributes (in the sso/ldap.cf configuration file) that would be imported in an ldapimport execution.

Use: ldaptest organisationalUnits

17.31.5. ldaptest users

Allows you to show the LDAP users together with their attributes (in the sso/ldap.cf configuration file) that would be imported in an ldapimport execution.

Use: ldaptest users