LDAP implementation in DevTest

book

Article ID: 224481

calendar_today

Updated On:

Products

Service Virtualization

Issue/Introduction

Hi team,

we are trying to implement LDAP integration with DevTest but are unable to do so getting few errors.
When I check The IAM Server log I see the following:

2021-09-22 05:55:50,916 ERROR [org.keycloak.services.error.KeycloakErrorHandler] (default task-74) Uncaught server error: org.keycloak.models.ModelException: LDAP Query failed
 at org.keycloak.storage.ldap.idm.query.internal.LDAPQuery.getResultList(LDAPQuery.java:168)

 at java.lang.Thread.run(Unknown Source)
Caused by: org.keycloak.models.ModelException: Querying of LDAP failed [email protected]

Caused by: javax.naming.AuthenticationException: [LDAP: error code 49 - INVALID_CREDENTIALS: Bind failed: ERR_268 Cannot find a partition for cn=Prash,ou=users,dc=Company]


2021-09-22 06:14:23,377 INFO  [org.keycloak.services] (default task-57) KC-SERVICES0087: Syncing data for mapper 'group mapper' of type 'group-ldap-mapper'. Direction: fedToKeycloak
2021-09-22 06:14:23,377 ERROR [org.keycloak.storage.ldap.idm.store.ldap.LDAPOperationManager] (default task-57) Could not query server using DN [ou=groups] and filter [(&(objectclass=group))]: javax.naming.AuthenticationException: [LDAP: error code 49 - INVALID_CREDENTIALS: Bind failed: ERR_268 Cannot find a partition for cn=Prash,ou=users,dc=Company]

Cause

Username and password used to connect are not correct

Environment

Devtest 10.5 10.6

Component: Service Virualization

 

Resolution

Please work with your LDAP admin to correct the login credentials and make sure the path is correct.

Please do test this outside of devtest such as with an LDAP Browser
JXplorer - an open source LDAP browser
LDAP Tools – LDAP.com