Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
LDAP import users - Password issue Brian Scott Schupbach April 29, 2011 6:51 AM
RE: LDAP import users - Password issue Brian Scott Schupbach April 29, 2011 7:11 AM
RE: LDAP import users - Password issue Jonas Yuan April 29, 2011 10:53 AM
RE: LDAP import users - Password issue Brian Scott Schupbach April 29, 2011 11:47 AM
RE: LDAP import users - Password issue Brian Scott Schupbach May 3, 2011 7:30 AM
RE: LDAP import users - Password issue Jonas Yuan May 3, 2011 1:18 PM
RE: LDAP import users - Password issue Brian Scott Schupbach May 3, 2011 1:22 PM
RE: LDAP import users - Password issue Jonas Yuan May 3, 2011 2:56 PM
RE: LDAP import users - Password issue Brian Scott Schupbach May 3, 2011 7:01 PM
RE: LDAP import users - Password issue Jonas Yuan May 5, 2011 2:51 PM
RE: LDAP import users - Password issue Jonas Yuan May 9, 2011 11:08 AM
RE: LDAP import users - Password issue Brian Scott Schupbach May 9, 2011 12:11 PM
RE: LDAP import users - Password issue Harry Dobbala July 21, 2011 10:44 AM
RE: LDAP import users - Password issue Magda Ozana September 9, 2011 6:51 AM
RE: LDAP import users - Password issue Brian Scott Schupbach September 28, 2011 11:10 AM
RE: LDAP import users - Password issue Robert Kornmesser December 15, 2011 10:22 PM
RE: LDAP import users - Password issue Denis Signoretto August 6, 2012 3:00 AM
RE: LDAP import users - Password issue David Reifs August 9, 2012 3:27 AM
RE: LDAP import users - Password issue Jonas Yuan November 24, 2012 9:48 AM
RE: LDAP import users - Password issue Denis Signoretto November 26, 2012 12:08 AM
RE: LDAP import users - Password issue Jonas Yuan November 26, 2012 8:30 PM
RE: LDAP import users - Password issue Jorge Diniz December 19, 2012 8:24 AM
RE: LDAP import users - Password issue Jonas Yuan December 19, 2012 2:11 PM
Brian Scott Schupbach
LDAP import users - Password issue
April 29, 2011 6:51 AM
Answer

Brian Scott Schupbach

Rank: Expert

Posts: 329

Join Date: October 23, 2008

Recent Posts

Summary of what I want to accomplish: I need to disable auto generated passwords when a user is imported into liferay and instead import the LDAP password.

Users are being imported from LDAP and an auto generated password is being created for them. Unfortunately, I would like the passwords to be imported. I want to allow a user to use liferay to update their ldap password and then sync that with the ldap system.

I have set the following properties in my portal-ext.properties file:
ldap.import.user.password.enabled=true
ldap.import.user.password.autogenerat­ed=false

Unfortunately, it appears like these two properties are not yet working in version 6.0.6. Any ideas on how I can achieve what I need? I've heard that there is a patch coming out in version 6.1 but was wondering if anyone has already accomplished this? Your help would be greatly appreciated. Time is an issue and I'm not sure if I can wait for a patch.

Thanks,

Brian
Brian Scott Schupbach
RE: LDAP import users - Password issue
April 29, 2011 7:11 AM
Answer

Brian Scott Schupbach

Rank: Expert

Posts: 329

Join Date: October 23, 2008

Recent Posts

Looks like there are over a dozen posts about this same subject. Can someone from liferay respond? Is there a patch available? or will I have to roll back to a previous version to get this to work? Getting LDAP to work with liferay is a must.

http://www.liferay.com/community/forums/-/message_boards/message/7829374?_19_redirect=%2Fcommunity%2Fforums%2F-%2Fmessage_boards%2Fsearch%3F_19_redirect%3D%252Fcommunity%252Fforums%252F-%252Fmessage_boards%252Fcategory%252F239391%26_19_breadcrumbsCategoryId%3D239391%26_19_searchCategoryId%3D239391%26_19_keywords%3Dldap%2Bpassword

http://www.liferay.com/community/forums/-/message_boards/message/8410872?_19_preview=false

http://www.liferay.com/community/forums/-/message_boards/message/5488325?_19_redirect=%2Fcommunity%2Fforums%2F-%2Fmessage_boards%2Fsearch%3F_19_redirect%3D%252Fcommunity%252Fforums%252F-%252Fmessage_boards%252Fcategory%252F239391%26_19_breadcrumbsCategoryId%3D239391%26_19_searchCategoryId%3D239391%26_19_keywords%3Dldap%2Bpassword

