When the LDAP authentication method is configured, the first Vault client login via the newly configured LDAP authentication method results in "ldap operation failed: failed to bind as user" error being returned to the Vault client.
The mentioned error is usually caused for the following two reasons:
The value specified for binddn parameter is not correct or it does not exist in the LDAP tree.
- The value for bindpass parameter is either empty or it is incorrect in relation to the specified LDAP user via the binddn parameter.
- Make sure the user object specified via binddn parameter actually exists in your LDAP tree and the DN is correct.
- Make sure that the bindpass parameter is set correctly and login via the specified password is possible outside of the Vault.
- Make sure the user object specified is accessible by using external utilities such as "ldapsearch".