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
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]
Log InLog in to view more of this document
Historical Number
NFX2911
Was this topic helpful?
Document Information
Modified date:
08 November 2019
UID
swg21559481