http://www.liferay.com/community/forums/-/message_boards/message/4578697?_19_redirect=%2Fcommunity%2Fforums%2F-%2Fmessage_boards%2Fsearch%3F_19_redirect%3D%252Fcommunity%252Fforums%252F-%252Fmessage_boards%252Fcategory%252F239391%26_19_breadcrumbsCategoryId%3D239391%26_19_breadcrumbsMessageId%3D0%26_19_searchCategoryId%3D239391%26_19_threadId%3D0%26_19_keywords%3Dldap%2Bpassword%26_19_delta%3D20%26_19_advancedSearch%3Dfalse%26_19_andOperator%3Dtrue%26cur%3D3

http://www.liferay.com/community/forums/-/message_boards/message/6127550?_19_redirect=%2Fcommunity%2Fforums%2F-%2Fmessage_boards%2Fsearch%3F_19_redirect%3D%252Fcommunity%252Fforums%252F-%252Fmessage_boards%252Fcategory%252F239391%26_19_breadcrumbsCategoryId%3D239391%26_19_breadcrumbsMessageId%3D0%26_19_searchCategoryId%3D239391%26_19_threadId%3D0%26_19_keywords%3Dldap%2Bpassword%26_19_delta%3D20%26_19_advancedSearch%3Dfalse%26_19_andOperator%3Dtrue%26cur%3D3

http://www.liferay.com/community/forums/-/message_boards/message/7767801?_19_redirect=%2Fcommunity%2Fforums%2F-%2Fmessage_boards%2Fsearch%3F_19_redirect%3D%252Fcommunity%252Fforums%252F-%252Fmessage_boards%252Fcategory%252F239391%26_19_breadcrumbsCategoryId%3D239391%26_19_breadcrumbsMessageId%3D0%26_19_searchCategoryId%3D239391%26_19_threadId%3D0%26_19_keywords%3Dldap%2Bpassword%26_19_delta%3D20%26_19_advancedSearch%3Dfalse%26_19_andOperator%3Dtrue%26cur%3D3

http://www.liferay.com/community/forums/-/message_boards/message/6558219?_19_redirect=%2Fcommunity%2Fforums%2F-%2Fmessage_boards%2Fsearch%3F_19_redirect%3D%252Fcommunity%252Fforums%252F-%252Fmessage_boards%252Fcategory%252F239391%26_19_breadcrumbsCategoryId%3D239391%26_19_breadcrumbsMessageId%3D0%26_19_searchCategoryId%3D239391%26_19_threadId%3D0%26_19_keywords%3Dldap%2Bpassword%26_19_delta%3D20%26_19_advancedSearch%3Dfalse%26_19_andOperator%3Dtrue%26cur%3D4

http://www.liferay.com/community/forums/-/message_boards/message/7356413?_19_redirect=%2Fcommunity%2Fforums%2F-%2Fmessage_boards%2Fsearch%3F_19_redirect%3D%252Fcommunity%252Fforums%252F-%252Fmessage_boards%252Fcategory%252F239391%26_19_breadcrumbsCategoryId%3D239391%26_19_breadcrumbsMessageId%3D0%26_19_searchCategoryId%3D239391%26_19_threadId%3D0%26_19_keywords%3Dldap%2Bpassword%26_19_delta%3D20%26_19_advancedSearch%3Dfalse%26_19_andOperator%3Dtrue%26cur%3D5

http://www.liferay.com/community/forums/-/message_boards/message/748266?_19_redirect=%2Fcommunity%2Fforums%2F-%2Fmessage_boards%2Fsearch%3F_19_redirect%3D%252Fcommunity%252Fforums%252F-%252Fmessage_boards%252Fcategory%252F239391%26_19_breadcrumbsCategoryId%3D239391%26_19_searchCategoryId%3D239391%26_19_keywords%3Dldap%2Bpassword

http://www.liferay.com/community/forums/-/message_boards/message/4807447?_19_redirect=%2Fcommunity%2Fforums%2F-%2Fmessage_boards%2Fsearch%3F_19_redirect%3D%252Fcommunity%252Fforums%252F-%252Fmessage_boards%252Fcategory%252F239391%26_19_breadcrumbsCategoryId%3D239391%26_19_searchCategoryId%3D239391%26_19_keywords%3Dldap%2Bpassword


Do I need to roll back to a previous version in order for this to work?
http://www.liferay.com/community/forums/-/message_boards/message/7509233?_19_redirect=%2Fcommunity%2Fforums%2F-%2Fmessage_boards%2Fsearch%3F_19_redirect%3D%252Fcommunity%252Fforums%252F-%252Fmessage_boards%252Fcategory%252F239391%26_19_breadcrumbsCategoryId%3D239391%26_19_breadcrumbsMessageId%3D0%26_19_searchCategoryId%3D239391%26_19_threadId%3D0%26_19_keywords%3Dldap%2Bpassword%26_19_delta%3D20%26_19_advancedSearch%3Dfalse%26_19_andOperator%3Dtrue%26cur%3D10
Jonas Yuan
RE: LDAP import users - Password issue
April 29, 2011 10:53 AM
Answer

Jonas Yuan

Rank: Liferay Master

Posts: 993

Join Date: April 26, 2007

Recent Posts

Hi Brian, thanks.

I guess that this feature is in 6.0.6, but it is incomplete.

In fact one client used this patch in 6.0.10 EE, it was working well.

Do you use 6.0 EE? or just CE 6.0.6? if required, I can generated a fix patch for this feature in 6.0.6 for you.

Let me know your plan,

Thanks

Jonas Yuan
==================
The Author of Liferay Books:
Liferay User Interface Development
Liferay Portal 6 Enterprise Intranets
Liferay Portal 5.2 Systems Development
Liferay Portal Enterprise Intranets
Brian Scott Schupbach
RE: LDAP import users - Password issue
April 29, 2011 11:47 AM
Answer

Brian Scott Schupbach

Rank: Expert

Posts: 329

Join Date: October 23, 2008

Recent Posts

Thanks, Jonas. I really appreciate it. Right now we are using 6.0.6 CE but I'm pushing to get EE. Until that happens a patch would be fantastic. I'm setting up the system now and people are waiting to use it...they won't be able to until they can use their Active Directory Credentials.
Brian Scott Schupbach
RE: LDAP import users - Password issue
May 3, 2011 7:30 AM
Answer

Brian Scott Schupbach

Rank: Expert

Posts: 329

Join Date: October 23, 2008

Recent Posts

Hi Jonas,

I don't mean to rush you but have you gotten any word on the fix for 6.0.6?

Thanks,

Brian
Jonas Yuan
RE: LDAP import users - Password issue
May 3, 2011 1:18 PM
Answer

Jonas Yuan

Rank: Liferay Master

Posts: 993

Join Date: April 26, 2007

Recent Posts

Hi Brian,

I am trying to find some time slot to do the same, although my plate is over full.

Jonas Yuan
Brian Scott Schupbach
RE: LDAP import users - Password issue
May 3, 2011 1:22 PM
Answer

Brian Scott Schupbach

Rank: Expert

Posts: 329

Join Date: October 23, 2008

Recent Posts

Yeah, I understand that...thanks again for your help with this. It is MUCH appreciated.
Jonas Yuan
RE: LDAP import users - Password issue
May 3, 2011 2:56 PM
Answer

Jonas Yuan

Rank: Liferay Master

Posts: 993

Join Date: April 26, 2007

Recent Posts

Hi Brian,

Just verified CE 6.0.6. This feature is not available in 6.0.6.

http://www.liferay.com/web/jonas.yuan/blog/-/blogs/keeping-user-password-secure-with-ldap-integration

This feature is available in EE 6.0 or EE 6.0 SP1. Of course, it is available in CE 6.1.

I do have a fix patch for both EE 6.0 or EE 6.0 SP1. For 6.0.6, I have to generate a new fix patch and test it.

Please let me know your detailed plan.

Thanks

Jonas
Brian Scott Schupbach
RE: LDAP import users - Password issue
May 3, 2011 7:01 PM
Answer

Brian Scott Schupbach

Rank: Expert

Posts: 329

Join Date: October 23, 2008

Recent Posts

Hi Jonas,

I have 6.0.6 CE. It would be fantastic if I could get a fix. If there is anything I can do just let me know.

Thanks Jonas,

Brian
Jonas Yuan
RE: LDAP import users - Password issue
May 5, 2011 2:51 PM
Answer

Jonas Yuan

Rank: Liferay Master

Posts: 993

Join Date: April 26, 2007

Recent Posts

Hi Brian,

the fix patch for CE 6.0.6 GA 4 is ready. Just tested in 6.0.6 OOB. This feature worked properly.

Could you please drop an email to jonasliferay@gmail.com?

Thus this fix patch could be sent across by email

Thanks

Jonas Yuan
==================
The Author of Liferay Books:
Liferay User Interface Development
Liferay Portal 6 Enterprise Intranets
Liferay Portal 5.2 Systems Development
Liferay Portal Enterprise Intranets
Jonas Yuan
RE: LDAP import users - Password issue
May 9, 2011 11:08 AM
Answer

Jonas Yuan

Rank: Liferay Master

Posts: 993

Join Date: April 26, 2007

Recent Posts

Hi Brian,

Is the fix patch working well (for 6.0.6 GA4)?

It would be nice that you could update the same here.

Thanks

Jonas Yuan
Brian Scott Schupbach
RE: LDAP import users - Password issue
May 9, 2011 12:11 PM
Answer

Brian Scott Schupbach

Rank: Expert

Posts: 329

Join Date: October 23, 2008

Recent Posts

