Uploaded image for project: 'Openmeetings'
  1. Openmeetings
  2. OPENMEETINGS-595

LDAP Authentication getUserLevelByID ERROR

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Cannot Reproduce
    • 3.0.0
    • None
    • Builds
    • Openmeeting 3.0
      LDAP Authentication enable
      Active Directory WindowServer2008 R2

    Description

      Hi OM Dev. Team,
      I've some problem. I config my OM authen by LDAP (Active Directory WindowServer2008 R2)
      OMUser can be login but menubar can't display. Can you help me, pls?

      I have been set default organisation_id but it is null in log.

      [INFO] [NioProcessor-2] org.red5.server.net.rtmp.codec.RTMPProtocolDecoder - Action setUsernameAndSession
      DEBUG 04-04 11:17:33.571 Usermanagement.java 81791 1505 org.openmeetings.app.data.user.Usermanagement [NioProcessor-2] - Usermanagement.getUserById
      [INFO] [NioProcessor-2] org.red5.server.net.rtmp.codec.RTMPProtocolDecoder - Action xmlcrm.getNavi
      DEBUG 04-04 11:17:33.696 Usermanagement.java 81916 770 org.openmeetings.app.data.user.Usermanagement [NioProcessor-2] - user_id, organisation_id26, null
      ERROR 04-04 11:17:33.711 Usermanagement.java 81931 794 org.openmeetings.app.data.user.Usermanagement [NioProcessor-2] - [getUserLevelByID]
      java.lang.NullPointerException: null

      this 's my ldap config
      ********************************
      ldap_server_type=AD
      ldap_conn_url=ldap://my.ad:389
      ldap_admin_dn=admin@my.ad
      ldap_passwd=***********
      ldap_search_base=DC:my,DC:ad
      field_user_principal=userPrincipalName
      ldap_auth_type=SIMPLE
      ldap_sync_password_to_om=yes
      ldap_user_attr_lastname=sn
      ldap_user_attr_firstname=givenName
      ldap_user_attr_mail=mail
      ldap_user_attr_street=streetAddress
      ldap_user_attr_additionalname=description
      ldap_user_attr_fax=facsimileTelephoneNumber
      ldap_user_attr_zip=postalCode
      ldap_user_attr_country=co
      ldap_user_attr_town=l
      ldap_user_attr_phone=telephoneNumber
      ldap_use_lower_case=true
      ********************************

      my error log
      ********************************
      [INFO] [NioProcessor-2] org.red5.server.net.rtmp.codec.RTMPProtocolDecoder - Action xmlcrm.getTimeZones
      [INFO] [NioProcessor-2] org.red5.server.net.rtmp.codec.RTMPProtocolDecoder - Action xmlcrm.getGeneralOptions
      [INFO] [NioProcessor-2] org.red5.server.net.rtmp.codec.RTMPProtocolDecoder - Action userservice.getUserSalutations
      [INFO] [NioProcessor-2] org.red5.server.net.rtmp.codec.RTMPProtocolDecoder - Action xmlcrm.loginByRemember
      ERROR 04-04 11:16:57.753 Sessionmanagement.java 45973 107 org.openmeetings.app.data.basic.Sessionmanagement [NioProcessor-2] - Could not find session to update:
      [INFO] [NioProcessor-2] org.red5.server.net.rtmp.codec.RTMPProtocolDecoder - Action ldapconfigservice.getActiveLdapConfigs
      [INFO] [NioProcessor-2] org.red5.server.net.rtmp.codec.RTMPProtocolDecoder - Action xmlcrm.getLoginOptions
      [INFO] [NioProcessor-2] org.red5.server.net.rtmp.codec.RTMPProtocolDecoder - Action xmlcrm.loginUser
      WARN 04-04 11:17:31.839 MainService.java 80059 302 org.openmeetings.app.remote.MainService [NioProcessor-2] - loginUser: 47d6cc3f7e05e0de34e5d37b42e11597 choosak.r
      DEBUG 04-04 11:17:32.011 Usermanagement.java 80231 1556 org.openmeetings.app.data.user.Usermanagement [NioProcessor-2] - Usermanagement.getUserByLogin : choosak.r@my.ad
      DEBUG 04-04 11:17:32.136 Usermanagement.java 80356 1640 org.openmeetings.app.data.user.Usermanagement [NioProcessor-2] - Usermanagement.getUserByLogin
      [INFO] [NioProcessor-2] org.red5.server.net.rtmp.codec.RTMPProtocolDecoder - Action xmlcrm.setCurrentUserOrganization
      [INFO] [NioProcessor-2] org.red5.server.net.rtmp.codec.RTMPProtocolDecoder - Action languageservice.getLanguageByIdAndMax
      [INFO] [NioProcessor-2] org.red5.server.net.rtmp.codec.RTMPProtocolDecoder - Action languageservice.getLanguageByIdAndMax
      [INFO] [NioProcessor-2] org.red5.server.net.rtmp.codec.RTMPProtocolDecoder - Action languageservice.getLanguageByIdAndMax
      [INFO] [NioProcessor-2] org.red5.server.net.rtmp.codec.RTMPProtocolDecoder - Action languageservice.getLanguageByIdAndMax
      [INFO] [NioProcessor-2] org.red5.server.net.rtmp.codec.RTMPProtocolDecoder - Action languageservice.getLanguageByIdAndMax
      [INFO] [NioProcessor-2] org.red5.server.net.rtmp.codec.RTMPProtocolDecoder - Action languageservice.getLanguageByIdAndMax
      [INFO] [NioProcessor-2] org.red5.server.net.rtmp.codec.RTMPProtocolDecoder - Action languageservice.getLanguageByIdAndMax
      [INFO] [NioProcessor-2] org.red5.server.net.rtmp.codec.RTMPProtocolDecoder - Action languageservice.getLanguageByIdAndMax
      [INFO] [NioProcessor-2] org.red5.server.net.rtmp.codec.RTMPProtocolDecoder - Action languageservice.getLanguageByIdAndMax
      [INFO] [NioProcessor-2] org.red5.server.net.rtmp.codec.RTMPProtocolDecoder - Action languageservice.getLanguageByIdAndMax
      [INFO] [NioProcessor-2] org.red5.server.net.rtmp.codec.RTMPProtocolDecoder - Action languageservice.getLanguageByIdAndMax
      [INFO] [NioProcessor-2] org.red5.server.net.rtmp.codec.RTMPProtocolDecoder - Action languageservice.getLanguageByIdAndMax
      [INFO] [NioProcessor-2] org.red5.server.net.rtmp.codec.RTMPProtocolDecoder - Action languageservice.getLanguageByIdAndMax
      [INFO] [NioProcessor-2] org.red5.server.net.rtmp.codec.RTMPProtocolDecoder - Action languageservice.getLanguageByIdAndMax
      [INFO] [NioProcessor-2] org.red5.server.net.rtmp.codec.RTMPProtocolDecoder - Action languageservice.getLanguageByIdAndMax
      [INFO] [NioProcessor-2] org.red5.server.net.rtmp.codec.RTMPProtocolDecoder - Action languageservice.getLanguageByIdAndMax
      [INFO] [NioProcessor-2] org.red5.server.net.rtmp.codec.RTMPProtocolDecoder - Action languageservice.getLanguageByIdAndMax
      [INFO] [NioProcessor-2] org.red5.server.net.rtmp.codec.RTMPProtocolDecoder - Action conferenceservice.getRoomTypes
      [INFO] [NioProcessor-2] org.red5.server.net.rtmp.codec.RTMPProtocolDecoder - Action setUsernameAndSession
      DEBUG 04-04 11:17:33.571 Usermanagement.java 81791 1505 org.openmeetings.app.data.user.Usermanagement [NioProcessor-2] - Usermanagement.getUserById
      [INFO] [NioProcessor-2] org.red5.server.net.rtmp.codec.RTMPProtocolDecoder - Action xmlcrm.getNavi
      DEBUG 04-04 11:17:33.696 Usermanagement.java 81916 770 org.openmeetings.app.data.user.Usermanagement [NioProcessor-2] - user_id, organisation_id26, null
      ERROR 04-04 11:17:33.711 Usermanagement.java 81931 794 org.openmeetings.app.data.user.Usermanagement [NioProcessor-2] - [getUserLevelByID]
      java.lang.NullPointerException: null
      at org.openmeetings.app.data.user.Usermanagement.getUserLevelByIdAndOrg(Usermanagement.java:773) ~[openmeetings-2.0.0-RELEASE.jar:na]
      at org.openmeetings.app.data.user.Usermanagement$$FastClassByCGLIB$$f76e8fdc.invoke(<generated>) [cglib-jar-2.2.2.jar:na]
      at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204) [cglib-jar-2.2.2.jar:na]
      at org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:689) [spring-aop-3.1.1.RELEASE.jar:3.1.1.RELEASE]
      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) [spring-aop-3.1.1.RELEASE.jar:3.1.1.RELEASE]
      at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110) [org.springframework.transaction-jar-3.1.1.RELEASE.jar:3.1.1.RELEASE]
      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) [spring-aop-3.1.1.RELEASE.jar:3.1.1.RELEASE]
      at org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:622) [spring-aop-3.1.1.RELEASE.jar:3.1.1.RELEASE]
      at org.openmeetings.app.data.user.Usermanagement$$EnhancerByCGLIB$$374f89e4.getUserLevelByIdAndOrg(<generated>) [cglib-jar-2.2.2.jar:na]
      at org.openmeetings.app.remote.MainService.getNavi(MainService.java:132) [openmeetings-2.0.0-RELEASE.jar:na]
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.6.0_39]
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) ~[na:1.6.0_39]
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) ~[na:1.6.0_39]
      at java.lang.reflect.Method.invoke(Method.java:597) ~[na:1.6.0_39]
      at org.red5.server.service.ServiceInvoker.invoke(ServiceInvoker.java:196) [red5.jar:na]
      at org.red5.server.service.ServiceInvoker.invoke(ServiceInvoker.java:115) [red5.jar:na]
      at org.red5.server.net.rtmp.RTMPHandler.invokeCall(RTMPHandler.java:157) [red5.jar:na]
      at org.red5.server.net.rtmp.RTMPHandler.onInvoke(RTMPHandler.java:399) [red5.jar:na]
      at org.red5.server.net.rtmp.BaseRTMPHandler.messageReceived(BaseRTMPHandler.java:130) [red5.jar:na]
      at org.red5.server.net.rtmp.RTMPMinaIoHandler.messageReceived(RTMPMinaIoHandler.java:164) [red5.jar:na]
      at org.apache.mina.core.filterchain.DefaultIoFilterChain$TailFilter.messageReceived(DefaultIoFilterChain.java:716) [mina-core-2.0.4.jar:na]
      at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:434) [mina-core-2.0.4.jar:na]
      at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1200(DefaultIoFilterChain.java:46) [mina-core-2.0.4.jar:na]
      at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:796) [mina-core-2.0.4.jar:na]
      at org.apache.mina.filter.codec.ProtocolCodecFilter$ProtocolDecoderOutputImpl.flush(ProtocolCodecFilter.java:427) [mina-core-2.0.4.jar:na]
      at org.apache.mina.filter.codec.ProtocolCodecFilter.messageReceived(ProtocolCodecFilter.java:245) [mina-core-2.0.4.jar:na]
      at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:434) [mina-core-2.0.4.jar:na]
      at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1200(DefaultIoFilterChain.java:46) [mina-core-2.0.4.jar:na]
      at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:796) [mina-core-2.0.4.jar:na]
      at org.red5.server.net.rtmpe.RTMPEIoFilter.messageReceived(RTMPEIoFilter.java:124) [red5.jar:na]
      at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:434) [mina-core-2.0.4.jar:na]
      at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1200(DefaultIoFilterChain.java:46) [mina-core-2.0.4.jar:na]
      at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:796) [mina-core-2.0.4.jar:na]
      at org.apache.mina.core.filterchain.IoFilterAdapter.messageReceived(IoFilterAdapter.java:119) [mina-core-2.0.4.jar:na]
      at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:434) [mina-core-2.0.4.jar:na]
      at org.apache.mina.core.filterchain.DefaultIoFilterChain.fireMessageReceived(DefaultIoFilterChain.java:426) [mina-core-2.0.4.jar:na]
      at org.apache.mina.core.polling.AbstractPollingIoProcessor.read(AbstractPollingIoProcessor.java:715) [mina-core-2.0.4.jar:na]
      at org.apache.mina.core.polling.AbstractPollingIoProcessor.process(AbstractPollingIoProcessor.java:668) [mina-core-2.0.4.jar:na]
      at org.apache.mina.core.polling.AbstractPollingIoProcessor.process(AbstractPollingIoProcessor.java:657) [mina-core-2.0.4.jar:na]
      at org.apache.mina.core.polling.AbstractPollingIoProcessor.access$600(AbstractPollingIoProcessor.java:68) [mina-core-2.0.4.jar:na]
      at org.apache.mina.core.polling.AbstractPollingIoProcessor$Processor.run(AbstractPollingIoProcessor.java:1141) [mina-core-2.0.4.jar:na]
      at org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java:64) [mina-core-2.0.4.jar:na]
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895) [na:1.6.0_39]
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918) [na:1.6.0_39]
      at java.lang.Thread.run(Thread.java:662) [na:1.6.0_39]
      ERROR 04-04 11:17:33.711 MainService.java 81931 137 org.openmeetings.app.remote.MainService [NioProcessor-2] - [getNavi]
      java.lang.NullPointerException: null
      at org.openmeetings.app.remote.MainService.getNavi(MainService.java:135) ~[openmeetings-2.0.0-RELEASE.jar:na]
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.6.0_39]
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) ~[na:1.6.0_39]
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) ~[na:1.6.0_39]
      at java.lang.reflect.Method.invoke(Method.java:597) ~[na:1.6.0_39]
      at org.red5.server.service.ServiceInvoker.invoke(ServiceInvoker.java:196) [red5.jar:na]
      at org.red5.server.service.ServiceInvoker.invoke(ServiceInvoker.java:115) [red5.jar:na]
      at org.red5.server.net.rtmp.RTMPHandler.invokeCall(RTMPHandler.java:157) [red5.jar:na]
      at org.red5.server.net.rtmp.RTMPHandler.onInvoke(RTMPHandler.java:399) [red5.jar:na]
      at org.red5.server.net.rtmp.BaseRTMPHandler.messageReceived(BaseRTMPHandler.java:130) [red5.jar:na]
      at org.red5.server.net.rtmp.RTMPMinaIoHandler.messageReceived(RTMPMinaIoHandler.java:164) [red5.jar:na]
      at org.apache.mina.core.filterchain.DefaultIoFilterChain$TailFilter.messageReceived(DefaultIoFilterChain.java:716) [mina-core-2.0.4.jar:na]
      at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:434) [mina-core-2.0.4.jar:na]
      at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1200(DefaultIoFilterChain.java:46) [mina-core-2.0.4.jar:na]
      at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:796) [mina-core-2.0.4.jar:na]
      at org.apache.mina.filter.codec.ProtocolCodecFilter$ProtocolDecoderOutputImpl.flush(ProtocolCodecFilter.java:427) [mina-core-2.0.4.jar:na]
      at org.apache.mina.filter.codec.ProtocolCodecFilter.messageReceived(ProtocolCodecFilter.java:245) [mina-core-2.0.4.jar:na]
      at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:434) [mina-core-2.0.4.jar:na]
      at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1200(DefaultIoFilterChain.java:46) [mina-core-2.0.4.jar:na]
      at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:796) [mina-core-2.0.4.jar:na]
      at org.red5.server.net.rtmpe.RTMPEIoFilter.messageReceived(RTMPEIoFilter.java:124) [red5.jar:na]

      Attachments

        Activity

          People

            swagner Steve R Wagner
            r.choosak Choosak Rangmai
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: