Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

LDAP Connection Error


I am trying to do LDAP configuration for user authentication against Active Directory .

Below are the URL and User names used.


User:cn=<user>@corp.weyer.pri,OU=Service Accounts,OU=Accounts,dc=corp,dc=weyer,dc=pri

When I test Query, I will get error as "Connection test Failed".

Below are the error in log file

2007-08-16 16:28:44,652 [ServletExec: request: time=1187306924652, uri=/LHSecurity/admin/CASAdmin] ERROR ExtUserHandler - localadmin -- java.lang.ExceptionInInitializerError: Could not create datasource from properties - {validationQuery=select 1 from cn=Users, url=jdbc:ldap://wawtcidc11.corp.weyer.pri:389/DC=corp,DC=weyer,DC=pri?SEARCH_SCOPE:=subTreeScope, com.sun.jndi.ldap.connect.timeout=5000, driverClassName=com.lighthammer.jdbcLdap.sql.JdbcLdapDriver,, username=cn=corp\XM10ADMINFED,OU=Service Accounts,OU=Accounts,dc=corp,dc=weyer,dc=pri} due to error - Cannot create PoolableConnectionFactory ([LDAP: error code 49 - 80090308: LdapErr: DSID-0C090334, comment: AcceptSecurityContext error, data 525, vece ])

Pls suggest solution.

Former Member
Not what you were looking for? View more on this topic or Ask a question