You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@openmeetings.apache.org by Vieri <re...@yahoo.com> on 2012/04/04 09:37:55 UTC

LDAP / ADS authentication fails in OpenMeetings

Hi,

I get the following error when trying to authenticate users via ADS:

DEBUG 04-04 09:21:04.950 LdapAuthBase.java 4080280 117 org.openmeetings.app.ldap.LdapAuthBase [NioProcessor-3] -

Authentification to LDAP - Server start
DEBUG 04-04 09:21:04.950 LdapAuthBase.java 4080280 151 org.openmeetings.app.ldap.LdapAuthBase [NioProcessor-3] - loginToLdapServer
ERROR 04-04 09:21:04.959 LdapAuthBase.java 4080289 123 org.openmeetings.app.ldap.LdapAuthBase [NioProcessor-3] -

Authentification on LDAP Server failed : [LDAP: error code 49 - 80090308: LdapErr: DSID-0C090334, comment: AcceptSecurityContext error, data 525, vece ]
ERROR 04-04 09:21:04.986 LdapAuthBase.java 4080316 124 org.openmeetings.app.ldap.LdapAuthBase [NioProcessor-3] - [Authentification on LDAP Server failed]
javax.naming.AuthenticationException: [LDAP: error code 49 - 80090308: LdapErr:DSID-0C090334, comment: AcceptSecurityContext error, data 525, vece ]


om_ldap.cfg:

ldap_server_type=AD
ldap_conn_url=ldap://10.215.144.31:389
# following yields same error:
#ldap_admin_dn=CN:biblio,CN:Users,DC:mydomain,DC:org
ldap_admin_dn=biblio
ldap_passwd=biblio
ldap_search_base=CN:Users,DC:mydomain,DC:org
field_user_principal=sAMAccountName
ldap_auth_type=SIMPLE
ldap_sync_password_to_om=no
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

Some posts on the Internet suggest using ADS_SECURE_AUTHENTICATION but I don't know how to do this from within openmeetings / om_ldap.cfg.

I checked the AD tree with JXplorer (LDAP browser) and I can correctly browse user data with the SIMPLE user credentials above, and the base CN=Users,DC=mydomain,DC=org.

What am I doing wrong?

Thanks,

Vieri

Re: LDAP / ADS authentication fails in OpenMeetings

Posted by "seba.wagner@gmail.com" <se...@gmail.com>.
Error 525 means:
=> 525​user not found

http://www-01.ibm.com/support/docview.wss?uid=swg21290631

You might use wireshark to trace if your config is really the same what is
send by JXplorer.

Sebastian

2012/4/4 Vieri <re...@yahoo.com>

> Hi,
>
> I get the following error when trying to authenticate users via ADS:
>
> DEBUG 04-04 09:21:04.950 LdapAuthBase.java 4080280 117
> org.openmeetings.app.ldap.LdapAuthBase [NioProcessor-3] -
>
> Authentification to LDAP - Server start
> DEBUG 04-04 09:21:04.950 LdapAuthBase.java 4080280 151
> org.openmeetings.app.ldap.LdapAuthBase [NioProcessor-3] - loginToLdapServer
> ERROR 04-04 09:21:04.959 LdapAuthBase.java 4080289 123
> org.openmeetings.app.ldap.LdapAuthBase [NioProcessor-3] -
>
> Authentification on LDAP Server failed : [LDAP: error code 49 - 80090308:
> LdapErr: DSID-0C090334, comment: AcceptSecurityContext error, data 525,
> vece ]
> ERROR 04-04 09:21:04.986 LdapAuthBase.java 4080316 124
> org.openmeetings.app.ldap.LdapAuthBase [NioProcessor-3] - [Authentification
> on LDAP Server failed]
> javax.naming.AuthenticationException: [LDAP: error code 49 - 80090308:
> LdapErr:DSID-0C090334, comment: AcceptSecurityContext error, data 525, vece
> ]
>
>
> om_ldap.cfg:
>
> ldap_server_type=AD
> ldap_conn_url=ldap://10.215.144.31:389
> # following yields same error:
> #ldap_admin_dn=CN:biblio,CN:Users,DC:mydomain,DC:org
> ldap_admin_dn=biblio
> ldap_passwd=biblio
> ldap_search_base=CN:Users,DC:mydomain,DC:org
> field_user_principal=sAMAccountName
> ldap_auth_type=SIMPLE
> ldap_sync_password_to_om=no
> 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
>
> Some posts on the Internet suggest using ADS_SECURE_AUTHENTICATION but I
> don't know how to do this from within openmeetings / om_ldap.cfg.
>
> I checked the AD tree with JXplorer (LDAP browser) and I can correctly
> browse user data with the SIMPLE user credentials above, and the base
> CN=Users,DC=mydomain,DC=org.
>
> What am I doing wrong?
>
> Thanks,
>
> Vieri
>



-- 
Sebastian Wagner
https://twitter.com/#!/dead_lock
http://www.openmeetings.de
http://www.webbase-design.de
http://www.wagner-sebastian.com
seba.wagner@gmail.com