I installed openmeetings recently in a Windows 7 system. I am finding it
very hard to integrate OM with LDAP and Active Directory. I have gone
through this mailing list and my configuration is similar to most of the
"resolved" issues. Here my logs shows

 

with config lines

ldap_conn_url=ldap://10.110.3.1:389

 

ERROR 06-16 10:20:47.388 o.a.o.l.LdapLoginManagement:371
[http-nio-0.0.0.0-5080-exec-2] - Unexpected exception.

org.apache.directory.ldap.client.api.exception.InvalidConnectionExceptio
n: Cannot connect on the server: Connection refused: no 

further information

 

with config

ldap_conn_host=10.110.3.1

ldap_conn_port=389

 

DEBUG 06-16 11:30:07.977 o.a.o.l.LdapLoginManagement:167
[http-nio-0.0.0.0-5080-exec-9] - LdapLoginmanagement.doLdapLogin

ERROR 06-16 11:30:08.070 o.a.o.l.LdapLoginManagement:366
[http-nio-0.0.0.0-5080-exec-9] - Not authenticated.

org.apache.directory.api.ldap.model.exception.LdapAuthenticationExceptio
n: 80090308: LdapErr: DSID-0C090334, comment: AcceptSecurityContext
error, data 525, vece

 

Later I tried to installed the OM in my CentOS 6.6 and same issue there
too. Here my log shows

 

DEBUG 06-15 22:57:58.748 o.a.o.l.LdapLoginManagement:168
[http-nio-0.0.0.0-5080-exec-4] - LdapLoginmanagement.doLdapLogin

ERROR 06-15 22:57:58.800 o.a.o.l.LdapLoginManagement:367
[http-nio-0.0.0.0-5080-exec-4] - Not authenticated.

org.apache.directory.api.ldap.model.exception.LdapAuthenticationExceptio
n: 80090308: LdapErr: DSID-0C090334, comment: AcceptSecurityContext
error, data 525, vece^@

 

Later I installed
ApacheDirectoryStudio-2.0.0.v20150606-M9-win32.win32.x86_64
(https://directory.apache.org/studio/
<https://directory.apache.org/studio/> ) and with the same credentials I
was able to walk through the different LDAP tree.

 

My windows (and centos aswell) conf file in webapps/openmeetings/conf is

 

# start

ldap_server_type=AD

ldap_conn_url=ldap://123.123.123.123:389

ldap_admin_dn=CN=ldapauth,OU=Software,DC=abcd,DC=co,DC=in

ldap_passwd=PasswordHere

ldap_search_base=DC=abcd,DC=co,DC=in

ldap_search_query=(sAMAccountName=%s)

ldap_search_scope=ONELEVEL #I tried with SUBTREE as well

field_user_principal=userPrincipalName

ldap_auth_type=SIMPLEBIND

ldap_sync_password_to_om=true

ldap_provisionning=AUTOCREATE

ldap_deref_mode=always

ldap_userdn_format=uid=%s,DC=abcd,DC=co,DC=in

 

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=false

# end

 

I appreciate any pointers in this regards

 

Best Regards

 

Dominic

 

Reply via email to