Settings
3.7.3.5 CLI commands
ldap-test
Description
Ldap-test help to troubleshoot LDAP configuration issues or working issues.
Help
Usage: ldap-test <command> [OPTION]...
Test LDAP configuration.
Commands:
ldap-test -h, --help, Display help page
ldap-test --checkusername <username> [--primary|--secondary] [-v]
Check if the user can be retrieve from the LDAP server
<username>
--primary
--secondary
-v,--verbose
ldap-test --checkauth <username> [--primary|--secondary] [-v]
Check if remote user can login to the card
<username>
-p,--primary
-s,--secondary
-v,--verbose
ldap-test --checkmappedgroups [--primary|--secondary] [-v]
Check LDAP mapping
-p,--primary
-s,--secondary
-v,--verbose
Quick guide for testing:
In case of issue with LDAP configuration, we recommend to verify the
configuration using the commands in the following order:
1. Check user can be retrieve on the LDAP server
ldap-test --checkusername <username>
2. Check that your remote group are mapped to the good profile
ldap-test --checkmappedgroups
3. Check that the user can connect to the card
ldap-test --checkauth <username>
Contextual help of the web interface – 98
Remote username to test
Force the test to use primary server (optional)
Force the test to use secondary server (optional)
Print the exchanges with LDAP server (optional)
Remote username to test
Force the test to use primary server (optional)
Force the test to use secondary server (optional)
Print the exchanges with LDAP server (optional)
Force the test to use primary server (optional)
Force the test to use secondary server (optional)
Print the exchanges with LDAP server (optional)
Need help?
Do you have a question about the Network-M2 and is the answer not in the manual?