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

"Test Ldap Settings" button stopped functioning.

    • ldap plugin 1.24

      Clicking the "Test LDAP Settings" button in the "Configure Global Security" page no longer functions.

      Expected: A form to appear requesting a user to test against.

      F12 console reveals:
      Uncaught TypeError: Connot read property 'realm' of undefined.
      at ldapValidateButton (validate.js:24)
      at HTMLButtonElement.onClick((index):140)

          [JENKINS-61854] "Test Ldap Settings" button stopped functioning.

          William Gillaspy created issue -

          I'm also facing the same issue while configuring Jenkins with LDAP. Using Jenkins 2.230.

          Phaneendra Nagaruru added a comment - I'm also facing the same issue while configuring Jenkins with LDAP. Using  Jenkins 2.230.
          Daniel Beck made changes -
          Link New: This issue is caused by JENKINS-40228 [ JENKINS-40228 ]

          Daniel Beck added a comment -

          Daniel Beck added a comment - This broke due to JENKINS-40228   in https://jenkins.io/changelog/#v2.214 https://github.com/jenkinsci/ldap-plugin/blob/c153167bab5be20db27c8c7eaccef87a5f9d183f/src/main/resources/hudson/security/LDAPSecurityRealm/config.jelly#L47 makes a now wrong assumption about the overall form structure.
          Daniel Beck made changes -
          Labels Original: ldap New: ldap regression
          CloudBees Foundation Security made changes -
          Assignee New: CloudBees Foundation Security [ foundation_security_members ]
          CloudBees Foundation Security made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          Ramon Leon made changes -
          Assignee Original: CloudBees Foundation Security [ foundation_security_members ] New: Ramon Leon [ mramonleon ]
          Ramon Leon made changes -
          Status Original: In Progress [ 3 ] New: In Review [ 10005 ]

          Ramon Leon added a comment -

          Ramon Leon added a comment - pr: https://github.com/jenkinsci/ldap-plugin/pull/41/files

            mramonleon Ramon Leon
            wgillaspy William Gillaspy
            Votes:
            2 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: