How to test and check an LDAP datasource in VISULOX
OverviewDuring setup it is necessary to know, what the AD/LDAP servers offer to VISULOX. /opt/visulox/lib/utils/ldap.tcl is a helpful tool. This article describes how to use it for testing. |
Usage
| Command | Prints |
|---|---|
./ldap.tcl | List all users |
./ldap.tcl -source <name of the LDAP Datasource> | List all users (object) in the specific LDAP datasource |
./ldap.tcl -source <name of the LDAP Datasource> -objectclass group | List all groups |
./ldap.tcl -source <name of the LDAP Datasource> -print | List of available attributes from the specified LDAP datasource |
./ldap.tcl -source <name of the LDAP Datasource> -filter Extern | List all users, which have "Extern" in the objectname. This works only if the datasource is configured with the %SEARCHFILTER% place holder. |
./ldap.tcl -source <name of the LDAP Datasource> -fields object,sn,mail | List all users (object) with sn and mail |
./ldap.tcl -examples | List of examples |
The output can be controlled with -format.
Related information
General command line configuration
How to work with VISULOX Datasources