Hi, 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 <[email protected]> > > Using 1.8 we are having problems with AD auth by LDAP. > We use same om_ldap.cfg that was running on previous version. In 1.8 version > we are getting the following error. > > The authentication itself seems to work, if I use wrong password it warns > that the password is incorrect. > The problem appears to be after the authentication. User is created already > on Openmeetings as "username@domain", we are entering just username on the > login box and the LDAP config is set to add @domain. > > > > WARN 09-15 09:32:02.787 MainService.java 30686 318 > org.openmeetings.app.remote.MainService [NioProcessor-1] - loginUser: > 0aee60wew2acwewe8d7b7460wed7307 username > DEBUG 09-15 09:32:02.788 MainService.java 30687 329 > org.openmeetings.app.remote.MainService [NioProcessor-1] - Ldap Login > Logger context selector method found > DEBUG 09-15 09:32:02.801 LdapLoginManagement.java 30700 230 > org.openmeetings.app.ldap.LdapLoginManagement [NioProcessor-1] - > LdapLoginmanagement.doLdapLogin > DEBUG 09-15 09:32:02.801 LdapLoginManagement.java 30700 186 > org.openmeetings.app.ldap.LdapLoginManagement [NioProcessor-1] - > LdapLoginmanagement.getLdapConfigData > DEBUG 09-15 09:32:02.801 LdapLoginManagement.java 30700 205 > org.openmeetings.app.ldap.LdapLoginManagement [NioProcessor-1] - > LdapLoginmanagement.readConfig : > /usr/local/src/singlewebapp/dist/red5/webapps/openmeetings/conf/om_ldap.cfg > DEBUG 09-15 09:32:02.803 LdapLoginManagement.java 30702 126 > org.openmeetings.app.ldap.LdapLoginManagement [NioProcessor-1] - > isValidAuthType > DEBUG 09-15 09:32:02.803 LdapLoginManagement.java 30702 361 > org.openmeetings.app.ldap.LdapLoginManagement [NioProcessor-1] - Searching > userdata with LDAP Search Filter :(sAMAccountName=username@domain) > Logger context selector method found > DEBUG 09-15 09:32:02.804 LdapAuthBase.java 30703 66 > org.openmeetings.app.ldap.LdapAuthBase [NioProcessor-1] - LdapAuthBase > DEBUG 09-15 09:32:02.804 LdapLoginManagement.java 30703 372 > org.openmeetings.app.ldap.LdapLoginManagement [NioProcessor-1] - > authenticating admin... > DEBUG 09-15 09:32:02.805 LdapAuthBase.java 30704 83 > org.openmeetings.app.ldap.LdapAuthBase [NioProcessor-1] - authenticateUser > DEBUG 09-15 09:32:02.805 LdapAuthBase.java 30704 99 > org.openmeetings.app.ldap.LdapAuthBase [NioProcessor-1] - > > Authentification to LDAP - Server start > DEBUG 09-15 09:32:02.805 LdapAuthBase.java 30704 133 > org.openmeetings.app.ldap.LdapAuthBase [NioProcessor-1] - loginToLdapServer > DEBUG 09-15 09:32:02.991 LdapLoginManagement.java 30890 375 > org.openmeetings.app.ldap.LdapLoginManagement [NioProcessor-1] - Checking > server type... > DEBUG 09-15 09:32:02.992 LdapAuthBase.java 30891 83 > org.openmeetings.app.ldap.LdapAuthBase [NioProcessor-1] - authenticateUser > DEBUG 09-15 09:32:02.992 LdapAuthBase.java 30891 99 > org.openmeetings.app.ldap.LdapAuthBase [NioProcessor-1] - > > Authentification to LDAP - Server start > DEBUG 09-15 09:32:02.992 LdapAuthBase.java 30891 133 > org.openmeetings.app.ldap.LdapAuthBase [NioProcessor-1] - loginToLdapServer > ERROR 09-15 09:32:03.002 LdapLoginManagement.java 30901 415 > org.openmeetings.app.ldap.LdapLoginManagement [NioProcessor-1] - Error > retrieving Userdata : null > DEBUG 09-15 09:32:03.002 LdapLoginManagement.java 30901 421 > org.openmeetings.app.ldap.LdapLoginManagement [NioProcessor-1] - user doesnt > exist local -> create new > DEBUG 09-15 09:32:03.002 LdapAuthBase.java 30901 156 > org.openmeetings.app.ldap.LdapAuthBase [NioProcessor-1] - getData > ERROR 09-15 09:32:03.006 LdapLoginManagement.java 30905 452 > org.openmeetings.app.ldap.LdapLoginManagement [NioProcessor-1] - Error on > Ldap request - no result for user username@domain > [INFO] [NioProcessor-1] org.red5.server.net.rtmp.codec.RTMPProtocolDecoder - > Action errorservice.getErrorByCode > > -- > 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 [email protected]. > To unsubscribe from this group, send email to > [email protected]. > 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 [email protected] -- You received this message because you are subscribed to the Google Groups "OpenMeetings User" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/openmeetings-user?hl=en.
