title: sonar runner authorization error
body: <p>I'm trying to send a job to sonarqube from jenkins. However I'm getting an error saying te following when I run the job</p>
  
  <pre><code>ERROR: Error during Sonar runner execution
  org.sonar.runner.impl.RunnerException: Unable to execute Sonar
      at org.sonar.runner.impl.BatchLauncher$1.delegateExecution(BatchLauncher.java:91)
      at org.sonar.runner.impl.BatchLauncher$1.run(BatchLauncher.java:75)
      at java.security.AccessController.doPrivileged(Native Method)
      at org.sonar.runner.impl.BatchLauncher.doExecute(BatchLauncher.java:69)
      at org.sonar.runner.impl.BatchLauncher.execute(BatchLauncher.java:50)
      at org.sonar.runner.api.EmbeddedRunner.doExecute(EmbeddedRunner.java:102)
      at org.sonar.runner.api.Runner.execute(Runner.java:100)
      at org.sonar.runner.Main.executeTask(Main.java:70)
      at org.sonar.runner.Main.execute(Main.java:59)
      at org.sonar.runner.Main.main(Main.java:53)
  Caused by: Not authorized. Please check the properties sonar.login and sonar.password.
  </code></pre>
  
  <p>The system I'm using is as follows. I have <code>jenkins 2.7.1</code>, <code>SonarQube 5.6</code> and <code>SonarQube Runner 2.4</code> is installed on my server as well.</p>
  
  <p>To log in to jenkins and sonarqube I'm using a ldap that only holds ldap users, no local users exists. </p>
  
  <p>In my jenkins settings I set up SonarQube as follows
  <a href="https://i.stack.imgur.com/Kstbq.png" rel="noreferrer"><img src="https://i.stack.imgur.com/Kstbq.png" alt="enter image description here"></a></p>
  
  <p>the token was created in a admin account in SonarQube
  <a href="https://i.stack.imgur.com/oLd78.png" rel="noreferrer"><img src="https://i.stack.imgur.com/oLd78.png" alt="enter image description here"></a></p>
  
  <p>When I created the job I made a new build step for a sonarqube scanner. Inside my project I created a sonar-project.properties file that holds the following information</p>
  
  <pre><code>sonar.projectKey=org.sonarqube:php-ut-sq-scanner
  sonar.projectName=vanbenthem :: PHPUnit :: SonarQube Scanner
  sonar.projectVersion=1.0
  
  sonar.sources=src
  sonar.tests=tests
  
  sonar.language=php
  
  sonar.sourceEncoding=UTF-8
  
  # Reusing PHPUnit reports
  sonar.php.coverage.reportPath=reports/phpunit.coverage.xml
  sonar.php.tests.reportPath=reports/phpunit.xml
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/6yRGe.png" rel="noreferrer"><img src="https://i.stack.imgur.com/6yRGe.png" alt="enter image description here"></a></p>
  
  <p>Can anyone tell me what I'm doing wrong? To my understanding I shouldn't be giving a login and password since SonarQube 5.4
  Hope someone will be able to help me out</p>
  
  <p><strong>per nicloas' request</strong></p>
  
  <p>Here are the console output from jenkins and my sonar settings regarding my ldap.</p>
  
  <p><a href="https://i.stack.imgur.com/RTbMo.jpg" rel="noreferrer"><img src="https://i.stack.imgur.com/RTbMo.jpg" alt="enter image description here"></a>
  <a href="https://i.stack.imgur.com/0i3IL.png" rel="noreferrer"><img src="https://i.stack.imgur.com/0i3IL.png" alt="enter image description here"></a></p>