Test connection using LDAP search is successful, but web.log has error “constructor threw exception; nested exception is org.sonar.auth.ldap.LdapException: LDAP realm failed to start: Unable to open LDAP connection”
ldapsearch -x -h IP -p 3268 -D “SonarQube@test.com” -W -b “dc=test,dc=com” cn
We’re not LDAP experts. Your best bet is to get a 3rd-party LDAP client to perfect your settings before you transfer them into your SonarQube configuration.
The user was moved to a different Organizational Unit than the one originally configured. AD admin reverted the OU to its original setting, and SonarQube is now back to normal operations. Thank you for your quick reply.