How to mapper "User Enabled" property using LDAP

Solution Verified - Updated -

Issue

  • We would like to be able to disable a user in Keycloak if the user is disabled in LDAP/AD.
  • Is it possible to create an LDAP Federation Mapper such that we can tie the "User Enabled?" property of the User Model to the LDAP account status (enable/disable) of a user?

Environment

Red Hat Single Sign-On (RH-SSO) 7.6

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content