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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Blocker Blocker
    • None
    • AD-Plugin: 2.12
      Jenkins: 2.150.2

      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.

            fbelzunc FĂ©lix Belzunce Arcos
            heue_fi Fin Heuer
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: