IBM Support

LDAP Authentication is failing with exception

Troubleshooting


Problem

LDAP Authentication is failing with exception

Symptom

LDAP Authentication failing with the error below:
-------------------------------------------------

[2008-06-24 20:19:16.182] ERROR 000000000000 GLOBAL_SCOPE LDAPAuthentication LDAP authentication has failed with exception for user:sqlagent
javax.naming.AuthenticationException: [LDAP: error code 49 - 80090308: LdapErr: DSID-0C090334, comment: AcceptSecurityContext error, data 525, vece]

Configured the LDAP authentication as follows:
-----------------------------------------------

1) authentication_policy.properties

## GIS/LDAP Authentication configuration

#######################################################################
#
# LDAP Server 1 Authentication Configuration (Internal Test Only)
#
#######################################################################
authentication_1.className=com.sterlingcommerce.woodstock.security.LDAPAuthenti< br /> cation
authentication_1.display_name=LDAP Server Test

## enable ldap authentication (true, false) default=false
authentication_1.enabled=true

## jndi parameters for ldap connections
authentication_1.jndi_factory=com.sun.jndi.ldap.LdapCtxFactory
authentication_1.server=<server name>
authentication_1.port=389
authentication_1.security_type=simple
authentication_1.principle=cn=Manager,dc=amr,dc=stercomm,dc=com
authentication_1.credentials=Sterling

## comment out or leave as blank on this property if the server is not going to
use SSL for the security protocol.
## authentication_1.security_protocol=ssl

## search parameters for user password
authentication_1.password_attribute=userPassword
authentication_1.search_root=dc=amr,dc=stercomm,dc=com
authentication_1.search_filter=(uid=<userid>)
authentication_1.with_user_bind=false

Error Message

Authentication.log entry:

[2008-06-24 20:19:16.182] ERROR 000000000000 GLOBAL_SCOPE LDAPAuthentication LDAP authentication has failed with exception for user:sqlagent
javax.naming.AuthenticationException: [LDAP: error code 49 - 80090308: LdapErr: DSID-0C090334, comment: AcceptSecurityContext error, data 525, vece]

[{"Product":{"code":"SS3JSW","label":"IBM Sterling B2B Integrator"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":"Not Applicable","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All","Edition":"","Line of Business":{"code":"LOB77","label":"Automation Platform"}}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Historical Number

NFX2911

Document Information

More support for:
IBM Sterling B2B Integrator

Software version:
All

Document number:
191013

Modified date:
08 November 2019

UID

swg21559481

Manage My Notification Subscriptions