RE: Not able to login in Liferay application

pooja adhikari, modified 6 Years ago. Junior Member Posts: 26 Join Date: 3/11/19 Recent Posts
Hi All ,

this is a very new issue which we are facing in Liferay specific application called HUb .
In this we have 2 way authentication one from ldap and second from hub database .We have enabled the check box which is present in control pannel for LDAP .

LDAP configuration is properly defined in HUB still user in not able to authenitcate .
We have checked Active directory , name , first name , last name , mail and display name .

Also in our application logs user id is not printing so we are not able to understand where its geting failed .

Please help us to resolve this issue .
pooja adhikari, modified 6 Years ago. Junior Member Posts: 26 Join Date: 3/11/19 Recent Posts
Hi ,

in addition below mail , if any user login in hub application then  user entry automatically add in hub database .
Now when i uncheck required checkbox in lDAP in control pannel the one of my user is able to login whose details are present in AD and in hub .

But i have two more users whose entry are present in AD but not present in HUB as both are new users for hub and they are still not able to login in application .

Please can any one advice on uegent baiss .
thumbnail
Olaf Kock, modified 6 Years ago. Liferay Legend Posts: 6441 Join Date: 9/23/08 Recent Posts
pooja adhikari

Please can any one advice on uegent baiss .
As we don't know your application, its configuration and the policies around it, there's no way to tell you what went wrong. It might be as simple as the wrong password, disabled cookies in their browsers, or similar.
It might be a malfunctioning LDAP. Who knows.

Check the logs while someone signs in. Try to replicate for different users - see if you find commonalities between them (unless it doesn't work for all of them). Check if someone recently deployed an updated version of some plugin.

And note that free forum support typically doesn't value (your) urgency.

But we're here to help - it's just hard to give an answer knowing nothing but the name about your system.
pooja adhikari, modified 6 Years ago. Junior Member Posts: 26 Join Date: 3/11/19 Recent Posts
Hi ,

Thank you for the reply .
My application is build on liferya 6.2 .in this we have authentication functionality is with LDAP and nothing is deployed new .
For all users everything is working fine only two users are not able to login with their correct passowrd and id.

Ldap connectivity is also correct and also i unchecked the required button .
still users are not able to login .

​​​​​​​
thumbnail
Olaf Kock, modified 6 Years ago. Liferay Legend Posts: 6441 Join Date: 9/23/08 Recent Posts
...and the logs? Read my whole message above and answer it. We need to know more than "not able to log in" to help you.
thumbnail
Christoph Rabel, modified 6 Years ago. Liferay Legend Posts: 1555 Join Date: 9/24/09 Recent Posts
Wild guess: Those users have no, a duplicate or invalid Email. It's also possible that the username is invalid. As Olaf said, the logs should give you at least tell you, which field causes the problem.

I had issues with:
userids with only numbers
userids with special characters
empty email fields
emails with special characters (ldap usually doesn't care, if an email is valid)
emails with user@a-b-c.com adresses (There was a bug in Liferay, emails with two - separated by a single character were considered invalid)
...