title: Cannot login using LDAP in Jenkins
body: <p>To tighten up security on our Jenkins CI server (running 1.614 on Ubuntu 14.04), I configured the LDAP plugin yesterday. Everything seemed fine yesterday, and I was able to log in and manually configure and run some builds.</p>
  
  <p>This morning, however, no one - including myself - is able to log in.</p>
  
  <p>We are told to look into the server console output - however, there is nothing recorded in <code>/var/log/jenkins/jenkins.log</code>. I found <a href="https://stackoverflow.com/questions/23907100/how-do-i-view-the-jenkins-server-console-output-on-the-local-filesystem">How do I view the Jenkins server console output on the local filesystem?</a> - but there are no such log files in <code>/usr/lib/jenkins/</code> (which my jenkins home directory).</p>
  
  <p>I've tried the simple troubleshooting groovy script at <a href="https://wiki.jenkins-ci.org/display/JENKINS/LDAP+Plugin" rel="nofollow noreferrer">https://wiki.jenkins-ci.org/display/JENKINS/LDAP+Plugin</a>, but each query returns:</p>
  
  <pre><code>Checking the name 'wibble'...
    It is NOT a group, reason: No such property: Jenkins for class: RemoteClass
    It is NOT a user, reason: No such property: Jenkins for class: RemoteClass
  </code></pre>
  
  <p>My security config:</p>
  
  <pre><code>&lt;useSecurity&gt;true&lt;/useSecurity&gt;
  &lt;authorizationStrategy class="hudson.security.AuthorizationStrategy$Unsecured"/&gt;
  &lt;securityRealm class="hudson.security.LDAPSecurityRealm" plugin="ldap@1.11"&gt;
      &lt;server&gt;server.ip.address&lt;/server&gt;
      &lt;rootDN&gt;dc=domain,dc=location,dc=au&lt;/rootDN&gt;
      &lt;inhibitInferRootDN&gt;false&lt;/inhibitInferRootDN&gt;
      &lt;userSearchBase&gt;dc=domain,dc=location,dc=au&lt;/userSearchBase&gt;
      &lt;userSearch&gt;sAMAccountName={0}&lt;/userSearch&gt;
      &lt;groupSearchBase&gt;ou=groups&lt;/groupSearchBase&gt;
      &lt;groupSearchFilter&gt;(&amp;amp; (cn={0}) (objectclass=group) )&lt;/groupSearchFilter&gt;
      &lt;groupMembershipStrategy class="jenkins.security.plugins.ldap.FromGroupSearchLDAPGroupMembershipStrategy"&gt;
          &lt;filter&gt;(&amp;amp;(objectCategory=group)(member={0}))&lt;/filter&gt;
      &lt;/groupMembershipStrategy&gt;
      &lt;managerDN&gt;cn=administrator,cn=users,dc=domain,dc=location,dc=au&lt;/managerDN&gt;
      &lt;managerPasswordSecret&gt;wurble-bop-de-boo&lt;/managerPasswordSecret&gt;
      &lt;disableMailAddressResolver&gt;false&lt;/disableMailAddressResolver&gt;
      &lt;displayNameAttributeName&gt;displayname&lt;/displayNameAttributeName&gt;
      &lt;mailAddressAttributeName&gt;mail&lt;/mailAddressAttributeName&gt;
      &lt;userIdStrategy class="jenkins.model.IdStrategy$CaseInsensitive"/&gt;
      &lt;groupIdStrategy class="jenkins.model.IdStrategy$CaseInsensitive"/&gt;
  &lt;/securityRealm&gt;
  </code></pre>
  
  <p>There were no configuration changes made overnight, and we use these same credential/settings for other LDAP integration from about 3 or 4 different applications, and they're all working fine.</p>