8000 Wrong event error "user_disabled" when LDAP server is unavailable · Issue #55780 · keycloak/keycloak · GitHub
[go: up one dir, main page]

Skip to content

Wrong event error "user_disabled" when LDAP server is unavailable #55780

Backlog

Description

@vhurtevent

Before reporting an issue

  • I have read and understood the above terms for submitting issues, and I understand that my issue may be closed without action if I do not follow them.

Area

ldap

Bug Description

Hello,

we are using Keycloak with LDAP backend for accounts and authentication.

When users are trying to connect to OIDC applications using this Keycloak and when the backend LDAP server is not available (down or network issue), whereas the account is not disabled nor attempts aren't enough to trigger disable, Keycloak records an event with :

  • type : LOGIN_ERROR
  • error : user_disabled

also, users get "user disabled" information when they try to authenticate leading to misleading resolution.

Is there a way to define the error type to more accurate reason and message ?

Version

26.9.2

Regression

  • The issue is a regression

Expected behavior

When LDAP server is not available event type and user message must be more accurate on the real cause or neutral message about authentication problem.

Actual behavior

When users are trying to connect to OIDC applications using this Keycloak and when the backend LDAP server is not available (down or network issue), whereas the account is not disabled nor attempts aren't enough to trigger disable, Keycloak records an event with :

  • type : LOGIN_ERROR
  • error : user_disabled

also, users get "user disabled" information when they try to authenticate leading to misleading resolution.

How to Reproduce?

  • Keycloak with LDAP federation for user accounts and authentication
  • Make LDAP server off line
  • Try an OIDC authentication against Keycloak

Anything else?

Thank you !

Activity

  1. added
    kind/bug
    on Dec 3, 2026
  2. added theissue type on Dec 3, 2026
  3. added
    area/ldap
    on Dec 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/ldapkind/bugstatus/triageteam/core-iam

    Type

    Fields

    No fields configured for bug.

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    0