title: Configure Jenkins with LDAP
body: <p>LDAP is new to me and I try to use it with Jenkins. I am using <code>slapd</code></p>
  
  <p>I created a simple tree with the user <code>admin</code> + 1 user <code>adenoyelle</code> (via <code>dpkg reconfigure</code>). I do not understand how Jenkins will find the LDAP users.</p>
  
  <p>Here is the result of <code>ldapsearch</code> :</p>
  
  <pre><code>root@myserver:~# ldapsearch -x -b 'dc=mycompany,dc=com'
  # extended LDIF
  #
  # LDAPv3
  # base &lt;dc=mycompany,dc=com&gt; with scope subtree
  # filter: (objectclass=*)
  # requesting: ALL
  #
  
  # mycompany.com
  dn: dc=mycompany,dc=com
  objectClass: top
  objectClass: dcObject
  objectClass: organization
  o: mycompany.com
  dc: mycompany
  
  # admin, mycompany.com
  dn: cn=admin,dc=mycompany,dc=com
  objectClass: simpleSecurityObject
  objectClass: organizationalRole
  cn: admin
  description: LDAP administrator
  
  # adenoyelle, mycompany.com
  dn: cn=adenoyelle,dc=mycompany,dc=com
  cn: adenoyelle
  objectClass: simpleSecurityObject
  objectClass: organizationalRole
  objectClass: top
  
  # search result
  search: 2
  result: 0 Success
  
  # numResponses: 4
  # numEntries: 3
  </code></pre>
  
  <p><strong>Question 1)</strong> : Does this structure look good?</p>
  
  <p>I tried to configure Jenkins with those options : </p>
  
  <pre><code>LDAP server: ldap://mycompany.com:389
  root DN : dc=mycompany,dc=com
  DN manager : cn=admin,dc=mycompany,dc=com
  manager password : ******
  </code></pre>
  
  <p>When I try to connect with <code>adenoyelle/*****</code>, I get the message :</p>
  
  <blockquote>
    <p><strong>jenkins invalid login information. please try again</strong></p>
  </blockquote>
  
  <p><strong>Question 2)</strong> Am I missing a piece of configuration?</p>