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

Auto-Discovery

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 sonar.example.org, then the DNS Domain Name will be example.org).

  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 example.org:

      _ldap._tcp.example.org. 72784   IN      SRV     0 5 389 ldap.example.org.

      for this domain, the URL of the LDAP server will be ldap://ldap.example.org:389.

  3. Determining BaseDN:

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

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