The patch is working great! Thank you again for making that available.
Harry Dobbala
RE: LDAP import users - Password issue
July 21, 2011 10:44 AM
Answer

Harry Dobbala

Rank: New Member

Posts: 1

Join Date: January 6, 2011

Recent Posts

Hi Jonas,

We are also facing the same problem as Brain. We are using the LDAP authentication and while importing the users from LDAP to liferay, autogenerated passowrds is being created. I am using lifeary 6.0.6 CE version. Could you please send fix patch for me also for below id
hari_dobbala@yahoo.co.in

It would be a very helpful for us otherwise we have to roll back to a previous version to get this to work.

Thanks,
Harry
Magda Ozana
RE: LDAP import users - Password issue
September 9, 2011 6:51 AM
Answer

Magda Ozana

Rank: New Member

Posts: 6

Join Date: June 23, 2010

Recent Posts

Hi Joans,
I have the same problem.I'm using Ldap authentification and liferay 6.0.6 CE version.Could you send please the fix patch at omogosanu@bestofdev.fr
Thanks,
Magda
Brian Scott Schupbach
RE: LDAP import users - Password issue
September 28, 2011 11:10 AM
Answer

Brian Scott Schupbach

Rank: Expert

Posts: 329

Join Date: October 23, 2008

Recent Posts

The patch is actually not working correctly....a user can login with ANY password. I didn't notice at first because I was using my ldap password to authenticate. I've now noticed that you can use someone's screen name and ANY password to get into the system.

Anyone have a fix? or a general idea as to where to look to correct this?
Robert Kornmesser
RE: LDAP import users - Password issue
December 15, 2011 10:22 PM
Answer

Robert Kornmesser

Rank: Junior Member

Posts: 39

Join Date: November 3, 2011

Recent Posts

Brian Scott Schupbach:
The patch is actually not working correctly....a user can login with ANY password


Exactly the same problem here with LR 6.1 Beta4 CE. Any1?
Denis Signoretto
RE: LDAP import users - Password issue
August 6, 2012 3:00 AM
Answer

Denis Signoretto

Rank: Expert

Posts: 307

Join Date: April 21, 2009

Recent Posts

Hi,

I'm testing this feature on Liferay 6.1.1 CE GA2.
I'm using this settings in portal-ext.properties but LDAP autentication fails while LDAP user and groups are successfully imported.

ldap.import.user.password.enabled=false
ldap.import.user.password.autogenerated=false
ldap.import.user.password.default=test


It seams related to this issue: http://issues.liferay.com/browse/LPS-25010

Can anyone confirm it. It's a still open issue or am I missing something?

Thanks,
Denis.
David Reifs
RE: LDAP import users - Password issue
August 9, 2012 3:27 AM
Answer

David Reifs

Rank: New Member

Posts: 3

Join Date: February 15, 2012

Recent Posts

Hi,

I've the same issue. Any idea to solve this?

thanks in advance,

david
Jonas Yuan
RE: LDAP import users - Password issue
November 24, 2012 9:48 AM
Answer

Jonas Yuan

Rank: Liferay Master

Posts: 993

Join Date: April 26, 2007

Recent Posts

@Denis, @David

http://issues.liferay.com/browse/LPS-25010 should fix the issue.

Do you get the same issue in 6.1 GA2?
Denis Signoretto
RE: LDAP import users - Password issue
November 26, 2012 12:08 AM
Answer

Denis Signoretto

Rank: Expert

Posts: 307

Join Date: April 21, 2009

Recent Posts

Jonas Yuan:
@Denis, @David

http://issues.liferay.com/browse/LPS-25010 should fix the issue.

Do you get the same issue in 6.1 GA2?



Hi Jonas,

I have the same issue in a 6.1.1 GA2 upgraded Liferay installation.

Thanks,
Denis.
Jonas Yuan
RE: LDAP import users - Password issue
November 26, 2012 8:30 PM
Answer

Jonas Yuan

Rank: Liferay Master

Posts: 993

Join Date: April 26, 2007

Recent Posts

Hi Denis,

The fix patch for 6.1 GA2 CE is ready.

Please drop an email to jonasliferay@gmail.com for the fix.

Thanks

Jonas Yuan
Jorge Diniz
RE: LDAP import users - Password issue
December 19, 2012 8:24 AM
Answer

Jorge Diniz

Rank: New Member

Posts: 9

Join Date: July 26, 2010

Recent Posts

Hi

Im also having issues regarding this question. My installation is liferay 6.1 GA2 and i cant login. Any fix for this?
Jonas Yuan
RE: LDAP import users - Password issue
December 19, 2012 2:11 PM
Answer

Jonas Yuan

Rank: Liferay Master

Posts: 993

Join Date: April 26, 2007

Recent Posts

Hi Jorge,

You may try the fix patch.

It would be nice that you could share your testing results.

Thanks

Jonas Yuan