LDAP Integration is not working

Must-share information (formatted with Markdown):

  • 8.5
  • LDAP Integration
  • Configured as per guidelines

Hi Team,

I am facing issue while configuring the SonarQube with LDAP. Below is the error message I am getting.

2020.12.02 15:53:00 ERROR web[o.s.s.p.Platform] Background initialization failed. Stopping SonarQube
org.sonar.api.utils.SonarException: Security realm fails to start: null

Thanks,
Amit

Hey there.

I’d encourage you to post what you’ve configured in your conf/sonar.properties file, as well as more complete logs surrounding the error you’re receiving.

I was able to figure out the issue, it was getting ‘Null’ value from Group mapping function which is kind of weird , the same search is working fine in LDAP Browser. after i removed the LDAP Request tag, it is working.

(&(objectclass=Group)(cn=GBL-Harmony-*)).

Is there any reason the filter which is working in LDAP browser is not working in SonarQube?