hoangduit / openmeetings

Automatically exported from code.google.com/p/openmeetings
0 stars 0 forks source link

LDAP Authentication does not allow for changing auth type at run time. #687

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Which version of OpenMeetings are you running?

Patch provided is for Subversion 1981

What's your operating system on client and server side?
Windows XP SP3

Is it a problem related to the client/usability or server-side?

Server side Ldap Authentication has two issues.

1 - Failure to have ldap_admin defined in the config file results in all
authentications failing.  This is due to line LdapAuthBase.java:96 
(ldap_admin !=null || ldap_admin.length() < 1)  the test is not short
circuited and the length() call is attempted on the null string.

2 - There is no way to set the Authentication to "none" from the config
file.  I added a parameter "ldap_auth_type" to the config file for setting
the ldap authentication type.  The value read from the config file is
checked to ensure that it is a supported type (added static method
LdapAuthBase.isValidAuthType) and sets to simple if it is not a valid value.

Server side loging:
browser your Red5-Home directory. There's a log-file directory. On linux
boxes you can run red5 using:
nohup ./red5.sh &
and debug output will be written to nohup.out

please attach any debug output to get a patch on time

I have attached a patch.

Original issue reported on code.google.com by fields.trevor@gmail.com on 7 Apr 2009 at 9:00

Attachments:

GoogleCodeExporter commented 9 years ago
hola,

i couldnt apply your patch within my IDE, so i took over the changes manually...

see ya

Smoeker

Original comment by i...@oliver-becherer.name on 14 Apr 2009 at 2:22

GoogleCodeExporter commented 9 years ago

Original comment by seba.wag...@gmail.com on 31 Jan 2012 at 12:23

GoogleCodeExporter commented 9 years ago
OpenMeetings moves to Apache Foundation, update your bookmarks to the new 
project page:

http://incubator.apache.org/openmeetings/

New Issue tracker is located: https://issues.apache.org/jira/browse/OPENMEETINGS

New Mailing Lists located at: 
http://incubator.apache.org/openmeetings/mail-lists.html 

Original comment by seba.wag...@gmail.com on 31 Jan 2012 at 12:25