LDAP issue in iDempiere 2.0

213 views
Skip to first unread message

Ray Lee

unread,
Feb 27, 2014, 10:33:41 AM2/27/14
to idem...@googlegroups.com
Is there anyone have same problem?

After upgrade iDempiere 2.0, my ldap validation not work.  
But, It work well in idempiere 1.0.
I try put log in Ldap.java to trace.  It seems didn't run Ldap.java yet. 

Best regards,
Ray

Ray Lee

unread,
Feb 27, 2014, 1:06:01 PM2/27/14
to idem...@googlegroups.com

After trace, I found the problem come from Login.java

Login.java , line 1338 need change 


if (valid ) {


to 


if (authenticated || valid ) {

.....
Ray Lee於 2014年2月27日星期四UTC+8下午11時33分41秒寫道:

Carlos Antonio Ruiz Gomez

unread,
Feb 27, 2014, 2:40:15 PM2/27/14
to idem...@googlegroups.com
Thanks Ray for the report and the feedback.

What I find strange is that line 1338 has not changed between 1.0 and 2.0

I see that Hiep opened and closed IDEMPIERE-1670
https://idempiere.atlassian.net/browse/IDEMPIERE-1670
Maybe is related too.

Regards,

Carlos Ruiz

Ray Lee

unread,
Feb 28, 2014, 9:41:14 AM2/28/14
to idem...@googlegroups.com
Dear  Carlos Antonio,

Thanks for your attention.

After I checked idempiere 1.0 source code, I found same problem. 
Before works, cause last year I fixed idempiere 1.0 Login.java in my local file.

I hope it will be helpful to you^^

Best regards,
Ray 

Carlos Antonio Ruiz Gómez於 2014年2月28日星期五UTC+8上午3時40分15秒寫道:

Hiep Lq

unread,
Mar 6, 2014, 4:07:32 AM3/6/14
to idem...@googlegroups.com

Hi Ray Lee.
what' code you fix? do you can share this fix?

Ray Lee

unread,
Mar 6, 2014, 4:34:13 AM3/6/14
to idem...@googlegroups.com
Dear Hiep,

I don't know how to commit source code to iDempiere repository . so, I attach files for you.

wish it's helpful you 

thanks 
Ray

Hiep Lq於 2014年3月6日星期四UTC+8下午5時07分32秒寫道:
Login.java
MUser.java

Ray Lee

unread,
Mar 6, 2014, 4:39:04 AM3/6/14
to idem...@googlegroups.com

Description in further.


Login.java , search keyword "jray".

MUser.java modified in line 985 , modified sql query .

Best regards,
Ray

Ray Lee於 2014年3月6日星期四UTC+8下午5時34分13秒寫道:

hie...@hasuvimex.vn

unread,
Mar 6, 2014, 5:20:22 AM3/6/14
to idem...@googlegroups.com
Thanks. For report error and attach fix bug or improve Ple‎ase use 

Sent from my BlackBerry 10 smartphone.
From: Ray Lee
Sent: 16:39 Thứ năm, ngày 6 tháng ba năm 2014
Subject: Re: [idempiere] Re: LDAP issue in iDempiere 2.0

--
You received this message because you are subscribed to the Google Groups "iDempiere" group.
To unsubscribe from this group and stop receiving emails from it, send an email to idempiere+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/idempiere/dec90d75-167f-4677-8922-b5779311b82b%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply all
Reply to author
Forward
0 new messages