jenkinsci / jenkinsci/ldap-plugin

[JENKINS-73746] Searching for a disabled user will send you to the login screen

Open
#596 2 comments 0 reactions 0 assignees View on GitHub
component:ldap-plugin imported-jira-issue priority:minor resolution:unresolved
Dominant language
Java
Stars
51
Forks
106
PR merge metrics
No merged PRs in 30d

Description

We're using LDAP for Jenkins, and have a bunch of users that are disabled, they also coincide with the names of some jobs, so e.g. the "machine" user would have some context to the "machine_.."-jobs, and would exist in LDAP.

Now, we've moved on and disabled the "machine" user, but when we want to find the "machine_.." jobs, by searching for "machine" We're sent to the login screen, and in the logs we find an error, like:

org.springframework.security.authentication.DisabledException: The user "machine" is administratively disabled. 

I'll post the full error in a comment below.

Searching for `mach` or `machine_` correctly returns results. But when the name exactly matches, the error happens.

---
Originally reported by ngr_deif, imported from: Searching for a disabled user will send you to the login screen


  • status: Open
  • priority: Minor
  • component(s): ldap-plugin
  • resolution: Unresolved
  • votes: 0
  • watchers: 1
  • imported: 2025-12-09

Raw content of original issue

We're using LDAP for Jenkins, and have a bunch of users that are disabled, they also coincide with the names of some jobs, so e.g. the "machine" user would have some context to the "machine_.."-jobs, and would exist in LDAP.

Now, we've moved on and disabled the "machine" user, but when we want to find the "machine_.." jobs, by searching for "machine" We're sent to the login screen, and in the logs we find an error, like:



org.springframework.security.authentication.DisabledException: The user "machine" is administratively disabled. 


I'll post the full error in a comment below.

Searching for `mach` or `machine_` correctly returns results. But when the name exactly matches, the error happens.

  • environment: 2.462.1

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.