Legacy Knowledge Base
Published Jul. 2, 2025

Signing into Liferay Using NTLM Before the User is Imported From LDAP Causes Error

Written By

Liferay Support

How To articles are not official guidelines or officially supporteddocumentation. They are community-contributed content and may not alwaysreflect the latest updates to Liferay DXP. We welcome your feedback toimprove How to articles!

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

Legacy Article

You are viewing an article from our legacy "FastTrack"publication program, made available for informational purposes. Articlesin this program were published without a requirement for independentediting or verification and are provided "as is" withoutguarantee.

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

This article is a legacy article. It applies to previous versions of the Liferay product. While the article is no longer maintained, the information may still be applicable.

When signing into Liferay portal through the use of LDAP and NTLM, if the user credentials are not already imported into the portal, then signing in with NTLM will fail.

Steps to Reproduce

  1. Start Liferay Portal 6.2 EE
  2. Go to the Control Panel > Authentication > Authenticate by screen name
  3. Go to the LDAP page, Enable LDAP and then add an LDAP server
  4. Go to the Authentication > NTLM page.
  5. Input the necessary NTLM configuration values and select Save
  6. Open your browser and click the sign in button in the upper right corner to activate NTLM
  7. Enter your NTLM configuration values and attempt to log in.
  8. Sign in with LDAP/NTLM authenticated user

Sign in will fail and the following error will occur:

code>ERROR [http-bio-8080-exec-10][AutoLoginFilter:257] Current URL /c/portal/login generates exception: com.liferay.portal.NoSuchUserException: No User exists with the key

Resolution

Status: Fixed

Update to the latest service pack (SP20) or apply fix pack Portal-156.

Additional Information

See LPS-45954 for more information.

Did this article resolve your issue ?

Legacy Knowledge Base