Kombinierte Ansicht Flache Ansicht Baumansicht
Threads [ Zurück | Nächste ]
toggle
Naveen Sharma
Liferay not accepting LDAP user password
17. August 2011 23:50
Antwort

Naveen Sharma

Rang: New Member

Nachrichten: 2

Eintrittsdatum: 17. August 2011

Neue Beiträge

Hi All,

I recently installed liferay 6.0.6. I had the requirement for using LDAP authentication which I did in Portal Settings.
All went off well and users/groups were imported from LDAP server successfully.
However, they cannot login using their passwords with LDAP server. I tried using the LDAP password policy in liferay but that did not work out.

Any idea of how to make liferay talk to ldap server for password verification ?

Do I need the patch mentioned here:
http://www.liferay.com/community/forums/-/message_boards/message/10090229

Regards,
Naveen Sharma.
Ravi Kumar Gupta
RE: Liferay not accepting LDAP user password
17. August 2011 23:56
Antwort

Ravi Kumar Gupta

Rang: Liferay Legend

Nachrichten: 1303

Eintrittsdatum: 23. Juni 2009

Neue Beiträge

I did use LDAP with LR 6.0.6 some time back and it works fine. Can you please share the logs to analyze any error thats coming.

Thanks and Regards
Ravi
Naveen Sharma
RE: Liferay not accepting LDAP user password
18. August 2011 01:25
Antwort

Naveen Sharma

Rang: New Member

Nachrichten: 2

Eintrittsdatum: 17. August 2011

Neue Beiträge

Dear Ravi,

> I did use LDAP with LR 6.0.6 some time back and it works fine

I can see all users imported from LDAP.
However, ldap passwords don't work. I have no clues.

Which log file to look for authentication failures. server/log doesn't show any errors.

Regards,
Naveen Sharma.
Ravi Kumar Gupta
RE: Liferay not accepting LDAP user password
18. August 2011 02:11
Antwort

Ravi Kumar Gupta

Rang: Liferay Legend

Nachrichten: 1303

Eintrittsdatum: 23. Juni 2009

Neue Beiträge

okay.. and what LDAP access logs. Which LDAP you are using.. there should be some logs folder or so..

My approach to this problem is to check whether at login time LR is using LDAP or not.. if not then there is some problem in LR settings. If yes then check proper ldap credentials.
Sreeraj AV
RE: Liferay not accepting LDAP user password
24. August 2011 23:46
Antwort

Sreeraj AV

Rang: Regular Member

Nachrichten: 236

Eintrittsdatum: 26. April 2010

Neue Beiträge

Naveen Sharma:
Dear Ravi,

> I did use LDAP with LR 6.0.6 some time back and it works fine

I can see all users imported from LDAP.
However, ldap passwords don't work. I have no clues.

Which log file to look for authentication failures. server/log doesn't show any errors.

Regards,
Naveen Sharma.


I think the problem is in your Authentication Search Filter filed. I've integrated Active Directory with LR 6.0.5, 6.0.6 and LR 6 EE SP2.
i gave (&(objectCategory=Person)(sAMAccountName=@screen_name@)) in my Authentication Search Filter filed. and configured authentication using screen name
Anhang

Anhang

Anhänge: Screenshot_1.png (4,1k), Screenshot_2.png (19,2k)
Brian Scott Schupbach
RE: Liferay not accepting LDAP user password
5. Oktober 2011 14:13
Antwort

Brian Scott Schupbach

Rang: Expert

Nachrichten: 329

Eintrittsdatum: 23. Oktober 2008

Neue Beiträge

Hello,

Thanks for posting those screen shots. I had an issue where users could use ANY password to authenticate into the portal. That issue has been fixed.

However, I have run into a new problem... If a user has the role of the portal Administrator (omniadmin) any password can be entered with the username and they are allowed to enter the portal.

Any suggestions? are you experiencing something similar?

Thanks in advance.

Brian
Drew Blessing
RE: Liferay not accepting LDAP user password
16. Oktober 2011 20:09
Antwort

Drew Blessing

Rang: Junior Member

Nachrichten: 79

Eintrittsdatum: 27. Januar 2011

Neue Beiträge

Out of curiosity, you're not using Chrome browser are you? I haven't ever seen this in Liferay 6.0.6 except with Chrome. The browser holds into the Session objects and makes Liferay, and other apps, appear to accept invalid passwords. It's worth a shot anyway.

By the way, I can't help but notice the giant red N you have as your pic. Do you work in NE? I know this is outside the scope of this forum. I work in K12 education in NE and we're doing a huge deployment of LR. If you're interested in collaborating or just chatting about LR, send me a dm on Twitter @drewblessing.
Brian Scott Schupbach
RE: Liferay not accepting LDAP user password
17. Oktober 2011 09:48
Antwort

Brian Scott Schupbach

Rang: Expert

Nachrichten: 329

Eintrittsdatum: 23. Oktober 2008

Neue Beiträge

Oops, I should have updated this post...

The issue has been corrected. I received a patch to get the LDAP import feature working the way I needed and somewhere in that patch it allowed users to authenticate with any password. I removed the patch and everything is working correctly now.

Yes, I do work in Nebraska! I'll send you a dm on twitter. It would be nice to see if we can collaborate on something.

Brian
Brandon Wagner
RE: Liferay not accepting LDAP user password
26. Oktober 2011 15:25
Antwort

Brandon Wagner

Rang: Junior Member

Nachrichten: 67

Eintrittsdatum: 14. Mai 2008

Neue Beiträge

Ravi -- cheers, you helped me greatly with these screenshots. The General tab was the key, for me.
Born Telefrag
RE: Liferay not accepting LDAP user password
20. Juni 2013 05:34
Antwort

Born Telefrag

Rang: New Member

Nachrichten: 1

Eintrittsdatum: 7. Juni 2013

Neue Beiträge

thx a lot, you saved a bunch of my time