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

If fetching user by "userPrincipalName" failed, search for "sAMAccountName" will not be executed

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: In Progress (View Workflow)
    • Priority: Blocker
    • Resolution: Unresolved
    • Labels:
      None
    • Environment:
      AD-Plugin: 2.12
      Jenkins: 2.150.2
    • Similar Issues:

      Description

      The problem is: if the user is searched by "userPrincipalName" at ActiveDirectoryUnixAuthenticationProvider.java:385 and the users are defined by "sAMAccountName" an Exception will be thrown. So the code bellow line 385 will not be executed! So no search for "sAMAccountName" will be made. Because of this, the E-Mail Plugin won't be able to search for Users/Email-addresses and no notifications will be send.

      I hope this bug wasn't mentioned before.

        Attachments

          Activity

          Hide
          heue_fi Fin Heuer added a comment -

          Félix Belzunce Arcos is it possible to publish a new version of this plugin which includes this fix?

          Show
          heue_fi Fin Heuer added a comment - Félix Belzunce Arcos is it possible to publish a new version of this plugin which includes this fix?

            People

            Assignee:
            fbelzunc Félix Belzunce Arcos
            Reporter:
            heue_fi Fin Heuer
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: