• Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • Jenkins Ver. 2.178
      Active Directory Plugin ver. 2.15

      After update to ver. 2.15 of the Active Directory Plugin, can no longer log in to Jenkins.

      Reverting to ver 2.14 allows me to log in once more.

      With Anonymous admin allowed, I enabled logging and the log shows that I have logged in successfully:

      but I always get the message "Invalid username or password":

       

          [JENKINS-57607] Can't log in after plugin update

          Matt Sicker added a comment -

          Is this related to JENKINS-55813?

          Matt Sicker added a comment - Is this related to JENKINS-55813 ?

          Windows 2012 R2 here also

          Josh Schreuder added a comment - Windows 2012 R2 here also

          peejay, nsleigh, joshschreuder, bdominguez, sergiolabres, ursus_b, sergiolabres, 5imon, could you provide a bit of log in addition to the existing screenshot?

          That could be especially useful to detect where the root cause is.

          Thank you in advance!

          Wadeck Follonier added a comment - peejay , nsleigh , joshschreuder , bdominguez , sergiolabres , ursus_b , sergiolabres , 5imon , could you provide a bit of log in addition to the existing screenshot? That could be especially useful to detect where the root cause is. Thank you in advance!

          Can you let me know the log file name?

          Neil Sleightholm added a comment - Can you let me know the log file name?

          Wadeck Follonier added a comment - - edited

          nsleigh You can follow the information on this page: Logging doc, to retrieve the log file, I hope this will help you!

          Wadeck Follonier added a comment - - edited nsleigh You can follow the information on this page: Logging doc , to retrieve the log file, I hope this will help you!

          Paul Adams added a comment -

          wfollonier, I switched on the logging and all I received in the log was "Login Successful" as shown in the screenshot, no errors are displayed.

          FYI, the problem shows itself on Windows 2012 R2 server and Windows 10 local PC.

          Paul Adams added a comment - wfollonier , I switched on the logging and all I received in the log was "Login Successful" as shown in the screenshot, no errors are displayed. FYI, the problem shows itself on Windows 2012 R2 server and Windows 10 local PC.

          Martin Boer added a comment -

          We have several Jenkins instances, some of them working after the upgrade, some not.

          We copied the ldap.hpi file in /var/lib/jenkins/plugins/ with filesize 129449 to systems with ldap.jpi with filesize 101895, and removed the latter.

          Restart jenkins; it renames the ldap.hpi to ldap.jpi and still fails with ldap

          ln -s ldap.jpi ldap.hpi

          Restart jenkins and success

           

          Martin Boer added a comment - We have several Jenkins instances, some of them working after the upgrade, some not. We copied the ldap.hpi file in /var/lib/jenkins/plugins/ with filesize 129449 to systems with ldap.jpi with filesize 101895, and removed the latter. Restart jenkins; it renames the ldap.hpi to ldap.jpi and still fails with ldap ln -s ldap.jpi ldap.hpi Restart jenkins and success  

          Martin Boer added a comment -

          When you run into this error, I'd recommend to update your plugins asap afterwards, that seems to be the underlying issue.

          My 2 cents.

          Martin Boer added a comment - When you run into this error, I'd recommend to update your plugins asap afterwards, that seems to be the underlying issue. My 2 cents.

          Paul Adams added a comment -

          martinboer, we are talking here about the Active Directory Plugin, not the LDAP plugin. All my plugins are always up to date.

          Paul Adams added a comment - martinboer , we are talking here about the Active Directory Plugin, not the LDAP plugin. All my plugins are always up to date.

          Sergio Labres added a comment -

          No progress in this issue ?

          Sergio Labres added a comment - No progress in this issue ?

            fbelzunc FĂ©lix Belzunce Arcos
            peejay Paul Adams
            Votes:
            4 Vote for this issue
            Watchers:
            11 Start watching this issue

              Created:
              Updated: