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

Can't log in after plugin update

    XMLWordPrintable

Details

    • Bug
    • Status: In Progress (View Workflow)
    • Major
    • Resolution: Unresolved
    • None
    • Jenkins Ver. 2.178
      Active Directory Plugin ver. 2.15

    Description

      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":

       

      Attachments

        Issue Links

          Activity

            peejay Paul Adams created issue -

             Same issue here, manually rolled back to 2.14 and was able to login.

            joshschreuder Josh Schreuder added a comment -  Same issue here, manually rolled back to 2.14 and was able to login.
            ursus_b Björn Olsson added a comment -

            Me too, I upgrade to 2.15, and i get the "invalid username or password" error message. downgrade to 2.14 and it works again.

            ursus_b Björn Olsson added a comment - Me too, I upgrade to 2.15, and i get the "invalid username or password" error message. downgrade to 2.14 and it works again.
            5imon S imon added a comment -

            Just adding a me too!

            5imon S imon added a comment - Just adding a me too!
            sergiolabres Sergio Labres added a comment -

            Same issue here !

            sergiolabres Sergio Labres added a comment - Same issue here !

            I suffered the same yesterday and I was able to solve it.

            NOTE: First of all make a backup of Jenkins in case you lose any security settings.

            The first thing I did was to uncheck "Enable security" to at least be able to access it.

            The second thing I did to make it work for me is to configure everything by hand, that is, it is not enough to check "Active Directory" in Security Realm. You have to check "Specify custom Active Directory domain name" and add a domain manually with all its configuration.

            bdominguez Borja Domínguez added a comment - I suffered the same yesterday and I was able to solve it. NOTE : First of all make a backup of Jenkins in case you lose any security settings. The first thing I did was to uncheck "Enable security" to at least be able to access it. The second thing I did to make it work for me is to configure everything by hand, that is, it is not enough to check "Active Directory" in Security Realm. You have to check "Specify custom Active Directory domain name" and add a domain manually with all its configuration.

            Same problem for me - is there any information I can add to help resolve the issue?

            Duplicate here JENKINS-57635

            nsleigh Neil Sleightholm added a comment - Same problem for me - is there any information I can add to help resolve the issue? Duplicate here  JENKINS-57635
            fbelzunc Félix Belzunce Arcos made changes -
            Field Original Value New Value
            Status Open [ 1 ] In Progress [ 3 ]

            Sorry, it is strange. the plugin has integration tests to avoid this.

            I will test this asap and try to fix the problem.

            fbelzunc Félix Belzunce Arcos added a comment - Sorry, it is strange. the plugin has integration tests to avoid this. I will test this asap and try to fix the problem.

            I guess this issue only happened in Windows environment?

            fbelzunc Félix Belzunce Arcos added a comment - I guess this issue only happened in Windows environment?

            For me yes, Windows Server 2012.

            nsleigh Neil Sleightholm added a comment - For me yes, Windows Server 2012.
            jvz Matt Sicker added a comment -

            Is this related to JENKINS-55813?

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

            Windows 2012 R2 here also

            joshschreuder 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!

            wfollonier 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?

            nsleigh Neil Sleightholm added a comment - Can you let me know the log file name?
            wfollonier 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!

            wfollonier 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!
            peejay 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.

            peejay 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.
            martinboer 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

             

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

            martinboer 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.
            peejay 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.

            peejay 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.
            sergiolabres Sergio Labres added a comment -

            No progress in this issue ?

            sergiolabres Sergio Labres added a comment - No progress in this issue ?
            oleg_nenashev Oleg Nenashev made changes -
            Link This issue is related to JENKINS-57569 [ JENKINS-57569 ]

            People

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

              Dates

                Created:
                Updated: