michaelyin / openmeetings

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

First logging with LDAP #1223

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Hello,
First, sorry for my english but I have problem with LDAP and Active 
Directory authentication.

As server I am using Ubuntu 9.10 with OpenMeetings 1.2 RC1 (r3087) and 
client computer is Windows 7 with Internet Explorer.

When I want to login using my Active Directory account and password, there 
is window with choosing organizations on the screen. But the list with 
organizations is empty and when I select next, application fail(there is 
only Profile, Logout and Report Bug).
Is it any solution for this or is it possible set the default group id and 
automaticaly jump this step(that could be better)?

I need LDAP because we would like to deploy OpenMeeting in our schooll.

In openmeetings.log is first errors:

ERROR 04-28 16:54:09.134 Organisationmanagement.java 275099293 448 
org.openmeetings.app.data.user.Organisationmanagement [NioProcessor-1] - 
getOrganisation_UserByUserAndOrganisation 8  1

ERROR 04-28 16:54:09.137 Organisationmanagement.java 275099296 461 
org.openmeetings.app.data.user.Organisationmanagement [NioProcessor-1] - 
getOrganisation_UserByUserAndOrganisation: 0

ERROR 04-28 16:54:09.140 Organisationmanagement.java 275099299 416 
org.openmeetings.app.data.user.Organisationmanagement [NioProcessor-1] - 
org: Openmeetings

And at the end there is null pointer exception error:

ERROR 04-28 16:54:15.943 Usermanagement.java 275106102 803 
org.openmeetings.app.data.user.Usermanagement [NioProcessor-1] - 
[getUserLevelByID]
java.lang.NullPointerException: null
        at 
org.openmeetings.app.data.user.Usermanagement.getUserLevelByIdAndOrg
(Usermanagement.java:782) [openmeetings.jar:na]
        at org.openmeetings.app.remote.MainService.getNavi
(MainService.java:91) [openmeetings.jar:na]
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
[na:1.6.0_15]
        at sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.java:39) [na:1.6.0_15]
        at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:25) [na:1.6.0_15]
        at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_15]
        at org.red5.server.service.ServiceInvoker.invoke
(ServiceInvoker.java:200) [red5.jar:na]
        at org.red5.server.service.ServiceInvoker.invoke
(ServiceInvoker.java:118) [red5.jar:na]
        at org.red5.server.net.rtmp.RTMPHandler.invokeCall
(RTMPHandler.java:165) [red5.jar:na]
        at org.red5.server.net.rtmp.RTMPHandler.onInvoke
(RTMPHandler.java:418) [red5.jar:na]
        at org.red5.server.net.rtmp.BaseRTMPHandler.messageReceived
(BaseRTMPHandler.java:138) [red5.jar:na]
        at org.red5.server.net.rtmp.RTMPMinaIoHandler.messageReceived
(RTMPMinaIoHandler.java:180) [red5.jar:na]
        at 
org.apache.mina.core.filterchain.DefaultIoFilterChain$TailFilter.messageRec
eived(DefaultIoFilterChain.java:713) [mina-core-2.0.0-RC1.jar:na]
        at 
org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceiv
ed(DefaultIoFilterChain.java:434) [mina-core-2.0.0-RC1.jar:na]
        at 
org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1200
(DefaultIoFilterChain.java:46) [mina-core-2.0.0-RC1.jar:na]
        at 
org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageRe
ceived(DefaultIoFilterChain.java:793) [mina-core-2.0.0-RC1.jar:na]
        at org.red5.server.net.filter.TrafficShapingFilter.messageReceived
(TrafficShapingFilter.java:204) [red5.jar:na]
        at 
org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceiv
ed(DefaultIoFilterChain.java:434) [mina-core-2.0.0-RC1.jar:na]
        at 
org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1200
(DefaultIoFilterChain.java:46) [mina-core-2.0.0-RC1.jar:na]
        at 
org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageRe
ceived(DefaultIoFilterChain.java:793) [mina-core-2.0.0-RC1.jar:na]
        at 
org.apache.mina.filter.codec.ProtocolCodecFilter$ProtocolDecoderOutputImpl.
flush(ProtocolCodecFilter.java:375) [mina-core-2.0.0-RC1.jar:na]
        at org.apache.mina.filter.codec.ProtocolCodecFilter.messageReceived
(ProtocolCodecFilter.java:229) [mina-core-2.0.0-RC1.jar:na]
        at 
org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceiv
ed(DefaultIoFilterChain.java:434) [mina-core-2.0.0-RC1.jar:na]
        at 
org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1200
(DefaultIoFilterChain.java:46) [mina-core-2.0.0-RC1.jar:na]
        at 
org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageRe
ceived(DefaultIoFilterChain.java:793) [mina-core-2.0.0-RC1.jar:na]
        at org.apache.mina.core.filterchain.IoFilterAdapter.messageReceived
(IoFilterAdapter.java:119) [mina-core-2.0.0-RC1.jar:na]
        at 
org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceiv
ed(DefaultIoFilterChain.java:434) [mina-core-2.0.0-RC1.jar:na]
        at 
org.apache.mina.core.filterchain.DefaultIoFilterChain.fireMessageReceived
(DefaultIoFilterChain.java:426) [mina-core-2.0.0-RC1.jar:na]
        at org.apache.mina.core.polling.AbstractPollingIoProcessor.read
(AbstractPollingIoProcessor.java:638) [mina-core-2.0.0-RC1.jar:na]
        at org.apache.mina.core.polling.AbstractPollingIoProcessor.process
(AbstractPollingIoProcessor.java:598) [mina-core-2.0.0-RC1.jar:na]
        at org.apache.mina.core.polling.AbstractPollingIoProcessor.process
(AbstractPollingIoProcessor.java:587) [mina-core-2.0.0-RC1.jar:na]
        at 
org.apache.mina.core.polling.AbstractPollingIoProcessor.access$400
(AbstractPollingIoProcessor.java:61) [mina-core-2.0.0-RC1.jar:na]
        at 
org.apache.mina.core.polling.AbstractPollingIoProcessor$Processor.run
(AbstractPollingIoProcessor.java:969) [mina-core-2.0.0-RC1.jar:na]
        at org.apache.mina.util.NamePreservingRunnable.run
(NamePreservingRunnable.java:64) [mina-core-2.0.0-RC1.jar:na]
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask
(ThreadPoolExecutor.java:886) [na:1.6.0_15]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run
(ThreadPoolExecutor.java:908) [na:1.6.0_15]
        at java.lang.Thread.run(Thread.java:619) [na:1.6.0_15]
ERROR 04-28 16:54:15.945 MainService.java 275106104 95 
org.openmeetings.app.remote.MainService [NioProcessor-1] - [getNavi]
java.lang.NullPointerException: null
        at org.openmeetings.app.remote.MainService.getNavi
(MainService.java:93) [openmeetings.jar:na]
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
[na:1.6.0_15]
        at sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.java:39) [na:1.6.0_15]
        at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:25) [na:1.6.0_15]
        at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_15]
        at org.red5.server.service.ServiceInvoker.invoke
(ServiceInvoker.java:200) [red5.jar:na]
        at org.red5.server.service.ServiceInvoker.invoke
(ServiceInvoker.java:118) [red5.jar:na]
        at org.red5.server.net.rtmp.RTMPHandler.invokeCall
(RTMPHandler.java:165) [red5.jar:na]
        at org.red5.server.net.rtmp.RTMPHandler.onInvoke
(RTMPHandler.java:418) [red5.jar:na]
        at org.red5.server.net.rtmp.BaseRTMPHandler.messageReceived
(BaseRTMPHandler.java:138) [red5.jar:na]
        at org.red5.server.net.rtmp.RTMPMinaIoHandler.messageReceived
(RTMPMinaIoHandler.java:180) [red5.jar:na]
        at 
org.apache.mina.core.filterchain.DefaultIoFilterChain$TailFilter.messageRec
eived(DefaultIoFilterChain.java:713) [mina-core-2.0.0-RC1.jar:na]
        at 
org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceiv
ed(DefaultIoFilterChain.java:434) [mina-core-2.0.0-RC1.jar:na]
        at 
org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1200
(DefaultIoFilterChain.java:46) [mina-core-2.0.0-RC1.jar:na]
        at 
org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageRe
ceived(DefaultIoFilterChain.java:793) [mina-core-2.0.0-RC1.jar:na]
        at org.red5.server.net.filter.TrafficShapingFilter.messageReceived
(TrafficShapingFilter.java:204) [red5.jar:na]
        at 
org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceiv
ed(DefaultIoFilterChain.java:434) [mina-core-2.0.0-RC1.jar:na]
        at 
org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1200
(DefaultIoFilterChain.java:46) [mina-core-2.0.0-RC1.jar:na]
        at 
org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageRe
ceived(DefaultIoFilterChain.java:793) [mina-core-2.0.0-RC1.jar:na]
        at 
