it seems like OpenMeetings is unable to fetch the user from the LDAP
to simulate the user in OpenMeetings:
LdapLoginManagement [NioProcessor-1] - Error on Ldap request - no
result for user username@domain
=> Means this line of code:
http://code.google.com/p/openmeetings/source/browse/trunk/singlewebapp/src/app/org/openmeetings/app/ldap/LdapLoginManagement.java#451
This fails:
Vector<HashMap<String, String>> result = lAuth.getData(
ldap_search_scope,
ldap_search_filter, attributes);
result is NULL
Can you verify that you get a valid response from the LDAP server in
the fetch of the user?
Sebastian
2011/9/15 João Vitor Arruda <joao....@gmail.com>
> --
> You received this message because you are subscribed to the Google Groups "OpenMeetings User" group.
> To view this discussion on the web visit https://groups.google.com/d/msg/openmeetings-user/-/ltsvPe8Cb44J.
> To post to this group, send email to openmeet...@googlegroups.com.
> To unsubscribe from this group, send email to openmeetings-u...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/openmeetings-user?hl=en.
--
Sebastian Wagner
http://www.webbase-design.de
http://openmeetings.googlecode.com
http://www.wagner-sebastian.com
seba....@gmail.com
Sebastian
2011/9/15 João Vitor Arruda <joao....@gmail.com>:
> --
> You received this message because you are subscribed to the Google Groups
> "OpenMeetings User" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/openmeetings-user/-/d57YimuQgkQJ.
But if you compare those two revision of the file:
http://code.google.com/p/openmeetings/source/diff?spec=svn4243&r=3924&format=side&path=/trunk/singlewebapp/src/app/org/openmeetings/app/ldap/LdapLoginManagement.java&old_path=/trunk/singlewebapp/src/app/org/openmeetings/app/ldap/LdapLoginManagement.java&old=4243#sc_svn4243_447
There is no difference about the application logic in this area.
Sebastian
2011/9/15 João Vitor Arruda <joao....@gmail.com>:
> --
> You received this message because you are subscribed to the Google Groups
> "OpenMeetings User" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/openmeetings-user/-/cksXdtEkIccJ.
[INFO] [NioProcessor-1] org.red5.server.net.rtmp.codec.RTMPProtocolDecoder - Action xmlcrm.getStates
[INFO] [NioProcessor-1] org.red5.server.net.rtmp.codec.RTMPProtocolDecoder - Action xmlcrm.getTimeZones
[INFO] [NioProcessor-1] org.red5.server.net.rtmp.codec.RTMPProtocolDecoder - Action userservice.getUserSalutations
[INFO] [NioProcessor-1] org.red5.server.net.rtmp.codec.RTMPProtocolDecoder - Action xmlcrm.loginByRemember
DEBUG 09-18 13:53:53.581 Sessionmanagement.java 20150 79 org.openmeetings.app.data.basic.Sessionmanagement [NioProcessor-1] - updateUser User SID:
ERROR 09-18 13:53:53.592 Sessionmanagement.java 20161 91 org.openmeetings.app.data.basic.Sessionmanagement [NioProcessor-1] - Could not find session to update:
[INFO] [NioProcessor-1] org.red5.server.net.rtmp.codec.RTMPProtocolDecoder - Action ldapconfigservice.getActiveLdapConfigs
DEBUG 09-18 13:53:54.492 LdapConfigDaoImpl.java 21061 209 org.openmeetings.app.data.basic.dao.LdapConfigDaoImpl [NioProcessor-1] - selectMaxFromConfigurations
[INFO] [NioProcessor-1] org.red5.server.net.rtmp.codec.RTMPProtocolDecoder - Action xmlcrm.getLoginOptions
[INFO] [NioProcessor-1] org.red5.server.net.rtmp.codec.RTMPProtocolDecoder - Action xmlcrm.loginUser
WARN 09-18 13:54:13.900 MainService.java 40469 318 org.openmeetings.app.remote.MainService [NioProcessor-1] - loginUser: b3c99b393f8b00cc3981d1812f14767f TestUser
DEBUG 09-18 13:54:13.900 MainService.java 40469 329 org.openmeetings.app.remote.MainService [NioProcessor-1] - Ldap Login
Logger context selector method found
DEBUG 09-18 13:54:13.916 LdapLoginManagement.java 40485 230 org.openmeetings.app.ldap.LdapLoginManagement [NioProcessor-1] - LdapLoginmanagement.doLdapLogin
DEBUG 09-18 13:54:13.916 LdapLoginManagement.java 40485 186 org.openmeetings.app.ldap.LdapLoginManagement [NioProcessor-1] - LdapLoginmanagement.getLdapConfigData
DEBUG 09-18 13:54:13.916 LdapLoginManagement.java 40485 205 org.openmeetings.app.ldap.LdapLoginManagement [NioProcessor-1] - LdapLoginmanagement.readConfig : /opt/red5/webapps/openmeetings/conf/om_ldap.cfg
DEBUG 09-18 13:54:13.918 LdapLoginManagement.java 40487 126 org.openmeetings.app.ldap.LdapLoginManagement [NioProcessor-1] - isValidAuthType
DEBUG 09-18 13:54:13.918 LdapLoginManagement.java 40487 361 org.openmeetings.app.ldap.LdapLoginManagement [NioProcessor-1] - Searching userdata with LDAP Search Filter :(userPrincipalName=Test...@dom-name.local)
Logger context selector method found
DEBUG 09-18 13:54:13.919 LdapAuthBase.java 40488 66 org.openmeetings.app.ldap.LdapAuthBase [NioProcessor-1] - LdapAuthBase
DEBUG 09-18 13:54:13.919 LdapLoginManagement.java 40488 372 org.openmeetings.app.ldap.LdapLoginManagement [NioProcessor-1] - authenticating admin...
DEBUG 09-18 13:54:13.920 LdapAuthBase.java 40489 83 org.openmeetings.app.ldap.LdapAuthBase [NioProcessor-1] - authenticateUser
DEBUG 09-18 13:54:13.920 LdapAuthBase.java 40489 99 org.openmeetings.app.ldap.LdapAuthBase [NioProcessor-1] -
Authentification to LDAP - Server start
DEBUG 09-18 13:54:13.920 LdapAuthBase.java 40489 133 org.openmeetings.app.ldap.LdapAuthBase [NioProcessor-1] - loginToLdapServer
DEBUG 09-18 13:54:13.932 LdapLoginManagement.java 40501 375 org.openmeetings.app.ldap.LdapLoginManagement [NioProcessor-1] - Checking server type...
DEBUG 09-18 13:54:13.932 LdapAuthBase.java 40501 83 org.openmeetings.app.ldap.LdapAuthBase [NioProcessor-1] - authenticateUser
DEBUG 09-18 13:54:13.932 LdapAuthBase.java 40501 99 org.openmeetings.app.ldap.LdapAuthBase [NioProcessor-1] -
Authentification to LDAP - Server start
DEBUG 09-18 13:54:13.932 LdapAuthBase.java 40501 133 org.openmeetings.app.ldap.LdapAuthBase [NioProcessor-1] - loginToLdapServer
ERROR 09-18 13:54:13.937 LdapLoginManagement.java 40506 415 org.openmeetings.app.ldap.LdapLoginManagement [NioProcessor-1] - Error retrieving Userdata : null
DEBUG 09-18 13:54:13.937 LdapLoginManagement.java 40506 421 org.openmeetings.app.ldap.LdapLoginManagement [NioProcessor-1] - user doesnt exist local -> create new
DEBUG 09-18 13:54:13.938 LdapAuthBase.java 40507 156 org.openmeetings.app.ldap.LdapAuthBase [NioProcessor-1] - getData
DEBUG 09-18 13:54:13.943 LdapLoginManagement.java 40512 471 org.openmeetings.app.ldap.LdapLoginManagement [NioProcessor-1] - Synching Ldap user to OM DB with RANDOM password: mwrr0h283xpt
DEBUG 09-18 13:54:13.944 LdapLoginManagement.java 40513 568 org.openmeetings.app.ldap.LdapLoginManagement [NioProcessor-1] - LdapLoginmanagement.createUserFromLdapData
ERROR 09-18 13:54:13.944 LdapLoginManagement.java 40513 516 org.openmeetings.app.ldap.LdapLoginManagement [NioProcessor-1] - Error on Working Userdata :
java.lang.NullPointerException: null
at org.openmeetings.app.ldap.LdapLoginManagement.createUserFromLdapData(LdapLoginManagement.java:621) ~[openmeetings.jar:na]
at org.openmeetings.app.ldap.LdapLoginManagement.doLdapLogin(LdapLoginManagement.java:473) ~[openmeetings.jar:na]
at org.openmeetings.app.remote.MainService.loginUser(MainService.java:344) [openmeetings.jar:na]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.6.0_17]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[na:1.6.0_17]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.6.0_17]
at java.lang.reflect.Method.invoke(Method.java:616) ~[na:1.6.0_17]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) [na:1.6.0_17]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) [na:1.6.0_17]
at java.lang.Thread.run(Thread.java:636) [na:1.6.0_17]
[INFO] [NioProcessor-1] org.red5.server.net.rtmp.codec.RTMPProtocolDecoder - Action errorservice.getErrorByCode
DEBUG 09-18 13:54:14.012 ErrorService.java 40581 42 org.openmeetings.app.remote.ErrorService [NioProcessor-1] - errorid, language_id: -1|9
DEBUG 09-18 13:54:14.028 ErrorService.java 40597 46 org.openmeetings.app.remote.ErrorService [NioProcessor-1] - eValues.getFieldvalues_id() = 334
DEBUG 09-18 13:54:14.037 ErrorService.java 40606 48 org.openmeetings.app.remote.ErrorService [NioProcessor-1] - eValues.getErrorType() = org.openmeetings.app.persistence.beans.basic.ErrorType@3bfd4406
your error is different... I will commit a patch for your problem tonight.
Sebastian
2011/9/18 RuZa <ruza...@gmail.com>:
> --
> You received this message because you are subscribed to the Google Groups
> "OpenMeetings User" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/openmeetings-user/-/DagqQp3fJFIJ.
I don't think that you really have an error that has something todo
with OpenMeetings. You should fix the fetch query somehow. Then your
integration should work.
Sebastian
2011/9/19 João Vitor Arruda <joao....@gmail.com>:
> Sebastian,
> Will this commit fix the error i´m getting too?
>
> --
> You received this message because you are subscribed to the Google Groups
> "OpenMeetings User" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/openmeetings-user/-/RD9XYCILp70J.
yes this error should be fixed.
I have commited the patch yesterday.
Sebastian
2011/9/19 João Vitor Arruda <joao....@gmail.com>:
> Did you see my last post? The query against LDAP is returning the MatchDN
> now without problem.
> But the error persist.
>
> --
> You received this message because you are subscribed to the Google Groups
> "OpenMeetings User" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/openmeetings-user/-/coa8ok7MCzwJ.
http://openmeetings.googlecode.com/files/openmeetings_1_8_1_r4260.zip
Sebastian
2011/9/19 seba....@gmail.com <seba....@gmail.com>:
well I think you refer to the latest nightly build then.
The release version 1.8.1 does not contain Mute functionality.
The mute functionality will be part of release 1.9.
Sebastian
2011/9/19 João Vitor Arruda <joao....@gmail.com>:
> --
> You received this message because you are subscribed to the Google Groups
> "OpenMeetings User" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/openmeetings-user/-/ABe6kpFD5ZgJ.