jenkinsci / jenkinsci/active-directory-plugin
[JENKINS-14057] With Active Directory Plugin, the user/group validation in authorization strategy of configuration screen fails
- Dominant language
- Java
- Stars
- 53
- Forks
- 115
- PR merge metrics
- No merged PRs in 30d
Description
Using the Project-based Matrix Authorization Strategy the identification of the usernames doesn't work properly. Sometimes the username is recognized, sometimes the user fullname is recognized, sometimes nor the username neither the full name are recognized.
It worked in old versions of jenkins and the plugin (1.16).
The errormessage is:
org.acegisecurity.BadCredentialsException: Failed to retrieve user information for xyz; nested exception is javax.naming.NamingException: [LDAP: error code 1 - 00000000: LdapErr: DSID-0C090627, comment: In order to perform this operation a successful bind must be completed on the connection., data 0, vece
---
Originally reported by lot, imported from: With Active Directory Plugin, the user/group validation in authorization strategy of configuration screen fails
Raw content of original issue
Using the Project-based Matrix Authorization Strategy the identification of the usernames doesn't work properly. Sometimes the username is recognized, sometimes the user fullname is recognized, sometimes nor the username neither the full name are recognized.
It worked in old versions of jenkins and the plugin (1.16).
The errormessage is:
org.acegisecurity.BadCredentialsException: Failed to retrieve user information for xyz; nested exception is javax.naming.NamingException: [LDAP: error code 1 - 00000000: LdapErr: DSID-0C090627, comment: In order to perform this operation a successful bind must be completed on the connection., data 0, vece
- environment:
Win Server 2008, AIX, AD plugin version=1.26, Jenkins version=1.424.6
1 attachment
- [Stacktrace1.txt](https://issues.jenkins.io/secure/attachment/23466/Stacktrace1.txt)
Contributor guide
Research direction
Start by reproducing the failure from the Project-based Matrix Authorization Strategy configuration screen using the reported Active Directory and Jenkins versions, then inspect the plugin's user/group validation flow and the attached Stacktrace1.txt. Done means usernames and full names are resolved consistently without the LDAP bind error.
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
- Needs clarification
- Newbie friendliness
- 30/100