title: Sonar and LDAP. Unable do login
body: <p>I'm trying to configure the sonar to login with LDAP without success.</p>
  
  <pre><code>Here is my sonar.properties
  
  sonar.security.realm=LDAP
  sonar.authenticator.createUsers=true
  sonar.security.updateUserAttributes=true
  ldap.url=ldap://ad01.mydomain.com:389
  ldap.baseDn=dc=mydomain,dc=br
  ldap.bindDn=CN=Test User,OU=User,OU=!State,OU=!RJ,DC=mydomaind,DC=com
  ldap.bindPassword=some.pass
  ldap.user.request=(&amp;(objectClass=user)(sAMAccountName={login}))
  ldap.user.baseDn=OU=User,OU=!State,OU=!RJ,DC=mydomain,DC=com
  ldap.realm=mydomain.com
  ldap.loginAttribute=mail
  </code></pre>
  
  <p>I set de log level to FULL and when I try login with a domain account this message show up in the log file.</p>
  
  <pre><code>SELECT * FROM `properties` WHERE (((`properties`.`resource_id` IS NULL AND `properties`.`user_id` IS NULL)) AND (`properties`.`prop_key` = 'sonar.allowUsersToSignUp')) LIMIT 1
  </code></pre>
  
  <p>Ldap plugin 1.4</p>
  
  <p>Anyone can help me please?</p>