23.1. LDAP/Active Directory ConnectionΒΆ
If you have got problems configuring your user store and get your connection to the LDAP-Server or your Active Directory up and running, you may test the connection from the command line of the LinOTP server like this:
ldapsearch -h linotpserver -x -W -b 'ou=users, dc=az,dc=local' -D 'cn=admin,dc=az,dc=local' '(objectClass=user)'
In case of Active Directory you will need to define objectClass=user, while in case of OpenLDAP or other LDAP implementations you may need to define other objectClasses.