Legacy Knowledge Base
Published Jun. 30, 2025

Admins can't sign in when LDAP Required is enabled if they only exist in Liferay but not in LDAP

Written By

Ricardo Couso

How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!

While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.

Legacy Article

You are viewing an article from our legacy "FastTrack" publication program, made available for informational purposes. Articles in this program were published without a requirement for independent editing or verification and are provided"as is" without guarantee.

Before using any information from this article, independently verify its suitability for your situation and project.

Issue

  • When LDAP is configured with the option Required, admin users that exist in Liferay but not in LDAP are not able to log in.

Environment

  • Quarterly Release 2024.Q2

Resolution

  • As indicated in the documentation, when Required is enabled only users existing also in LDAP will be able to sign in:
    Users can’t log in unless they can bind to the LDAP directory successfully. Uncheck this box if users with Liferay accounts but no LDAP accounts can log in.
  • This generally includes admin users too.
  • The only exception to this behavior are Omniadmin users. These are users that:
    • belong to the default instance and
    • either are admins or they are included in the property omniadmin.users.
Did this article resolve your issue ?

Legacy Knowledge Base