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

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

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • ldap-plugin
    • None
    • Version 1.579 on Ubuntu 12.04.5 LTS

      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.

          [JENKINS-24859] LDAP cresentials with sAMAccountName including uppercase letter does not work with Global Security

          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

          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

          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?

          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?

          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.

          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.

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

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

          ldap 1.11 has this fix

          Stephen Connolly added a comment - ldap 1.11 has this fix

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

              Created:
              Updated:
              Resolved: