Hello Openmeetings-Users

I have installed Openmeetings 1.9.1 (from
http://code.google.com/p/openmeetings/downloads/list) and it works
well.

I have a problem when I want to log in with LDAP. There is no
authentication required to check our LDAP. So I let the
"ldap_admin_dn" and "ldap_passwd" empty, as it is written in the
example config file.

My configuration:
ldap_server_type=OpenLDAP
ldap_conn_url=ldap://ds1.campus.intern:389 ldap://ds2.campus.intern:389
ldap_admin_dn=
ldap_passwd=
ldap_search_base=OU:people,DC:el,DC:campus,DC:intern
field_user_principal=uid
ldap_auth_type=SIMPLE
ldap_sync_password_to_om=no


If  "ldap_admin_dn" and "ldap_passwd" are empty, then I get following
error when I try to log in:
> DEBUG 05-30 13:51:31.182 LdapLoginManagement.java 486366730 217 
> org.openmeetings.app.ldap.LdapLoginManagement [NioProcessor-6] - 
> LdapLoginmanagement.doLdapLogin
> DEBUG 05-30 13:51:31.183 LdapLoginManagement.java 486366731 173 
> org.openmeetings.app.ldap.LdapLoginManagement [NioProcessor-6] - 
> LdapLoginmanagement.getLdapConfigData
> DEBUG 05-30 13:51:31.183 LdapLoginManagement.java 486366731 192 
> org.openmeetings.app.ldap.LdapLoginManagement [NioProcessor-6] - 
> LdapLoginmanagement.readConfig : 
> /opt/red5/webapps/openmeetings/conf/hslu_ldap.cfg
> ERROR 05-30 13:51:31.183 LdapLoginManagement.java 486366731 225 
> org.openmeetings.app.ldap.LdapLoginManagement [NioProcessor-6] - Error on 
> LdapAuth : 1

It seems, there is a problem with empty values. With spaces the error
comes later, when the server log in.
> ERROR 05-30 13:46:40.644 LdapAuthBase.java 486076192 106 
> org.openmeetings.app.ldap.LdapAuthBase [NioProcessor-4] - [Authentification 
> on LDAP Server failed]


If I change the values at "ldap_admin_dn" and "ldap_passwd" to my
username and password, then I can log in and the password is checked.

If I set "ldap_auth_type=NONE" then the username will be checked but
the password is not checked.
This also works only, if I have a character (space or random string)
at "ldap_admin_dn" and "ldap_passwd". So there is the same problem
like above.

Do you have any suggestions, how I can solve this, so I can log in via
LDAP without admin authentication?


Thank you in advance
Best Regards
Daniel

Reply via email to