title: Sonarqube LDAP Group Filter not working
body: <p>I am running Sonarqube 6.7.1.35068 on Windows Server 2016 with LDAP plugin 2.2.  I have LDAP working, as new users are able to log into Sonarqube with their domain credentials and create an account, but my group filter is not working.  I am trying to filter logins based on a specific AD security group membership, but unfortunately all users on the domain are able to login, as the group filtering is not working.  The following is my LDAP configuration in the properties file:</p>
  
  <pre><code>#----- LDAP configuration
  # General Configuration
  sonar.security.realm=LDAP
  sonar.authenticator.downcase=true
  ldap.url=ldap://ldap.domain.com:3268
  ldap.bindDn=serviceaccount@ad.domain.com
  ldap.bindPassword=********
  
  # User Configuration
  ldap.user.baseDn=dc=ad,dc=domain,dc=com
  ldap.user.request=(&amp;(objectClass=user)(sAMAccountName={login}))
  ldap.user.realNameAttribute=cn
  ldap.user.emailAttribute=mail
  
  # Group Configuration
  ldap.group.baseDn=CN=Sonarqube,OU=Software Access,OU=Security Groups,OU=AD Groups,DC=ad,DC=domain,DC=com
  ldap.group.request=(&amp;(objectClass=group)(memberOf={dn}))
  ldap.group.idAttribute=sAMAccountName
  </code></pre>
  
  <p>I have tried several different combinations for the <strong>ldap.group.baseDn</strong> and
  <strong>ldap.group.request</strong> values, but have not had any success with user filtering based on AD group membership. There unfortunately are no good specific detailed examples on how to configure these 2 values for Sonarqube.  Anyone?</p>