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

LDAP cresentials with sAMAccountName including uppercase letter does not work with Global Security

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Critical
    • Resolution: Fixed
    • Component/s: ldap-plugin
    • Labels:
      None
    • Environment:
      Version 1.579 on Ubuntu 12.04.5 LTS
    • Similar Issues:

      Description

      With LDAP auth, the sAMAccountName containing uppercase case letters does not work with Global Security. For example, user ID "testuser" can be specified in the Global Security as expected. However, user ID "TEstuser" does not work as expected with the Global Security specified as TEstuser. In the Jenkis home dir there is a dir for either users/testuser/config.xml and users/TEstuser/config.xml. It just doesn't work with the ID containing uppercase letters.

        Attachments

          Issue Links

            Activity

            Hide
            stephenconnolly Stephen Connolly added a comment -

            See https://github.com/jenkinsci/ldap-plugin/commit/6ab61de8a9408e8741c5187c33b768b75ff83c44

            We are awaiting a LTS release that has the https://github.com/jenkinsci/jenkins/commit/554e087a0a64007fa4a251d1de1d32e5eaeb812e change in it before we push the ldap plugin changes that allow selecting the case sensitivity strategy for the field that you use as username

            Show
            stephenconnolly Stephen Connolly added a comment - See https://github.com/jenkinsci/ldap-plugin/commit/6ab61de8a9408e8741c5187c33b768b75ff83c44 We are awaiting a LTS release that has the https://github.com/jenkinsci/jenkins/commit/554e087a0a64007fa4a251d1de1d32e5eaeb812e change in it before we push the ldap plugin changes that allow selecting the case sensitivity strategy for the field that you use as username
            Hide
            ldanoski Levi Danoski added a comment -

            Since the core issue appears to be fixed, are there any plans to update this plugin to make use of the new API?

            Show
            ldanoski Levi Danoski added a comment - Since the core issue appears to be fixed, are there any plans to update this plugin to make use of the new API?
            Hide
            stephenconnolly Stephen Connolly added a comment -

            Have you tried setting the case sensitivity?

            The above shows when you click the Advanced button... then clicking on the Case sensitivity button you get

            Where you can control exactly the case sensitivity settings of the group names field you are resolving as well as the user name field you are resolving.

            Show
            stephenconnolly Stephen Connolly added a comment - Have you tried setting the case sensitivity? The above shows when you click the Advanced button... then clicking on the Case sensitivity button you get Where you can control exactly the case sensitivity settings of the group names field you are resolving as well as the user name field you are resolving.
            Hide
            stephenconnolly Stephen Connolly added a comment -

            LDAP plugin has supported case sensitivity since 2104712d8c2bbce060a218f7a997ada49ebced28 (i.e. Aug 2014)

            Show
            stephenconnolly Stephen Connolly added a comment - LDAP plugin has supported case sensitivity since 2104712d8c2bbce060a218f7a997ada49ebced28 (i.e. Aug 2014)
            Hide
            stephenconnolly Stephen Connolly added a comment -

            ldap 1.11 has this fix

            Show
            stephenconnolly Stephen Connolly added a comment - ldap 1.11 has this fix

              People

              • Assignee:
                kohsuke Kohsuke Kawaguchi
                Reporter:
                fory Fory Horio
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: