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

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

    • 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.

          [JENKINS-56124] If fetching user by "userPrincipalName" failed, search for "sAMAccountName" will not be executed

          Fin Heuer created issue -
          Fin Heuer made changes -
          Summary Original: If fetching user by "userPrincipalName" failes "sAMAccountName" will not be executed New: If fetching user by "userPrincipalName" failed, "sAMAccountName" will not be executed
          Fin Heuer made changes -
          Summary Original: If fetching user by "userPrincipalName" failed, "sAMAccountName" will not be executed New: If fetching user by "userPrincipalName" failed, search for "sAMAccountName" will not be executed
          Félix Belzunce Arcos made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]

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

              Created:
              Updated: