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

39 views
Skip to first unread message

paul.adams@continental-corporation.com (JIRA)

unread,
May 22, 2019, 10:19:02 AM5/22/19
to jenkinsc...@googlegroups.com
Paul Adams created an issue
 
Jenkins / Bug JENKINS-57607
Can't log in after plugin update
Issue Type: Bug Bug
Assignee: Félix Belzunce Arcos
Attachments: image-2019-05-22-16-12-04-200.png, image-2019-05-22-16-17-50-135.png
Components: active-directory-plugin
Created: 2019-05-22 14:18
Environment: Jenkins Ver. 2.178
Active Directory Plugin ver. 2.15
Priority: Major Major
Reporter: Paul Adams

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

 

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)

josh.schreuder@gmail.com (JIRA)

unread,
May 22, 2019, 9:27:02 PM5/22/19
to jenkinsc...@googlegroups.com
Josh Schreuder commented on Bug JENKINS-57607
 
Re: Can't log in after plugin update

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

bj.olsson@logica.com (JIRA)

unread,
May 23, 2019, 3:47:03 AM5/23/19
to jenkinsc...@googlegroups.com

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.

jenkins@31337.it (JIRA)

unread,
May 23, 2019, 6:58:01 AM5/23/19
to jenkinsc...@googlegroups.com
S imon commented on Bug JENKINS-57607

Just adding a me too!

sergiolabresjr@gmail.com (JIRA)

unread,
May 23, 2019, 10:48:01 AM5/23/19
to jenkinsc...@googlegroups.com

bdominguez@virtualwaregroup.com (JIRA)

unread,
May 23, 2019, 12:32:03 PM5/23/19
to jenkinsc...@googlegroups.com
A B commented on Bug JENKINS-57607

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.

neil@x2systems.com (JIRA)

unread,
May 23, 2019, 2:14:02 PM5/23/19
to jenkinsc...@googlegroups.com

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

Duplicate here JENKINS-57635

fbelzunc@gmail.com (JIRA)

unread,
May 23, 2019, 2:21:03 PM5/23/19
to jenkinsc...@googlegroups.com

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

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

fbelzunc@gmail.com (JIRA)

unread,
May 23, 2019, 2:21:03 PM5/23/19
to jenkinsc...@googlegroups.com
Félix Belzunce Arcos started work on Bug JENKINS-57607
 
Change By: Félix Belzunce Arcos
Status: Open In Progress

fbelzunc@gmail.com (JIRA)

unread,
May 23, 2019, 2:23:02 PM5/23/19
to jenkinsc...@googlegroups.com

I guess this issue only happened in Windows environment?

neil@x2systems.com (JIRA)

unread,
May 23, 2019, 2:27:02 PM5/23/19
to jenkinsc...@googlegroups.com

For me yes, Windows Server 2012.

boards@gmail.com (JIRA)

unread,
May 23, 2019, 2:29:02 PM5/23/19
to jenkinsc...@googlegroups.com

josh.schreuder@gmail.com (JIRA)

unread,
May 23, 2019, 8:16:03 PM5/23/19
to jenkinsc...@googlegroups.com

Windows 2012 R2 here also

wfollonier@cloudbees.com (JIRA)

unread,
May 24, 2019, 4:05:05 AM5/24/19
to jenkinsc...@googlegroups.com

Paul Adams, Neil Sleightholm, Josh Schreuder, A B, 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!

neil@x2systems.com (JIRA)

unread,
May 24, 2019, 4:49:02 AM5/24/19
to jenkinsc...@googlegroups.com

Can you let me know the log file name?

wfollonier@cloudbees.com (JIRA)

unread,
May 24, 2019, 5:03:02 AM5/24/19
to jenkinsc...@googlegroups.com

Neil Sleightholm You can follow Logging to retrieve the log file, I hope this will help you!

wfollonier@cloudbees.com (JIRA)

unread,
May 24, 2019, 5:04:02 AM5/24/19
to jenkinsc...@googlegroups.com
Wadeck Follonier edited a comment on Bug JENKINS-57607
[~nsleigh] You can follow the information on this page: [Logging doc |https://wiki.jenkins.io/display/JENKINS/Logging] to retrieve the log file, I hope this will help you!

wfollonier@cloudbees.com (JIRA)

unread,
May 24, 2019, 5:04:04 AM5/24/19
to jenkinsc...@googlegroups.com
Wadeck Follonier edited a comment on Bug JENKINS-57607
[~nsleigh] You can follow the information on this page: [Logging doc|https://wiki.jenkins.io/display/JENKINS/Logging] , to retrieve the log file, I hope this will help you!

paul.adams@continental-corporation.com (JIRA)

unread,
May 27, 2019, 4:30:04 AM5/27/19
to jenkinsc...@googlegroups.com

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.

martin@grachtwal.nu (JIRA)

unread,
May 27, 2019, 5:20:02 AM5/27/19
to jenkinsc...@googlegroups.com

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@grachtwal.nu (JIRA)

unread,
May 27, 2019, 7:24:02 AM5/27/19
to jenkinsc...@googlegroups.com

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@continental-corporation.com (JIRA)

unread,
May 27, 2019, 9:23:02 AM5/27/19
to jenkinsc...@googlegroups.com

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

sergiolabresjr@gmail.com (JIRA)

unread,
Jun 18, 2019, 8:02:03 AM6/18/19
to jenkinsc...@googlegroups.com

No progress in this issue ?

Reply all
Reply to author
Forward
0 new messages