Status: New Owner: ---- Labels: Type-Defect Priority-Medium New issue 848 by atharmahboob.iks: Openmeetings does not support Openldap http://code.google.com/p/openmeetings/issues/detail?id=848
I am running latest Openmeetings test release red5-openmeetings-0.9rc1-r2185.zip. LDAP authentication using Openldap as the LDAP server does not work. The reason is that the DN created by Openmeetings is simply like "uid=TheUID" and not the whole "uid=TheUID,OU=TheOU,DC=TheDC". That type of DN may work for ADS LDAP server but OpenLDAP requries the fully qualified DN. Interestingly if the key ldap_auth_type is set to NONE it just checks for a valid user and logs in even if the password is not correct. For an invalid user it behaves correctly by mentioning the the account does not exist. Anyone has a solution ??? please ??? My om_ldap.cfg is: #ConfigurationFile for LDAP Auth #ConfigKey 'ldap_config_path' must be set in DataBase Configration of OM and point to this file #o.becherer,14.01.2009 #LDAP URL ldap_conn_url=ldap://10.1.1.14:389 #Login distinguished name (DN) for Authentification on LDAP Server - keep emtpy if not requiered ldap_admin_dn=CN:admin,DC:ibnkhaldun,DC:com,DC:pk #Loginpass for Authentification on LDAP Server - keep emtpy if not requiered ldap_passwd=the_password_of_admin_user #base to search for userdata(of user, that wants to login ldap_search_base=OU:people,DC:ibnkhaldun,DC:com,DC:pk # Fieldnames (can differ between Ldap servers) field_user_principal=uid # Ldap auth type(SIMPLE,NONE) ldap_auth_type=SIMPLE Here is the debugging output from openmeetings: DEBUG 08-04 13:54:03.465 LdapLoginManagement.java 2257487 98 org.openmeetings.app.data.user.Usermanagement [pool-4-thread-16] - LdapLoginmanagement.isLdapConfigured DEBUG 08-04 13:54:03.468 MainService.java 2257490 175 org.openmeetings.app.remote.MainService [pool-4-thread-16] - loginUser 111: 9c0e4e617f51b1340c75124d194a50e4 testuser DEBUG 08-04 13:54:03.469 Usermanagement.java 2257491 1103 org.openmeetings.app.data.user.Usermanagement [pool-4-thread-16] - Usermanagement.getUserByLogin : testuser DEBUG 08-04 13:54:03.478 MainService.java 2257500 192 org.openmeetings.app.remote.MainService [pool-4-thread-16] - Ldap Login DEBUG 08-04 13:54:03.479 LdapLoginManagement.java 2257501 171 org.openmeetings.app.data.user.Usermanagement [pool-4-thread-16] - LdapLoginmanagement.doLdapLogin DEBUG 08-04 13:54:03.480 LdapLoginManagement.java 2257502 124 org.openmeetings.app.data.user.Usermanagement [pool-4-thread-16] - LdapLoginmanagement.getLdapConfigData DEBUG 08-04 13:54:03.482 LdapLoginManagement.java 2257504 147 org.openmeetings.app.data.user.Usermanagement [pool-4-thread-16] - LdapLoginmanagement.readConfig : /opt/openmeetings/webapps/openmeetings/conf/om_ldap.cfg DEBUG 08-04 13:54:03.484 LdapLoginManagement.java 2257506 76 org.openmeetings.app.data.user.Usermanagement [pool-4-thread-16] - isValidAuthType DEBUG 08-04 13:54:03.484 LdapLoginManagement.java 2257506 217 org.openmeetings.app.data.user.Usermanagement [pool-4-thread-16] - Searching userdata with LDAP Search Filter :(uid=testuser) DEBUG 08-04 13:54:03.485 LdapAuthBase.java 2257507 64 org.openmeetings.app.data.user.Usermanagement [pool-4-thread-16] - LdapAuthBase DEBUG 08-04 13:54:03.485 LdapAuthBase.java 2257507 81 org.openmeetings.app.data.user.Usermanagement [pool-4-thread-16] - authenticateUser DEBUG 08-04 13:54:03.486 LdapAuthBase.java 2257508 97 org.openmeetings.app.data.user.Usermanagement [pool-4-thread-16] - Authentification to LDAP - Server start DEBUG 08-04 13:54:03.486 LdapAuthBase.java 2257508 129 org.openmeetings.app.data.user.Usermanagement [pool-4-thread-16] - loginToLdapServer ERROR 08-04 13:54:03.524 LdapAuthBase.java 2257546 103 org.openmeetings.app.data.user.Usermanagement [pool-4-thread-16] - Authentification on LDAP Server failed : [LDAP: error code 34 - invalid DN] -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "OpenMeetings developers" 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-dev?hl=en -~----------~----~----~----~------~----~------~--~---
