Details

    • Type: Bug
    • Status: In Progress (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Labels:
      None
    • Environment:
      Jenkins Ver. 2.178
      Active Directory Plugin ver. 2.15
    • Similar Issues:

      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 -
            Hide
            joshschreuder Josh Schreuder added a comment -

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

            Show
            joshschreuder Josh Schreuder added a comment -  Same issue here, manually rolled back to 2.14 and was able to login.
            Hide
            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.

            Show
            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.
            Hide
            5imon S imon added a comment -

            Just adding a me too!

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

            Same issue here !

            Show
            sergiolabres Sergio Labres added a comment - Same issue here !
            Hide
            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.

            Show
            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.
            Hide
            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

            Show
            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 ]
            Hide
            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.

            Show
            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.
            Hide
            fbelzunc Félix Belzunce Arcos added a comment -

            I guess this issue only happened in Windows environment?

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

            For me yes, Windows Server 2012.

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

            Is this related to JENKINS-55813?

            Show
            jvz Matt Sicker added a comment - Is this related to JENKINS-55813 ?
            Hide
            joshschreuder Josh Schreuder added a comment -

            Windows 2012 R2 here also

            Show
            joshschreuder Josh Schreuder added a comment - Windows 2012 R2 here also
            Hide
            wfollonier Wadeck Follonier added a comment -

            Paul Adams, Neil Sleightholm, Josh Schreuder, Borja Domínguez, Sergio Labres, Björn Olsson, Sergio Labres, S imon, 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!

            Show
            wfollonier Wadeck Follonier added a comment - Paul Adams , Neil Sleightholm , Josh Schreuder , Borja Domínguez , Sergio Labres , Björn Olsson , Sergio Labres , S imon , 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!
            Hide
            nsleigh Neil Sleightholm added a comment -

            Can you let me know the log file name?

            Show
            nsleigh Neil Sleightholm added a comment - Can you let me know the log file name?
            Hide
            wfollonier Wadeck Follonier added a comment - - edited

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

            Show
            wfollonier Wadeck Follonier added a comment - - edited Neil Sleightholm You can follow the information on this page: Logging doc , to retrieve the log file, I hope this will help you!
            Hide
            peejay Paul Adams added a comment -

            Wadeck Follonier, 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.

            Show
            peejay Paul Adams added a comment - Wadeck Follonier , 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.
            Hide
            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

             

            Show
            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  
            Hide
            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.

            Show
            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.
            Hide
            peejay Paul Adams added a comment -

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

            Show
            peejay Paul Adams added a comment - Martin Boer , we are talking here about the Active Directory Plugin, not the LDAP plugin. All my plugins are always up to date.
            Hide
            sergiolabres Sergio Labres added a comment -

            No progress in this issue ?

            Show
            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

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

                Dates

                • Created:
                  Updated: