legacy-knowledge-base
Publicado Jul. 25, 2002

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 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

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