org.apache.mina.filter.codec.ProtocolCodecFilter$ProtocolDecoderOutputImpl.
flush(ProtocolCodecFilter.java:375) [mina-core-2.0.0-RC1.jar:na]
        at org.apache.mina.filter.codec.ProtocolCodecFilter.messageReceived
(ProtocolCodecFilter.java:229) [mina-core-2.0.0-RC1.jar:na]
        at 
org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceiv
ed(DefaultIoFilterChain.java:434) [mina-core-2.0.0-RC1.jar:na]
        at 
org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1200
(DefaultIoFilterChain.java:46) [mina-core-2.0.0-RC1.jar:na]
        at 
org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageRe
ceived(DefaultIoFilterChain.java:793) [mina-core-2.0.0-RC1.jar:na]
        at org.apache.mina.core.filterchain.IoFilterAdapter.messageReceived
(IoFilterAdapter.java:119) [mina-core-2.0.0-RC1.jar:na]
        at 
org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceiv
ed(DefaultIoFilterChain.java:434) [mina-core-2.0.0-RC1.jar:na]
        at 
org.apache.mina.core.filterchain.DefaultIoFilterChain.fireMessageReceived
(DefaultIoFilterChain.java:426) [mina-core-2.0.0-RC1.jar:na]
        at org.apache.mina.core.polling.AbstractPollingIoProcessor.read
(AbstractPollingIoProcessor.java:638) [mina-core-2.0.0-RC1.jar:na]
        at org.apache.mina.core.polling.AbstractPollingIoProcessor.process
(AbstractPollingIoProcessor.java:598) [mina-core-2.0.0-RC1.jar:na]
        at org.apache.mina.core.polling.AbstractPollingIoProcessor.process
(AbstractPollingIoProcessor.java:587) [mina-core-2.0.0-RC1.jar:na]
        at 
org.apache.mina.core.polling.AbstractPollingIoProcessor.access$400
(AbstractPollingIoProcessor.java:61) [mina-core-2.0.0-RC1.jar:na]
        at 
org.apache.mina.core.polling.AbstractPollingIoProcessor$Processor.run
(AbstractPollingIoProcessor.java:969) [mina-core-2.0.0-RC1.jar:na]
        at org.apache.mina.util.NamePreservingRunnable.run
(NamePreservingRunnable.java:64) [mina-core-2.0.0-RC1.jar:na]
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask
(ThreadPoolExecutor.java:886) [na:1.6.0_15]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run
(ThreadPoolExecutor.java:908) [na:1.6.0_15]
        at java.lang.Thread.run(Thread.java:619) [na:1.6.0_15]

Thanks for any response.

Original issue reported on code.google.com by ondrej.m...@hotmail.com on 28 Apr 2010 at 3:27

Attachments:

GoogleCodeExporter commented 9 years ago
hola,

does this error only occur on first login of a user? could you check, if this 
user is
assigned to a organization within database? (After creating a user within LDAP 
auth
locally he should get assigned to the Default org)

-> there already were issues concering that topic (Ldap login -> Organizations 
emtpy
after first login)

see ya

Smoeker

Original comment by i...@oliver-becherer.name on 29 Apr 2010 at 6:20

GoogleCodeExporter commented 9 years ago
Hello,
Yes the problem is only with first login. I check table organisation_users and 
user 
was added with group id 1.
I read some topics about ldap here, but there isn't any solution for this 
problem.
Is it possible give me links on that topics which you mean?

Thanks a lot. Andrew

Original comment by ondrej.m...@hotmail.com on 29 Apr 2010 at 1:28

GoogleCodeExporter commented 9 years ago
Issue 1225 has been merged into this issue.

Original comment by seba.wag...@gmail.com on 2 May 2010 at 9:36

GoogleCodeExporter commented 9 years ago
default organization for openldap user is not come in latest open meetings  
http://openmeetings.googlecode.com/files/openmeetings_1_8_7_r4518.zip  .
it has the same problem that no default organization after user Login using 
ldap authentication . screenshot is attached

Original comment by rakesh8...@gmail.com on 10 Nov 2011 at 9:42

Attachments:

GoogleCodeExporter commented 9 years ago
I also had this problem. If I remember it right (i am sorry - i figured this 
out more than a year ago) there is still something wrong with your ldap 
configuration. check this again

Original comment by SFree...@gmail.com on 10 Nov 2011 at 10:06

GoogleCodeExporter commented 9 years ago
Check for blank lines in the end of om_ldap.cfg

Original comment by darkstri...@gmail.com on 10 Nov 2011 at 1:12

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