jenkinsci / jenkinsci/active-directory-plugin
[JENKINS-57607] Can't log in after plugin update
- Dominant language
- Java
- Stars
- 53
- Forks
- 115
- PR merge metrics
- No merged PRs in 30d
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":

---
Originally reported by peejay, imported from: Can't log in after plugin update
fbelzunc
Raw content of original issue
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":
environment
```
Jenkins Ver. 2.178
Active Directory Plugin ver. 2.15
```
2 attachments
- [image-2019-05-22-16-12-04-200.png](https://issues.jenkins.io/secure/attachment/47469/image-2019-05-22-16-12-04-200.png)
> 
- [image-2019-05-22-16-17-50-135.png](https://issues.jenkins.io/secure/attachment/47468/image-2019-05-22-16-17-50-135.png)
> 
Contributor guide
Research direction
Start by reproducing the login failure in the Active Directory Plugin with Jenkins 2.178 and plugin 2.15, using the logging setup and attachments described in the issue; compare it with version 2.14. Trace the authentication path to determine why successful authentication ends with “Invalid username or password,” then verify that login works on 2.15 without regressing the 2.14 behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- authentication
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100