Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-40330

Authentication via LDAP is set in Jenkins, but users cannot login

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • ldap-plugin
    • None
    • java.runtime.version 1.8.0_91-b14
      os.version 2.6.32-573.18.1.el6.x86_64 (centos6.7)
      ldap plugin 1.13
      Jenkins ver. 2.19.4

      Why don't I configure the LDAP validation successful?

      I have no problem on Jenkins server use ldapsearch.

      But it can't verify configuration to Jenkins.

      How to solve this problem?

      help。

          [JENKINS-40330] Authentication via LDAP is set in Jenkins, but users cannot login

          Stuart Cooper added a comment -

          It looks like your user search base in the plugin is configured incorrectly.

          your user search base should be something like

          ou=People

          ... depending how it is configured. You should be able to either use ldapsearch to pull in the schema or apache director studio to browse and work it out.

          at the moment effectively have you have a user search base being expanded out to 

          "dc=?,dc=com,dc=?,dc=com"

          Stuart Cooper added a comment - It looks like your user search base in the plugin is configured incorrectly. your user search base should be something like ou=People ... depending how it is configured. You should be able to either use ldapsearch to pull in the schema or apache director studio to browse and work it out. at the moment effectively have you have a user search base being expanded out to  "dc=? ,dc=com,dc= ?,dc=com"

            songqi qi song
            songqi qi song
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: