This is an archived version of the documentation for SonarQube-6.7.
See the Latest Documentation for current functionality.


Warning, this feature is deprecated since version 2.2.

Here is how auto-discovery works:

  1. Determine DNS Domain Name:

    • From ldap.realm property, if set.

    • From FQDN of machine, where SonarQube is installed (eg. if FQDN is, then the DNS Domain Name will be

  2. Determine URL of LDAP server:

    • From ldap.url property, if set.

    • From DNS server (Auto-discovery takes into account only one SRV record). Here is an example of the SRV Record for domain 72784   IN      SRV     0 5 389

      for this domain, the URL of the LDAP server will be ldap://

  3. Determining BaseDN:

    • From "ldap.baseDn" property, if set.

    • From DNS Domain Name (eg. if the DNS Domain Name is, then the BaseDN will be dc=example,dc=org).