Foros de discusión

LDAP import users - Password issue

thumbnail
Brian Scott Schupbach, modificado hace 12 años.

LDAP import users - Password issue

Expert Mensajes: 329 Fecha de incorporación: 23/10/08 Mensajes recientes
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
thumbnail
Brian Scott Schupbach, modificado hace 12 años.

RE: LDAP import users - Password issue

Expert Mensajes: 329 Fecha de incorporación: 23/10/08 Mensajes recientes
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
thumbnail
Jonas Yuan, modificado hace 12 años.

RE: LDAP import users - Password issue

Liferay Master Mensajes: 993 Fecha de incorporación: 27/04/07 Mensajes recientes
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
thumbnail
Brian Scott Schupbach, modificado hace 12 años.

RE: LDAP import users - Password issue

Expert Mensajes: 329 Fecha de incorporación: 23/10/08 Mensajes recientes
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.
thumbnail
Brian Scott Schupbach, modificado hace 12 años.

RE: LDAP import users - Password issue

Expert Mensajes: 329 Fecha de incorporación: 23/10/08 Mensajes recientes
Hi Jonas,

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

Thanks,

Brian
thumbnail
Jonas Yuan, modificado hace 12 años.

RE: LDAP import users - Password issue

Liferay Master Mensajes: 993 Fecha de incorporación: 27/04/07 Mensajes recientes
Hi Brian,

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

Jonas Yuan
thumbnail
Brian Scott Schupbach, modificado hace 12 años.

RE: LDAP import users - Password issue

Expert Mensajes: 329 Fecha de incorporación: 23/10/08 Mensajes recientes
Yeah, I understand that...thanks again for your help with this. It is MUCH appreciated.
thumbnail
Jonas Yuan, modificado hace 12 años.

RE: LDAP import users - Password issue

Liferay Master Mensajes: 993 Fecha de incorporación: 27/04/07 Mensajes recientes
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
thumbnail
Brian Scott Schupbach, modificado hace 12 años.

RE: LDAP import users - Password issue

Expert Mensajes: 329 Fecha de incorporación: 23/10/08 Mensajes recientes
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
thumbnail
Jonas Yuan, modificado hace 12 años.

RE: LDAP import users - Password issue

Liferay Master Mensajes: 993 Fecha de incorporación: 27/04/07 Mensajes recientes
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
thumbnail
Jonas Yuan, modificado hace 12 años.

RE: LDAP import users - Password issue

Liferay Master Mensajes: 993 Fecha de incorporación: 27/04/07 Mensajes recientes
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
thumbnail
Brian Scott Schupbach, modificado hace 12 años.

RE: LDAP import users - Password issue

Expert Mensajes: 329 Fecha de incorporación: 23/10/08 Mensajes recientes
The patch is working great! Thank you again for making that available.
Harry Dobbala, modificado hace 12 años.

RE: LDAP import users - Password issue

New Member Mensaje: 1 Fecha de incorporación: 6/01/11 Mensajes recientes
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, modificado hace 12 años.

RE: LDAP import users - Password issue

New Member Mensajes: 6 Fecha de incorporación: 23/06/10 Mensajes recientes
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
thumbnail
Brian Scott Schupbach, modificado hace 12 años.

RE: LDAP import users - Password issue

Expert Mensajes: 329 Fecha de incorporación: 23/10/08 Mensajes recientes
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, modificado hace 12 años.

RE: LDAP import users - Password issue

Junior Member Mensajes: 39 Fecha de incorporación: 3/11/11 Mensajes recientes
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?
thumbnail
Denis Signoretto, modificado hace 11 años.

RE: LDAP import users - Password issue

Expert Mensajes: 375 Fecha de incorporación: 21/04/09 Mensajes recientes
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, modificado hace 11 años.

RE: LDAP import users - Password issue

New Member Mensajes: 3 Fecha de incorporación: 15/02/12 Mensajes recientes
Hi,

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

thanks in advance,

david
thumbnail
Jonas Yuan, modificado hace 11 años.

RE: LDAP import users - Password issue

Liferay Master Mensajes: 993 Fecha de incorporación: 27/04/07 Mensajes recientes
@Denis, @David

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

Do you get the same issue in 6.1 GA2?
thumbnail
Denis Signoretto, modificado hace 11 años.

RE: LDAP import users - Password issue

Expert Mensajes: 375 Fecha de incorporación: 21/04/09 Mensajes recientes
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.
thumbnail
Jonas Yuan, modificado hace 11 años.

RE: LDAP import users - Password issue

Liferay Master Mensajes: 993 Fecha de incorporación: 27/04/07 Mensajes recientes
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, modificado hace 11 años.

RE: LDAP import users - Password issue

New Member Mensajes: 9 Fecha de incorporación: 26/07/10 Mensajes recientes
Hi

Im also having issues regarding this question. My installation is liferay 6.1 GA2 and i cant login. Any fix for this?
thumbnail
Jonas Yuan, modificado hace 11 años.

RE: LDAP import users - Password issue

Liferay Master Mensajes: 993 Fecha de incorporación: 27/04/07 Mensajes recientes
Hi Jorge,

You may try the fix patch.

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

Thanks

Jonas Yuan