Ldap login with email

Hello, forgive me for my bad english.

I’m trying to setup ldap in sonarqube. My sonarqube runs in a docker container. If I use the sAMAccountName, i can login. But I’d like to use the email address to log. I tried this but it doesn’t work with sonarqube:

ldap.user.request: "(&(objectClass=user)(mail={login}))"

Any idea how I should configure ldap to use email for login ?

ok found. There was already a user using the same email but with another user id. I had to remove it and the new login with email worked.

1 Like


Welcome to the community!

I’m glad you worked through this.

Your English is fine. Don’t be shy about coming back if you need to.


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.