Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
RE: Wrongly entered ldap credentails not able to login now
Hello all I have wrongly entered ldap credentials now am bot able to login with any user
Please suggest me the way i can resolve this issue else i will have to create new liferay instance for my portal and redeploy everything.
And secondly i have a use case that lets say my ldap is down then also i should have a mechanism from where my liferay user should atlest get logged in
Please suggest me the way i can resolve this issue else i will have to create new liferay instance for my portal and redeploy everything.
And secondly i have a use case that lets say my ldap is down then also i should have a mechanism from where my liferay user should atlest get logged in
I am not sure, how you locked everybody out.
Which ldap credentials did you enter incorrectly? The credentials of the service user for ldap? Otherwise I can't explain that behavior. Could you not reset the password/user in ldap?
Or did you configure a password policy in LDAP and/or in Liferay?
Is there an exception in the logfile? Maybe you hit a different problem.
On top of that, you should also still be able to authenticate with the Omniadmin. It is usually the initially created admin user.
---
To your second question: There is a checkbox "LDAP required". If you uncheck it, it allows you to authenticate with the Liferay password. Please note that this will probably force you to have two passwords. One in Liferay, one in LDAP. I would try to avoid that. Believe me, it is usually less of a hassle to cluster ldap servers and make them highly available. (I work for several companies where ldap is simply never down, since all hell would break lose if that happend)
Which ldap credentials did you enter incorrectly? The credentials of the service user for ldap? Otherwise I can't explain that behavior. Could you not reset the password/user in ldap?
Or did you configure a password policy in LDAP and/or in Liferay?
Is there an exception in the logfile? Maybe you hit a different problem.
On top of that, you should also still be able to authenticate with the Omniadmin. It is usually the initially created admin user.
---
To your second question: There is a checkbox "LDAP required". If you uncheck it, it allows you to authenticate with the Liferay password. Please note that this will probably force you to have two passwords. One in Liferay, one in LDAP. I would try to avoid that. Believe me, it is usually less of a hassle to cluster ldap servers and make them highly available. (I work for several companies where ldap is simply never down, since all hell would break lose if that happend)
Copyright © 2025 Liferay, Inc
• Privacy Policy
Powered by Liferay™