legacy-knowledge-base
Publicado Jun. 25, 2030

After enabling LDAP authentication, administrator users who do not exist in LDAP can log in

written-by

Daniel Mijarra

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

learn-legacy-article-disclaimer-text

Issue

  • We have enabled LDAP authentication, checking it as required and we have unchecked Ignore User Search Filter for Authentication.
  • With this configuration applied the administrator users can login even if they do not exist in LDAP.

Environment

  • DXP 7.4

Resolution

  • This is the expected behavior using this configuration, administrator users will be able do login by authenticating against the portal.

  • A solution could be to disable password checking by the internal portal authentication through the auth.pipeline.enable.liferay.check property added in the portal-ext.properties file.
    It is recommended to test this configuration first in non-production environments and evaluate if it fits your use case.

Additional Information

 

 

did-this-article-resolve-your-issue

legacy-knowledge-base