Description
LDAP bind issues are a common user issue at initial setup. Could a feature be added to knoxcli.sh to allow a user to test Knox’s bind to the LDAP server specified in a given topology?
For example,
./knoxcli.sh validate-ldap-bind <topology name>
<topology name> is the topology file name in /etc/knox/conf/topologies to use for the test. This argument would be required and ensures the test is against a running configuration. Executing without this argument could return the list of available topology files.
Executing “./knoxcli.sh validate-ldap-bind <topology name>” will use the LDAP settings from the specified topology file in /etc/knox/conf/topologies to test the configuration’s ability to successfully bind to the LDAP server. Returning success or failure.