jenkinsci / jenkinsci/active-directory-plugin

[JENKINS-59448] Distinct jenkins userids for same AD user

Open
#586 3 comments 0 reactions 0 assignees View on GitHub
component:active-directory-plugin imported-jira-issue priority:minor resolution:unresolved
Dominant language
Java
Stars
53
Forks
115
PR merge metrics
No merged PRs in 30d

Description

Jenkins creates distinct user ids for the same active directory user,  based on login name format.

Users can use  either "domainName\userName"  or  "userName@​domainName"  format for authentication.

Jenkins should check the identity before creates new user id for the same user with different login format.

 

---
Originally reported by lakatosjaguar, imported from: Distinct jenkins userids for same AD user


  • status: Open
  • priority: Minor
  • component(s): active-directory-plugin
  • resolution: Unresolved
  • votes: 5
  • watchers: 7
  • imported: 2025-12-07

Raw content of original issue

Jenkins creates distinct user ids for the same active directory user,  based on login name format.

Users can use  either "domainName\userName"  or  "userName@domainName"  format for authentication.

Jenkins should check the identity before creates new user id for the same user with different login format.

 

environment

```
Jenkins version 2.195

Active directory plugin version 2.16
```

Contributor guide

Open the contributing guide

Research direction

No source files, tests, or entry points are named in the issue. Start by locating the active-directory-plugin authentication code that creates Jenkins user IDs, then compare the two login formats for the same AD identity. Done means equivalent identities no longer create distinct Jenkins users, with regression coverage for both formats.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
authentication, backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.